:root {
  color-scheme: light;
  --paper: #fff;
  --tint: #f8f5f6;
  --ink: #241c23;
  --muted: #60535e;
  --line: #e4dce0;
  --brand: #a3004f;
  --brand-deep: #76003b;
  --rose: #f8e8ef;
  --content: 73rem;
  font: 16px/1.75 "Instrument Sans", "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-padding-top: 6rem;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { line-height: 1.36; font-weight: 750; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: -.045em; }
h3 { font-size: 1.135rem; }
a { color: var(--brand-deep); text-underline-offset: .22em; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid #ab1b63; outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(calc(100% - 4rem), var(--content)); margin-inline: auto; min-width: 0; }
.skip {
  position: fixed;
  inset: .6rem auto auto .6rem;
  z-index: 4;
  translate: 0 -150%;
  padding: .5rem 1rem;
  border-radius: .4rem;
  background: var(--paper);
}
.skip:focus { translate: 0; }

.header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem 1.8rem; min-height: 4.55rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.16rem;
  font-weight: 760;
  white-space: nowrap;
}
.brand img { border-radius: .5rem; }
.brand small { margin-inline-start: .1rem; color: var(--muted); font-size: .8rem; font-weight: 650; }
.header nav, .footer nav { display: flex; flex-wrap: wrap; gap: .16rem 1.25rem; }
.header nav { margin-inline-start: auto; }
.header nav a, .footer nav a { display: inline-flex; align-items: center; min-height: 2rem; font-size: .88rem; }
.header nav a { color: var(--ink); text-decoration: none; font-weight: 680; }
.header nav a:hover { color: var(--brand-deep); text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  min-height: 2.8rem;
  padding: .44rem .9rem;
  font-size: .92rem;
  font-weight: 720;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: .45rem;
}
.button-primary { color: #fff; background: var(--brand); }
.button-primary:hover { color: #fff; background: var(--brand-deep); }
.button-outline { color: var(--brand-deep); background: var(--paper); border-color: #cfb9c3; }
.button-outline:hover { border-color: var(--brand); background: var(--rose); }

.hero {
  background: linear-gradient(133deg, #f6f1f2 2%, #f8eef3 65%, #f5e1eb 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.3rem, 6.4vw, 5.25rem);
}
.hero-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: clamp(1.5rem, 4.7vw, 4.9rem); }
.hero h1 { font-size: clamp(2.6rem, 5.35vw, 4.2rem); line-height: 1.18; letter-spacing: -.065em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero-lead { max-width: 29rem; margin-block: 1rem 1.45rem; color: var(--ink); font-size: clamp(1.04rem, 1.4vw, 1.18rem); }
.hero-figure, .screenshot { min-width: 0; }
.screen {
  display: block;
  overflow: hidden;
  border: 1px solid #d9c7d1;
  border-radius: .64rem;
  background: var(--paper);
}
.screen:focus-visible { overflow: visible; }
.screen:hover { border-color: var(--brand); }
.hero-figure .screen { box-shadow: 0 1.15rem 2.7rem #4020341c; }
.screen img { width: 100%; }
figcaption { margin-top: .55rem; color: var(--muted); font-size: .84rem; }
.hero-figure figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem .7rem; }
.hero-figure strong { color: var(--ink); }

.feature-index { padding-top: clamp(2rem, 4vw, 3.5rem); }
.feature-index h2 { font-size: 1.2rem; letter-spacing: 0; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin-top: .75rem; }
.tiles a {
  position: relative;
  display: grid;
  align-content: start;
  gap: .14rem;
  min-height: 5.8rem;
  padding: .85rem 2.05rem .85rem .85rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .55rem;
  text-decoration: none;
}
.tiles a:hover { border-color: var(--brand); background: #fcf6f9; }
.tiles strong { font-size: 1rem; line-height: 1.45; }
.tiles span { color: var(--muted); font-size: .83rem; }
.tiles .arrow { position: absolute; right: .65rem; top: .8rem; color: var(--brand); font-size: 1.07rem; }

.section { padding-block: clamp(2.65rem, 6.5vw, 5.3rem); }
.section-heading { max-width: 55rem; margin-bottom: 1.35rem; }
.section-heading p { max-width: 47rem; margin-top: .64rem; color: var(--muted); }
.shade { background: var(--tint); border-block: 1px solid var(--line); }
.split, .document-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: clamp(1.25rem, 4.8vw, 4.6rem);
  align-items: start;
}
.split > *, .document-grid > * { min-width: 0; }
.steps {
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: .7rem;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: .65rem;
  align-items: start;
  padding: .76rem .6rem .85rem 0;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--brand-deep);
  background: var(--rose);
  border-radius: 50%;
  font-weight: 760;
}
.steps li p { margin-top: .32rem; color: var(--muted); }
.example {
  margin-top: .9rem;
  padding: .7rem .86rem .8rem 1.05rem;
  background: #faf2f6;
  border-inline-start: .22rem solid #af2772;
  border-radius: .14rem .45rem .45rem .14rem;
}
.example p { margin-top: .28rem; color: var(--muted); }
.consultation-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 17rem); gap: clamp(1.25rem, 8vw, 7.6rem); align-items: center; }
.query { margin-top: 0; background: var(--paper); }
.query p { color: var(--ink); }
.descriptions { display: grid; gap: .85rem; margin-top: 1.25rem; }
.descriptions dt { font-weight: 750; }
.descriptions dd { color: var(--muted); }
.phone .screen { border-width: .32rem; border-color: #33212c; border-radius: 1rem; box-shadow: 0 .85rem 2rem #46243a1c; }
.phone figcaption { text-align: center; }

.table-box { overflow: hidden; border: 1px solid var(--line); border-radius: .58rem; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .91rem; line-height: 1.55; }
caption {
  padding: .6rem .75rem;
  color: var(--ink);
  font-weight: 750;
  background: var(--tint);
  text-align: left;
}
th, td { padding: .61rem .69rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
th:first-child { width: 42%; }
thead th { background: #fcfafb; color: var(--muted); font-size: .85rem; }
tbody th { font-weight: 700; }
tbody td { color: var(--muted); }
.subtle { margin-top: .65rem; color: var(--muted); font-size: .92rem; }
.detail-note { margin-top: 1.12rem; padding: .75rem .92rem; background: var(--tint); border: 1px solid var(--line); border-radius: .45rem; font-size: .91rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.cards article { padding: 1.05rem 1rem 1.1rem; border: 1px solid var(--line); background: var(--paper); border-radius: .56rem; }
.cards p, .cards dd { margin-top: .35rem; color: var(--muted); }
.role-cards dt { margin-top: .55rem; color: var(--brand-deep); font-size: .86rem; font-weight: 720; }
.setup-grid { display: grid; grid-template-columns: .72fr 1fr; gap: clamp(1.2rem, 5vw, 4.2rem); align-items: start; }
.faq { max-width: 53rem; }
.faq details { border: 1px solid var(--line); border-radius: .5rem; }
.faq details + details { margin-top: .5rem; }
.faq summary { padding: .7rem .9rem; cursor: pointer; font-weight: 700; }
.faq summary::marker { color: var(--brand); }
.faq summary:hover { background: #fcf6f9; border-radius: inherit; }
.faq details p { padding: 0 .9rem .8rem 1.95rem; color: var(--muted); }
.closing { padding-block: 1.7rem; background: var(--rose); }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: .75rem 1.3rem; flex-wrap: wrap; }
.closing p { margin-top: .28rem; color: var(--muted); }
.trial-callout { padding: clamp(1rem, 3.4vw, 2rem); background: var(--rose); border: 1px solid var(--line); border-radius: .65rem; }
.trial-callout p { max-width: 39em; margin-top: .4rem; color: var(--muted); }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-block: 1rem; gap: .35rem 1rem; font-size: .9rem; }
.footer p { font-weight: 700; }

@media (max-width: 900px) {
  :root { scroll-padding-top: 1rem; }
  .wrap { width: calc(100% - 2.5rem); }
  .header { position: relative; }
  .header-inner { flex-wrap: wrap; padding-block: .55rem; gap: .3rem 1rem; }
  .header nav { order: 2; flex-basis: 100%; margin: 0; gap: 0 1rem; }
  .header-button { margin-left: auto; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid, .setup-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 12em; }
}

@media (max-width: 650px) {
  .wrap { width: calc(100% - 1.9rem); }
  .split, .document-grid, .consultation-grid, .cards { grid-template-columns: minmax(0, 1fr); }
  .phone { width: min(100%, 15rem); justify-self: center; }
  .section-heading { margin-bottom: .95rem; }
  .tiles a { padding: .65rem 1.3rem .65rem .65rem; min-height: 5.05rem; }
  .tiles .arrow { right: .4rem; top: .6rem; }
  .header .button { min-height: 2.3rem; padding: .25rem .58rem; }
  .brand { font-size: 1rem; gap: .5rem; }
  .brand img { width: 2rem; height: 2rem; }
  .brand small { margin-inline-start: 0; font-size: .74rem; }
  .header nav { gap: 0 .5rem; }
  .header nav a { font-size: .84rem; }
}

@media (max-width: 360px) {
  .header-inner { column-gap: .4rem; }
  .header nav { gap: 0 .45rem; }
  .header nav a { font-size: .81rem; }
  .brand small { display: block; line-height: 1.35; }
  th, td { padding: .55rem .55rem; }
}
