:root {
  color-scheme: light;
  --bg: #ffffff;
  --tint: #eef5fa; /* 淡い青の帯 */
  --cream: #fdf5ea; /* クリームの帯 */
  --card: #ffffff;
  --ink: #23303b;
  --muted: #5a6873;
  --line: #dce5ec;
  --blue: #2f6f9f; /* 主色 */
  --blue-deep: #1f4f75;
  --blue-soft: #e3eff7;
  --orange: #e3892b; /* アクセント */
  --orange-ink: #9a520a;
  --on-orange: #2a1805; /* 白文字だと明るいオレンジの上でコントラストが足りない */
  --orange-soft: #fdebd7;
  --green: #4b9a5a;
  --green-soft: #e3f2e5;
  --yellow-soft: #fff4d1;
  --danger: #b8322a;
  --danger-soft: #fbe4e2;
  --bubble-out: #c9f2b4; /* 自分が送った吹き出し */
  --chat-bg: #b9cde0;
  --art-bg: #f6fafd;
  --f-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
  --f-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: var(--f-display);
  line-height: 1.45;
  text-wrap: balance;
  margin: 0;
}
p {
  margin: 0;
}
a {
  color: var(--blue);
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section {
  padding-block: clamp(56px, 8vw, 88px);
}
.tint {
  background: var(--tint);
}
.cream {
  background: var(--cream);
}
.sec-title {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  text-align: center;
}
.sec-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: var(--orange);
  margin: 14px auto 0;
}
.sec-lead {
  color: var(--muted);
  text-align: center;
  max-width: 36em;
  margin: 18px auto 0;
}
.sec-body {
  margin-top: 40px;
}
.note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}
.center {
  text-align: center;
}

/* header */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--bg);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
}
.brand small {
  font: 500 11px / 1 var(--f-body);
  color: var(--muted);
}
.brand svg {
  width: 28px;
  height: 28px;
  flex: none;
}
.head-cta {
  font: 700 14px / 1 var(--f-body);
  background: var(--orange);
  color: var(--on-orange);
  padding: 11px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 700 16px / 1.2 var(--f-body);
  border-radius: 999px;
  padding: 17px 28px;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}
.btn-primary {
  background: var(--orange);
  color: var(--on-orange);
  box-shadow: 0 4px 0 var(--orange-ink);
}
.btn-ghost {
  background: var(--card);
  color: var(--blue);
  border: 2px solid var(--blue);
}

/* hero */
.hero {
  background: linear-gradient(180deg, var(--tint), var(--bg));
  padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 80px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-grid > * {
  min-width: 0;
}
.kicker {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 4px 14px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  margin-top: 16px;
  letter-spacing: 0.01em;
}
.hero h1 .mk {
  background: linear-gradient(transparent 62%, var(--orange-soft) 62%);
}
.hero-lead {
  margin-top: 18px;
  color: var(--muted);
  max-width: 32em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  font-size: 14px;
  font-weight: 500;
}
.hero-tags li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-tags li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    var(--green)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.5 2.6 2.5L13 6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  flex: none;
}
.hero-art {
  background: var(--art-bg);
  border-radius: 32px;
  padding: 12px;
}
.hero-art svg {
  display: block;
  width: 100%;
  height: auto;
}

/* worry */
.worry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.worry {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 24px 24px 26px;
}
.worry h3 {
  font-size: 19px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.worry h3 .who {
  font: 700 12px / 1 var(--f-body);
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  padding: 6px 10px;
}
.worry.parent h3 .who {
  background: var(--orange);
  color: var(--on-orange);
}
.check {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}
.check li {
  position: relative;
  padding-left: 28px;
}
.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid var(--blue);
}
.answer {
  margin: 36px auto 0;
  max-width: 34em;
  text-align: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.7;
}
.answer b {
  color: var(--orange-ink);
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.stat {
  background: var(--card);
  border-radius: 20px;
  padding: 26px 24px;
  text-align: center;
}
.stat .num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(36px, 4.6vw, 46px);
  line-height: 1.2;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.stat .num small {
  font-size: 0.42em;
  margin-left: 2px;
}
.stat p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  text-align: left;
}
sup a {
  text-decoration: none;
  font-size: 11px;
}

/* flow */
.flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: f;
}
.flow li {
  counter-increment: f;
  position: relative;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 22px 18px 20px;
}
.flow li::before {
  content: counter(f);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font: 900 16px / 1 var(--f-display);
  margin-bottom: 10px;
}
.flow h3 {
  font-size: 17px;
}
.flow p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}
.flow li.us {
  border-color: var(--orange);
  background: var(--orange-soft);
}
.flow li.us::before {
  background: var(--orange);
  color: var(--on-orange);
}
.flow li.us h3 {
  color: var(--orange-ink);
}
.flow-tag {
  position: absolute;
  top: -12px;
  right: 14px;
  font: 700 11px / 1 var(--f-body);
  background: var(--orange);
  color: var(--on-orange);
  border-radius: 999px;
  padding: 5px 10px;
}

/* phones */
.phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: 28px;
}
.phone {
  margin: 0;
  background: var(--ink);
  border-radius: 32px;
  padding: 10px;
  box-shadow: 0 18px 40px -20px rgba(20, 40, 60, 0.45);
}
.phone-bar {
  background: var(--card);
  color: var(--ink);
  border-radius: 24px 24px 0 0;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.chat {
  background: var(--chat-bg);
  border-radius: 0 0 24px 24px;
  padding: 16px 12px 20px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.chat-who {
  font-size: 12px;
  color: var(--ink);
  opacity: 0.75;
}
.bubble {
  background: var(--card);
  border-radius: 4px 18px 18px 18px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 92%;
}
.bubble strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14.5px;
}
.bubble-out {
  justify-self: end;
  background: var(--bubble-out);
  border-radius: 18px 4px 18px 18px;
}
.tag {
  display: inline-block;
  font: 700 11px / 1 var(--f-body);
  border-radius: 6px;
  padding: 5px 8px;
  margin-bottom: 6px;
}
.tag-warn {
  background: var(--yellow-soft);
  color: var(--orange-ink);
}
.tag-high {
  background: var(--danger-soft);
  color: var(--danger);
}
.todo {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  gap: 6px;
}
.todo li {
  position: relative;
  padding-left: 24px;
}
.todo li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid var(--green);
}
.todo li.done::before {
  background:
    var(--green)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.3L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.todo li.done {
  text-decoration: line-through;
  color: var(--muted);
}
.redacted {
  display: inline-block;
  width: 8em;
  height: 1em;
  vertical-align: -2px;
  border-radius: 3px;
  background: repeating-linear-gradient(-45deg, var(--muted) 0 4px, transparent 4px 7px);
  opacity: 0.6;
}
.chat-sys {
  justify-self: center;
  font-size: 12px;
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  color: var(--bg);
  border-radius: 999px;
  padding: 3px 12px;
}

/* roles */
.roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.role {
  border-radius: 24px;
  padding: 28px 26px;
  background: var(--blue-soft);
}
.role.parent {
  background: var(--orange-soft);
}
.role h3 {
  font-size: 21px;
}
.role-sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
  counter-reset: s;
}
.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  background: var(--card);
  border-radius: 16px;
  padding: 14px 16px;
}
.steps li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font: 900 15px / 1 var(--f-display);
}
.role.parent .steps li::before {
  background: var(--orange);
  color: var(--on-orange);
}
.steps b {
  display: block;
  font-family: var(--f-display);
  font-size: 16px;
}
.steps span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* judge */
.judge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 0;
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--line);
  margin: 0;
}
.judge-in {
  padding: 24px;
  background: var(--blue-soft);
}
.judge-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.judge-in blockquote {
  margin: 10px 0 0;
  background: var(--card);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
}
.judge-out {
  padding: 24px;
}
.judge-out dl {
  margin: 10px 0 0;
  display: grid;
  gap: 12px;
}
.judge-out dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.judge-out dd {
  margin: 2px 0 0;
  font-size: 15px;
}
.promises {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.promise {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
}
.promise .ic {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.promise .ic svg {
  width: 24px;
  height: 24px;
}
.ic.o {
  background: var(--orange-soft);
  color: var(--orange-ink);
}
.ic.g {
  background: var(--green-soft);
  color: var(--green);
}
.ic.y {
  background: var(--yellow-soft);
  color: var(--orange-ink);
}
.ic.b {
  background: var(--blue-soft);
  color: var(--blue);
}
.promise h3 {
  font-size: 16.5px;
}
.promise p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.75;
}

/* privacy */
.keep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.keep-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}
.keep-card h3 {
  font-size: 18px;
}
.keep-card p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.chips li {
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 12px;
}
.chips .yes {
  background: var(--green-soft);
  color: var(--green);
}
.chips .no {
  background: var(--tint);
  color: var(--muted);
  text-decoration: line-through;
}

/* compare */
.table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 2px solid var(--line);
  background: var(--card);
}
.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.compare th,
.compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare tr:last-child > * {
  border-bottom: 0;
}
.compare thead th {
  font-family: var(--f-display);
  font-size: 15px;
  background: var(--tint);
}
.compare thead th.us {
  background: var(--blue);
  color: #fff;
}
.compare td.us {
  background: var(--blue-soft);
  font-weight: 700;
}
.compare tbody th {
  white-space: nowrap;
  color: var(--muted);
  font-weight: 700;
  width: 8em;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* price */
.prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 20px;
}
.price-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 24px;
  padding: 28px 26px;
  display: grid;
  align-content: start;
  gap: 8px;
}
.price-card.now {
  border-color: var(--orange);
}
.price-card h3 {
  font-size: 18px;
}
.price {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 16px;
  color: var(--ink);
}
.price b {
  font-size: 44px;
  color: var(--orange-ink);
  font-variant-numeric: tabular-nums;
  margin-right: 2px;
}
.price-card.later .price b {
  color: var(--blue);
}
.price-sub {
  font-size: 13px;
  color: var(--muted);
}
.price-card .check li::before {
  border-color: var(--green);
}

/* faq */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--card);
  border-radius: 16px;
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 14px 32px 14px 34px;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 13px;
  font: 900 18px / 1.4 var(--f-display);
  color: var(--blue);
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: 26px;
}
.faq details p {
  padding: 0 0 16px 34px;
  color: var(--muted);
  font-size: 15px;
  position: relative;
}
.faq details p::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 0;
  font: 900 18px / 1.5 var(--f-display);
  color: var(--orange);
}

/* join */
.join {
  background: var(--blue);
  color: #fff;
  border-radius: 32px;
  padding: clamp(36px, 6vw, 56px) clamp(20px, 5vw, 56px);
  text-align: center;
}
.join h2 {
  font-size: clamp(23px, 3.4vw, 32px);
  font-weight: 900;
}
.join p {
  margin: 16px auto 0;
  max-width: 34em;
  opacity: 0.92;
}
.join .cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  background: #fff;
  color: #1f4f75;
  font: 700 16px / 1.2 var(--f-body);
  padding: 17px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.15s;
}
.join .cta:hover {
  transform: translateY(-2px);
}
.join .cta svg {
  width: 20px;
  height: 20px;
}
@media (prefers-reduced-motion: reduce) {
  .join .cta {
    transition: none;
  }
  .join .cta:hover {
    transform: none;
  }
}
.join .toast {
  margin: 18px auto 0;
  background: #fff;
  color: #1f4f75;
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 14px;
  max-width: 30em;
  opacity: 1;
}
.join .join-note {
  font-size: 13px;
  margin-top: 18px;
}
.join .join-note a {
  color: #fff;
}

footer {
  border-top: 1px solid var(--line);
  padding-block: 32px 40px;
  font-size: 13px;
  color: var(--muted);
}
footer ol {
  margin: 0 0 16px;
  padding-left: 1.4em;
  display: grid;
  gap: 4px;
}
footer a {
  word-break: break-all;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
  }
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .keep-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .worry-grid,
  .stats,
  .roles,
  .promises,
  .phones,
  .prices,
  .judge {
    grid-template-columns: 1fr;
  }
  .flow {
    grid-template-columns: 1fr;
  }
  .phones {
    max-width: 340px;
    margin: 0 auto;
  }
  .head-cta {
    padding: 10px 14px;
    font-size: 13px;
  }
  .brand small {
    display: none;
  }
  .btn {
    width: 100%;
  }
}
.stats-2 {
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
}
.stat p.stat-cap {
  font-size: 13px;
  text-align: center;
}
.flow-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 820px;
  margin-inline: auto;
}
.flow-3 li {
  text-align: center;
}
.flow-3 li::before {
  margin-inline: auto;
}
.flow-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1000px;
}
@media (max-width: 860px) {
  .flow-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 860px;
  margin-inline: auto;
}
.point {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 6px;
}
.point .ic {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.point .ic svg {
  width: 30px;
  height: 30px;
}
.point h3 {
  font-size: 19px;
}
.point p {
  font-size: 14px;
  color: var(--muted);
}
.join p {
  font-size: 17px;
}
@media (max-width: 640px) {
  .stats-2,
  .flow-3,
  .points {
    grid-template-columns: 1fr;
  }
  .points {
    gap: 28px;
  }
}
