body.v6-flow-page {
  margin: 0;
  color: #263545;
  background: #fbfaf6;
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
}

.v6-flow-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 max(20px, calc((100% - 980px) / 2));
  color: #082f63;
  background: rgba(251, 250, 246, 0.96);
  border-bottom: 1px solid #d8dcd3;
}

.v6-flow-header > a:last-child,
.v6-flow-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid #082f63;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.v6-flow-page main {
  width: min(calc(100% - 40px), 980px);
  margin-inline: auto;
}

.v6-flow-hero {
  padding: 72px 0 52px;
  text-align: center;
}

.v6-flow-hero > p:first-child {
  color: #5f8b43;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.v6-flow-hero h1,
.v6-flow-section h2 {
  color: #082f63;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
}

.v6-flow-hero h1 {
  margin: 10px 0 16px;
  font-size: clamp(34px, 5vw, 54px);
}

.v6-flow-hero nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.v6-flow-hero nav a {
  min-width: 180px;
  padding: 12px 20px;
  color: #fff;
  border-radius: 6px;
  background: #082f63;
  text-decoration: none;
  font-weight: 600;
}

.v6-flow-section {
  padding: 38px 0 54px;
  scroll-margin-top: 70px;
}

.v6-flow-section h2 {
  margin: 0 0 22px;
  font-size: 32px;
  text-align: center;
}

.v6-flow-section ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}

.v6-flow-section details {
  height: 100%;
  border: 1px solid #d8dcd3;
  border-radius: 8px;
  background: #fffefa;
}

.v6-flow-section summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 9px 14px;
  color: #082f63;
  cursor: pointer;
  font-weight: 600;
}

.v6-flow-section summary span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: #fff;
  border-radius: 50%;
  background: #0b63ce;
}

.v6-flow-section details p {
  padding: 0 16px 16px 60px;
  font-size: 14px;
}

.v6-flow-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid #5f8b43;
  background: #f2f5e9;
  font-size: 14px;
}

.v6-flow-footer {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 24px 20px 48px;
  color: #082f63;
}

@media (max-width: 680px) {
  .v6-flow-header {
    padding-inline: 12px;
  }

  .v6-flow-header .v6-brand {
    font-size: 16px;
  }

  .v6-flow-hero nav,
  .v6-flow-footer {
    flex-direction: column;
  }

  .v6-flow-section ol {
    grid-template-columns: 1fr;
  }

  .v6-flow-footer a {
    justify-content: center;
  }
}
