:root {
  --ink: #071b35;
  --muted: #536477;
  --line: #d7e2eb;
  --soft: #f5f9fc;
  --blue: #0b5cad;
  --blue-soft: #eaf4ff;
  --green: #079d61;
  --green-dark: #046f45;
  --yellow: #fff8df;
  --yellow-line: #e8b336;
  --shadow: 0 18px 48px rgba(11, 29, 51, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.vaiv-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(16px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.vaiv-brand,
.vaiv-header nav a {
  text-decoration: none;
}

.vaiv-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 950;
  white-space: nowrap;
}

.vaiv-logo {
  display: grid;
  grid-template-columns: repeat(3, 7px);
  align-items: center;
  gap: 4px;
  width: 39px;
  height: 39px;
  padding: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.vaiv-logo i {
  width: 7px;
  border-radius: 99px;
  background: #fff;
}

.vaiv-logo i:nth-child(1) { height: 17px; }
.vaiv-logo i:nth-child(2) { height: 25px; }
.vaiv-logo i:nth-child(3) { height: 20px; }

.vaiv-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.vaiv-header nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #27384b;
  font-weight: 900;
  white-space: nowrap;
}

.vaiv-header nav a:last-child {
  padding: 0 18px;
  background: var(--green);
  color: #fff;
}

.vaiv-shell {
  width: min(1500px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 38px;
  margin: 0 auto;
  padding: 26px 0 48px;
}

.vaiv-main {
  min-width: 0;
}

.vaiv-breadcrumb {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 24px;
  color: #68798c;
  font-size: 14px;
  font-weight: 800;
}

.vaiv-breadcrumb a {
  text-decoration: none;
}

.vaiv-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding: clamp(16px, 3vw, 34px) 0 24px;
}

.vaiv-kicker {
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 13px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 17px;
  font-weight: 950;
}

.vaiv-hero h1 {
  max-width: 880px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(46px, 5vw, 76px);
  line-height: 1.12;
  font-weight: 950;
}

.vaiv-lead {
  max-width: 900px;
  margin: 20px 0 0;
  color: #26384d;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.55;
  font-weight: 850;
}

.vaiv-primary,
.vaiv-cta a,
.vaiv-example-grid a,
.vaiv-side-cta a,
.vaiv-secondary {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  text-decoration: none;
}

.vaiv-primary {
  margin-top: 24px;
  padding: 0 28px;
  box-shadow: 0 14px 32px rgba(7, 157, 97, .22);
}

.vaiv-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.vaiv-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #bfe5d2;
  border-radius: 999px;
  background: #f2fff8;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 900;
}

.vaiv-fast {
  padding: 22px;
  border: 1px solid var(--yellow-line);
  border-radius: 8px;
  background: var(--yellow);
  box-shadow: var(--shadow);
}

.vaiv-fast h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.25;
}

.vaiv-fast a {
  min-height: 54px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #efd08a;
  border-radius: 8px;
  background: #fff;
  color: #1d3047;
  text-decoration: none;
  font-weight: 900;
}

.vaiv-fast a + a {
  margin-top: 9px;
}

.vaiv-fast span,
.vaiv-map span,
.vaiv-side-box span {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 950;
}

.vaiv-fast span {
  width: 30px;
  height: 30px;
}

.vaiv-fast p {
  margin: 14px 0 0;
  padding: 12px;
  border-radius: 8px;
  background: #fff6d8;
  color: #6a4b00;
  font-weight: 850;
  line-height: 1.55;
}

.vaiv-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 10px 0 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.vaiv-map a {
  min-height: 138px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
  border-right: 1px solid var(--line);
  background: #fff;
  text-align: center;
  text-decoration: none;
}

.vaiv-map a:last-child {
  border-right: 0;
}

.vaiv-map span {
  width: 34px;
  height: 34px;
  margin: 0 auto;
}

.vaiv-map b {
  font-size: 18px;
}

.vaiv-map small {
  color: var(--muted);
  font-weight: 800;
}

.vaiv-section,
.vaiv-cta,
.vaiv-side-cta,
.vaiv-side-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.vaiv-section {
  margin-top: 28px;
  padding: 26px;
}

.vaiv-answer {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 2px solid var(--green);
  background: #fbfffd;
}

.vaiv-answer > span {
  min-height: 68px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 22px;
  font-weight: 950;
}

.vaiv-answer h2,
.vaiv-section-head h2,
.vaiv-cta h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
  font-weight: 950;
}

.vaiv-answer p {
  margin: 10px 0 0;
  color: #40536a;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 770;
}

.vaiv-section-head {
  margin-bottom: 18px;
}

.vaiv-section-head p {
  margin: 0 0 6px;
  color: var(--green-dark);
  font-weight: 950;
}

.vaiv-check-grid,
.vaiv-setup-grid,
.vaiv-example-grid,
.vaiv-note-grid,
.vaiv-quick-grid,
.vaiv-ref-grid {
  display: grid;
  gap: 14px;
}

.vaiv-check-grid,
.vaiv-example-grid,
.vaiv-note-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.vaiv-check-grid article,
.vaiv-setup-grid article,
.vaiv-example-grid article,
.vaiv-note-grid article,
.vaiv-quick-grid article,
.vaiv-ref-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.vaiv-quick {
  background: #fbfdff;
}

.vaiv-quick-grid article {
  min-height: 170px;
  padding: 18px;
  border-color: #bcd8f1;
  background: #f5fbff;
}

.vaiv-quick-grid b {
  display: block;
  color: var(--blue);
  font-size: 22px;
}

.vaiv-quick-grid p {
  margin: 10px 0 0;
  color: #3b4e64;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 770;
}

.vaiv-check-grid article {
  min-height: 210px;
  padding: 20px;
  border-color: #bedcf7;
  background: #f8fbff;
}

.vaiv-check-grid b,
.vaiv-example-grid b,
.vaiv-note-grid b {
  display: block;
  color: var(--blue);
  font-size: 24px;
  line-height: 1.25;
}

.vaiv-check-grid p,
.vaiv-setup-grid p,
.vaiv-example-grid p,
.vaiv-note-grid p {
  margin: 12px 0 0;
  color: #3b4e64;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 770;
}

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

.vaiv-setup-grid article {
  min-height: 230px;
  padding: 18px;
}

.vaiv-setup-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 14px;
  font-weight: 950;
}

.vaiv-setup-grid b {
  display: block;
  margin-top: 12px;
  font-size: 22px;
}

.vaiv-example-grid article {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.vaiv-example-grid p {
  font-size: 17px;
}

.vaiv-example-grid a {
  min-height: 50px;
  margin-top: auto;
  font-size: 16px;
}

.vaiv-secondary {
  width: fit-content;
  min-height: 50px;
  margin-top: 16px;
  padding: 0 18px;
  background: #fff;
  color: var(--green-dark);
  border: 1px solid #a8dec3;
}

.vaiv-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.vaiv-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

.vaiv-table th,
.vaiv-table td {
  padding: 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 760;
}

.vaiv-table th {
  background: #f1fbf6;
  color: #173552;
  font-weight: 950;
}

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

.vaiv-table th:last-child,
.vaiv-table td:last-child {
  border-right: 0;
}

.vaiv-table b,
.vaiv-ref-grid b {
  display: block;
  color: var(--ink);
  font-size: 17px;
}

.vaiv-table small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.vaiv-table small a {
  color: var(--blue);
  font-weight: 950;
}

.vaiv-small {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 760;
}

.vaiv-note-grid article {
  min-height: 210px;
  padding: 18px;
  border-color: #f0bf45;
  background: var(--yellow);
}

.vaiv-note-grid b {
  color: #805b00;
}

.vaiv-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding: 24px;
  background: linear-gradient(135deg, #f3fff9, #fff);
}

.vaiv-cta p {
  margin: 10px 0 0;
  color: #40536a;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 770;
}

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

.vaiv-ref-grid a {
  min-height: 116px;
  display: block;
  padding: 15px;
  background: #fbfdfc;
  text-decoration: none;
}

.vaiv-ref-grid span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 760;
}

.vaiv-faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.vaiv-faq details + details {
  margin-top: 10px;
}

.vaiv-faq summary {
  padding: 18px;
  font-size: 18px;
  font-weight: 950;
  cursor: pointer;
}

.vaiv-faq p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 760;
}

.vaiv-side {
  position: sticky;
  top: 20px;
  align-self: start;
  display: grid;
  gap: 16px;
}

.vaiv-side-cta {
  overflow: hidden;
  background: linear-gradient(180deg, #075fb2, #063665);
  color: #fff;
}

.vaiv-side-cta h2 {
  margin: 0;
  padding: 22px 20px 8px;
  font-size: 25px;
  line-height: 1.3;
}

.vaiv-mini-player {
  margin: 12px 20px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.vaiv-mini-player span {
  display: block;
  height: 34px;
  border-radius: 6px;
  background: repeating-linear-gradient(90deg, #b9d8f5 0 8px, transparent 8px 14px);
}

.vaiv-mini-player p {
  margin: 12px 0 0;
  color: #31445a;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 800;
}

.vaiv-side-cta a {
  width: calc(100% - 40px);
  min-height: 54px;
  margin: 4px 20px 20px;
  background: #fff;
  color: var(--blue);
}

.vaiv-side-box {
  padding: 18px;
}

.vaiv-side-box h2 {
  margin: 0 0 12px;
  font-size: 19px;
}

.vaiv-side-box a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: #34465b;
  text-decoration: none;
  font-weight: 850;
}

.vaiv-side-box span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
}

.vaiv-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 34px 16px 48px;
  border-top: 1px solid var(--line);
  background: #fbfdfc;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.vaiv-footer a {
  text-decoration: none;
}

@media (max-width: 1180px) {
  .vaiv-shell,
  .vaiv-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .vaiv-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .vaiv-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 13px 14px;
  }

  .vaiv-brand {
    font-size: 21px;
  }

  .vaiv-header nav {
    justify-content: flex-start;
  }

  .vaiv-header nav a {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
  }

  .vaiv-header nav a:last-child {
    background: var(--green);
    color: #fff;
  }

  .vaiv-shell {
    width: calc(100% - 20px);
    padding-top: 18px;
  }

  .vaiv-breadcrumb {
    margin-bottom: 16px;
  }

  .vaiv-kicker {
    font-size: 14px;
  }

  .vaiv-hero h1 {
    font-size: 38px;
  }

  .vaiv-lead {
    font-size: 19px;
  }

  .vaiv-primary,
  .vaiv-cta a {
    width: 100%;
    padding: 0 14px;
    font-size: 18px;
  }

  .vaiv-map,
  .vaiv-check-grid,
  .vaiv-setup-grid,
  .vaiv-example-grid,
  .vaiv-note-grid,
  .vaiv-quick-grid,
  .vaiv-ref-grid,
  .vaiv-side,
  .vaiv-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .vaiv-map {
    border: 0;
    gap: 10px;
    overflow: visible;
  }

  .vaiv-map a {
    min-height: 92px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-content: center;
    align-items: center;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .vaiv-map span {
    grid-row: span 2;
  }

  .vaiv-section {
    padding: 18px;
  }

  .vaiv-answer {
    grid-template-columns: minmax(0, 1fr);
  }

  .vaiv-answer > span {
    width: fit-content;
    min-height: 46px;
    padding: 0 16px;
    font-size: 18px;
  }

  .vaiv-table-wrap {
    overflow: visible;
    border: 0;
  }

  .vaiv-table {
    min-width: 0;
    display: block;
    background: transparent;
  }

  .vaiv-table thead {
    display: none;
  }

  .vaiv-table tbody {
    display: grid;
    gap: 12px;
  }

  .vaiv-table tr {
    display: block;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .vaiv-table td {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 0;
    border: 0;
    border-bottom: 1px solid #edf2f0;
    font-size: 15px;
  }

  .vaiv-table td:last-child {
    border-bottom: 0;
  }

  .vaiv-table td::before {
    color: var(--green-dark);
    font-weight: 950;
  }

  .vaiv-table td:nth-child(1)::before { content: "方法"; }
  .vaiv-table td:nth-child(2)::before { content: "対象"; }
  .vaiv-table td:nth-child(3)::before { content: "商用"; }
  .vaiv-table td:nth-child(4)::before { content: "確認"; }
}
