
/* DeskSweep support site
   アイコンの配色（セージ・生成り・深緑・藁）と、影やグラデーションを使わない面と線の表現に合わせる。 */
:root {
    --ds-desk: #e2eadf;      /* デスクトップの背景（セージ） */
    --ds-swept: #f7f5ee;     /* 掃いた面と書類（生成り） */
    --ds-ink: #253f3b;       /* 柄・結び目・輪郭（深緑） */
    --ds-straw: #e9b75e;     /* 穂 */
    --ds-straw-line: #ae7e3b;/* 藁の筋 */
    --ds-paper: #fffdf8;
    --ds-text: #253f3b;
    --ds-muted: #52665f;
    --ds-line: #253f3b;
    --ds-soft-line: #c9d5c6;
    --ds-on-ink: #f7f5ee;
    --ds-radius: 22px;
    --ds-font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
    --ds-font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
    color-scheme: light dark;
  }

  body {
    margin: 0;
    background: var(--ds-swept);
    color: var(--ds-text);
    font-family: var(--ds-font-body);
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: 0.02em;
  }

  @media (prefers-color-scheme: dark) { :root {
    --ds-desk: #213733;
    --ds-swept: #1a2d2a;
    --ds-paper: #223a36;
    --ds-text: #f1efe6;
    --ds-muted: #b8c7c0;
    --ds-line: #e2eadf;
    --ds-soft-line: #35514c;
    --ds-ink: #e2eadf;
    --ds-on-ink: #1a2d2a;
    --ds-straw-line: #e9b75e;
  } }

  h1, h2, h3, h4 {
    font-family: var(--ds-font-head);
    font-weight: 700;
    color: var(--ds-text);
    letter-spacing: 0.03em;
  }

  a { color: inherit; }
  img { max-width: 100%; }
  *, *::before, *::after { box-sizing: border-box; }
  p { margin: 0; }
  code {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 0.9em;
    padding: 0.05em 0.4em;
    border-radius: 6px;
    background: var(--ds-desk);
  }

  .ds-skip {
    position: absolute;
    left: -999px;
    top: 0.5rem;
    z-index: 10;
    padding: 0.5rem 1rem;
    background: var(--ds-ink);
    color: var(--ds-on-ink) !important;
    border-radius: 999px;
  }
  .ds-skip:focus { left: 1rem; }

  .ds-wrap {
    width: min(100% - 32px, 1040px);
    margin-inline: auto;
  }

  /* header */
  .ds-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--ds-swept);
    border-bottom: 2px solid var(--ds-line);
  }
  .ds-header__inner {
    width: min(100% - 32px, 1040px);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 60px;
  }
  .ds-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--ds-font-head);
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
  }
  .ds-brand img { width: 36px; height: 36px; }
  .ds-brand__sub {
    font-size: 0.72rem;
    padding: 0.1rem 0.55rem;
    border: 1.5px solid var(--ds-line);
    border-radius: 999px;
    line-height: 1.5;
  }
  .ds-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    overflow-x: auto;
  }
  .ds-nav a {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    white-space: nowrap;
  }
  .ds-nav a:hover { background: var(--ds-desk); }
  /* hero: セージの机の上を、箒で掃いた曲線で生成りへ */
  .ds-hero {
    position: relative;
    background: var(--ds-desk);
    overflow: hidden;
    padding: 64px 0 150px;
  }
  .ds-hero__swept {
    position: absolute;
    inset: auto 0 0 0;
    width: 100%;
    height: 170px;
    display: block;
    color: var(--ds-swept);
  }
  .ds-hero__docs {
    position: absolute;
    left: max(8px, calc(50% - 600px));
    top: 36px;
    width: 230px;
    height: 330px;
    color: var(--ds-line);
    pointer-events: none;
  }
  .ds-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    padding-left: 160px;
  }
  .ds-hero__icon {
    position: relative;
    width: 168px;
    height: 168px;
  }
  .ds-hero__icon img { width: 100%; height: 100%; }
  /* セージの地でもタイルが沈まないよう、書類と同じ線で縁取る */
  .ds-hero__icon::after {
    content: "";
    position: absolute;
    inset: 6.25%;
    border: 3px solid var(--ds-line);
    border-radius: 22.3%;
  }
  .ds-eyebrow {
    display: inline-block;
    font-family: var(--ds-font-head);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: var(--ds-straw-line);
    margin-bottom: 0.4rem;
  }
  .ds-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    margin: 0 0 0.75rem;
  }
  .ds-hero__copy {
    font-family: var(--ds-font-head);
    font-size: clamp(1.1rem, 2.4vw, 1.35rem);
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 0.75rem !important;
  }
  .ds-hero__lead { color: var(--ds-muted); max-width: 34em; }
  .ds-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem !important;
  }
  @media (max-width: 860px) {
    .ds-hero { padding: 40px 0 120px; }
    .ds-hero__inner { grid-template-columns: 1fr; padding-left: 0; gap: 20px; }
    .ds-hero__icon { width: 112px; height: 112px; }
    .ds-hero__docs { left: auto; right: -24px; top: 16px; width: 130px; height: 190px; opacity: 0.5; }
  }
  @media (max-width: 600px) {
    .ds-hero__docs { display: none; }
  }

  .ds-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.8rem;
    border: 1.5px solid var(--ds-line);
    border-radius: 999px;
    background: var(--ds-swept);
    font-size: 0.82rem;
    font-weight: 600;
  }
  .ds-chip--straw { background: var(--ds-straw); border-color: var(--ds-straw); color: #253f3b; }

  .ds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-family: var(--ds-font-head);
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid var(--ds-line);
    background: var(--ds-swept);
    text-decoration: none;
    transition: transform 0.15s ease;
  }
  .ds-btn:hover { transform: translateY(-1px); }
  .ds-btn--primary { background: var(--ds-ink); color: var(--ds-on-ink) !important; }
  .ds-btn--straw { background: var(--ds-straw); border-color: var(--ds-straw); color: #253f3b !important; }
  .ds-btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

  /* quick links */
  .ds-quick {
    margin-top: -64px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .ds-quick a {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 18px 18px 16px;
    background: var(--ds-paper);
    border: 2px solid var(--ds-line);
    border-radius: var(--ds-radius);
    text-decoration: none;
    transition: transform 0.15s ease;
  }
  .ds-quick a:hover { transform: translateY(-2px) rotate(-0.4deg); }
  .ds-quick svg { width: 30px; height: 30px; color: var(--ds-line); }
  .ds-quick strong { font-family: var(--ds-font-head); font-size: 1.05rem; }
  .ds-quick span { font-size: 0.85rem; color: var(--ds-muted); line-height: 1.6; }
  @media (max-width: 860px) {
    .ds-quick { grid-template-columns: repeat(2, 1fr); margin-top: -56px; }
  }

  /* sections */
  .ds-section { padding: 72px 0 0; scroll-margin-top: 64px; }
  .ds-section:last-of-type { padding-bottom: 88px; }
  .ds-section__head { margin-bottom: 28px; }
  .ds-section__head h2 {
    position: relative;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin: 0 0 0.6rem;
    padding-bottom: 0.7rem;
  }
  /* 見出し下の「穂」：藁色の帯と、深緑の結び目 */
  .ds-section__head h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 8px;
    border-radius: 999px;
    background: var(--ds-straw);
  }
  .ds-section__head p { color: var(--ds-muted); max-width: 40em; }

  .ds-card {
    background: var(--ds-paper);
    border: 2px solid var(--ds-line);
    border-radius: var(--ds-radius);
    padding: 24px;
  }

  /* notice */
  .ds-notice {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    background: var(--ds-desk);
    border: 2px solid var(--ds-line);
    border-radius: var(--ds-radius);
    padding: 20px 22px;
    margin-bottom: 28px;
  }
  .ds-notice svg { width: 44px; height: 44px; }
  .ds-notice h3 { font-size: 1.1rem; margin: 0 0 0.3rem; }
  .ds-notice p { font-size: 0.95rem; }

  /* steps */
  .ds-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    counter-reset: step;
  }
  .ds-steps li {
    counter-increment: step;
    position: relative;
    background: var(--ds-paper);
    border: 2px solid var(--ds-line);
    border-radius: 6px 22px 22px 22px;
    padding: 20px 20px 18px;
  }
  .ds-steps li::before {
    content: counter(step);
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ds-straw);
    color: #253f3b;
    font-family: var(--ds-font-head);
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  .ds-steps h3 { font-size: 1.05rem; margin: 0 0 0.35rem; }
  .ds-steps p { font-size: 0.92rem; color: var(--ds-muted); line-height: 1.75; }
  .ds-tip { margin-top: 16px !important; font-size: 0.92rem; color: var(--ds-muted); }
  @media (max-width: 860px) { .ds-steps { grid-template-columns: 1fr; } }

  /* plan badges */
  .ds-badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 0.55rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    white-space: nowrap;
    border: 1.5px solid var(--ds-line);
    background: var(--ds-swept);
  }
  .ds-badge--pro { background: #253f3b; border-color: #253f3b; color: #fff; }
  @media (prefers-color-scheme: dark) { .ds-badge--pro { background: var(--ds-straw); border-color: var(--ds-straw); color: #253f3b; } }

  /* comparison table */
  .ds-table-wrap {
    overflow-x: auto;
    border: 2px solid var(--ds-line);
    border-radius: var(--ds-radius);
    background: var(--ds-paper);
  }
  .ds-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 520px;
  }
  .ds-table th,
  .ds-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--ds-soft-line);
    text-align: left;
  }
  .ds-table thead th {
    background: var(--ds-desk);
    font-family: var(--ds-font-head);
    border-bottom: 2px solid var(--ds-line);
  }
  .ds-table tbody th { font-weight: 500; }
  .ds-table td:not(:first-child),
  .ds-table th:not(:first-child) { text-align: center; width: 7.5rem; }
  .ds-table tbody tr:last-child td { border-bottom: 0; }
  .ds-table .is-pro { font-weight: 700; color: var(--ds-straw-line); }
  .ds-table .is-none { color: var(--ds-muted); }
  .ds-plan-note { margin-top: 12px !important; font-size: 0.88rem; color: var(--ds-muted); }

  /* feature groups */
  .ds-groupnav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
  }
  .ds-groupnav a {
    padding: 0.35rem 0.9rem;
    border: 1.5px solid var(--ds-line);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    background: var(--ds-paper);
    text-decoration: none;
  }
  .ds-groupnav a:hover { background: var(--ds-desk); }
  .ds-group { margin-bottom: 36px; scroll-margin-top: 72px; }
  .ds-group__head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
    margin-bottom: 12px;
  }
  .ds-group__head h3 { font-size: 1.25rem; margin: 0; }
  .ds-group__head p { color: var(--ds-muted); font-size: 0.92rem; }
  .ds-features { display: grid; gap: 10px; }

  /* 機能・FAQ：書類のカード */
  .ds-doc {
    background: var(--ds-paper);
    border: 2px solid var(--ds-line);
    border-radius: 16px;
    scroll-margin-top: 72px;
  }
  .ds-doc > summary {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    font-family: var(--ds-font-head);
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.5;
  }
  .ds-doc > summary::-webkit-details-marker { display: none; }
  .ds-doc__icon { width: 22px; height: 26px; color: var(--ds-line); flex: none; transition: transform 0.2s ease; }
  .ds-doc[open] .ds-doc__icon { transform: rotate(-12deg); }
  .ds-doc__chev {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
  }
  .ds-doc[open] .ds-doc__chev { transform: rotate(180deg); }
  .ds-doc[open] > summary { border-bottom: 1px dashed var(--ds-soft-line); }
  .ds-doc__body { padding: 16px 18px 18px 52px; display: grid; gap: 12px; }
  .ds-doc__body dl { margin: 0; display: grid; gap: 10px; }
  .ds-doc__body dt {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--ds-straw-line);
  }
  .ds-doc__body dd { margin: 0.1rem 0 0; font-size: 0.95rem; }
  .ds-doc__body .ds-note {
    background: var(--ds-desk);
    border-radius: 10px;
    padding: 10px 12px;
  }
  .ds-doc__body .ds-note dt { color: var(--ds-text); }
  .ds-doc__answer { font-size: 0.97rem; }
  @media (max-width: 600px) {
    .ds-doc > summary { grid-template-columns: auto 1fr auto; }
    .ds-doc > summary .ds-badges { grid-column: 2; justify-self: start; }
    .ds-doc > summary .ds-doc__chev { grid-row: 1; grid-column: 3; }
    .ds-doc__body { padding-left: 18px; }
  }

  .ds-faq { display: grid; gap: 10px; }

  /* contact */
  .ds-contact {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    background: var(--ds-desk);
    border: 2px solid var(--ds-line);
    border-radius: 28px;
    padding: 32px;
  }
  .ds-contact h3 { font-size: 1.3rem; margin: 0 0 0.5rem; }
  .ds-contact__lead { margin-bottom: 1.25rem !important; }
  .ds-contact__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
  .ds-contact__small { font-size: 0.85rem; color: var(--ds-muted); margin-top: 0.9rem !important; }
  .ds-checklist {
    background: var(--ds-paper);
    border: 2px solid var(--ds-line);
    border-radius: 6px 20px 20px 20px;
    padding: 20px 22px;
  }
  .ds-checklist h4 { margin: 0 0 0.5rem; font-size: 1rem; }
  .ds-checklist ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; font-size: 0.92rem; }
  .ds-checklist li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; }
  .ds-checklist li::before {
    content: "";
    width: 14px;
    height: 14px;
    margin-top: 0.45em;
    border: 2px solid var(--ds-line);
    border-radius: 4px;
    background: var(--ds-swept);
  }
  @media (max-width: 860px) {
    .ds-contact { grid-template-columns: 1fr; padding: 24px 20px; }
  }

  /* prose page (privacy) */
  .ds-prose { max-width: 760px; }
  .ds-prose h2 {
    font-size: 1.2rem;
    margin: 2.2rem 0 0.6rem;
    padding-left: 0.8rem;
    border-left: 6px solid var(--ds-straw);
  }
  .ds-prose p, .ds-prose li { font-size: 0.98rem; }
  .ds-prose p + p { margin-top: 0.8rem; }
  .ds-prose ul { padding-left: 1.3rem; margin: 0.6rem 0; }
  .ds-prose a { text-decoration: underline; text-underline-offset: 3px; }
  .ds-prose__date { margin-top: 2rem !important; color: var(--ds-muted); font-size: 0.9rem; }

  /* footer */
  .ds-footer {
    background: #253f3b;
    color: #f7f5ee;
    padding: 36px 0 40px;
  }
  .ds-footer__inner {
    width: min(100% - 32px, 1040px);
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
  }
  .ds-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--ds-font-head);
    font-weight: 700;
  }
  .ds-footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.9rem; }
  .ds-footer__links a { color: #f7f5ee; text-decoration: none; opacity: 0.9; }
  .ds-footer__links a:hover { text-decoration: underline; opacity: 1; }
  .ds-footer__copy { width: 100%; font-size: 0.8rem; opacity: 0.7; }

  @media (prefers-reduced-motion: reduce) {
    .ds-motion, *, *::before, *::after { transition: none !important; }
  }

/* ---- page variants ---- */
.ds-hero--page { padding: 44px 0 120px; }
.ds-hero--page h1 { margin-bottom: 0.4rem; }
.ds-nav a[aria-current="page"] { background: var(--ds-desk); }

/* values (index) */
.ds-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ds-value {
  background: var(--ds-paper);
  border: 2px solid var(--ds-line);
  border-radius: 6px 22px 22px 22px;
  padding: 22px;
}
.ds-value svg { width: 40px; height: 40px; margin-bottom: 0.5rem; }
.ds-value h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }
.ds-value p { color: var(--ds-muted); font-size: 0.95rem; }
@media (max-width: 860px) { .ds-values { grid-template-columns: 1fr; } }

.ds-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  background: var(--ds-desk);
  border: 2px solid var(--ds-line);
  border-radius: 28px;
  padding: 28px 32px;
}
.ds-cta h3 { margin: 0 0 0.3rem; font-size: 1.25rem; }
.ds-cta p { color: var(--ds-muted); }
.ds-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* contact form */
.ds-form { display: grid; gap: 16px; }
.ds-form label, .ds-form legend {
  display: block;
  font-family: var(--ds-font-head);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
  padding: 0;
}
.ds-form .ds-req, .ds-form .ds-opt {
  margin-left: 0.4rem;
  font-family: var(--ds-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.05rem 0.45rem;
  border-radius: 6px;
  vertical-align: 0.1em;
}
.ds-form .ds-req { background: var(--ds-straw); color: #253f3b; }
.ds-form .ds-opt { border: 1px solid var(--ds-soft-line); color: var(--ds-muted); }
.ds-form input[type="text"],
.ds-form input[type="email"],
.ds-form select,
.ds-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ds-text);
  background: var(--ds-swept);
  border: 2px solid var(--ds-line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
}
.ds-form textarea { min-height: 9rem; resize: vertical; line-height: 1.7; }
.ds-form input:focus-visible, .ds-form select:focus-visible, .ds-form textarea:focus-visible {
  outline: 3px solid var(--ds-straw);
  outline-offset: 1px;
}
.ds-form .ds-hint { font-size: 0.82rem; color: var(--ds-muted); margin-top: 4px; }
.ds-form .ds-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .ds-form .ds-row { grid-template-columns: 1fr; } }
.ds-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ds-radios { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-radios label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--ds-line);
  border-radius: 999px;
  font-family: var(--ds-font-body);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  background: var(--ds-swept);
}
.ds-radios input { accent-color: #253f3b; margin: 0; }
.ds-radios label:has(input:checked) { background: var(--ds-straw); border-color: var(--ds-straw); color: #253f3b; }
.ds-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; }
.ds-consent input { margin-top: 0.45em; width: 18px; height: 18px; accent-color: #253f3b; flex: none; }
.ds-consent a { text-decoration: underline; text-underline-offset: 3px; }
.ds-form button {
  justify-self: start;
  cursor: pointer;
}
.ds-form button:disabled { opacity: 0.6; cursor: progress; }
.ds-status { font-weight: 600; font-size: 0.95rem; min-height: 1.6em; }
.ds-status.ok { color: #2f6b4f; }
.ds-status.err { color: #a2462e; }
@media (prefers-color-scheme: dark) {
  .ds-status.ok { color: #9fd3b4; }
  .ds-status.err { color: #f0a58f; }
}
.ds-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ds-contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .ds-contact-grid { grid-template-columns: 1fr; } }
.ds-side { display: grid; gap: 14px; }
.ds-side .ds-card h3 { font-size: 1rem; margin: 0 0 0.4rem; }
.ds-side .ds-card p { font-size: 0.9rem; color: var(--ds-muted); }
.ds-side .ds-card a { text-decoration: underline; text-underline-offset: 3px; }
.ds-badges { display: inline-flex; gap: 4px; }

/* links & stacking fixes */
a { text-decoration: none; }
.ds-hero > .ds-wrap { position: relative; z-index: 1; }

/* =====================================================================
   v2: 機能・比較ページ、Mac App Store、ほうきのアニメーション
   ===================================================================== */
:root {
  --ds-broom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.9V8.8' stroke='%23253F3B' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M8.2 7.9h3.6c.7 3.3 2.3 6.9 4.4 9.4-4.2 1.6-8.2 1.6-12.4 0 2.1-2.5 3.7-6.1 4.4-9.4z' fill='%23E9B75E'/%3E%3Cpath d='M8.9 11.3c-.4 2.5-1.1 4.6-1.8 6.3M10 11.3v6.6M11.1 11.3c.4 2.5 1 4.7 1.6 6.5' stroke='%23AE7E3B' stroke-width='.4' fill='none' stroke-linecap='round'/%3E%3Cpath d='M7.9 9h4.2M7.55 10.2h4.9' stroke='%23253F3B' stroke-width='.8' stroke-linecap='round'/%3E%3C/svg%3E");
  --ds-ease: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ds-broom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.9V8.8' stroke='%23E2EADF' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M8.2 7.9h3.6c.7 3.3 2.3 6.9 4.4 9.4-4.2 1.6-8.2 1.6-12.4 0 2.1-2.5 3.7-6.1 4.4-9.4z' fill='%23E9B75E'/%3E%3Cpath d='M8.9 11.3c-.4 2.5-1.1 4.6-1.8 6.3M10 11.3v6.6M11.1 11.3c.4 2.5 1 4.7 1.6 6.5' stroke='%23AE7E3B' stroke-width='.4' fill='none' stroke-linecap='round'/%3E%3Cpath d='M7.9 9h4.2M7.55 10.2h4.9' stroke='%23E2EADF' stroke-width='.8' stroke-linecap='round'/%3E%3C/svg%3E");
  }
}

.ds-ico { width: 24px; height: 24px; flex: none; }
.ds-center { text-align: center; margin-top: 28px !important; }
.ds-btn .ds-ico { width: 20px; height: 20px; }

/* ---- header: ブランド / ナビ / お問い合わせ ---- */
.ds-header__inner { gap: 0.75rem; }
.ds-nav { margin-left: auto; scrollbar-width: none; }
.ds-nav::-webkit-scrollbar { display: none; }
.ds-nav a[aria-current="page"] { background: var(--ds-desk); }
.ds-header__contact {
  flex: none;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: var(--ds-ink);
  color: var(--ds-on-ink);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}
.ds-header__contact:hover { opacity: 0.88; }
@media (max-width: 720px) {
  .ds-header__inner { flex-wrap: wrap; row-gap: 0; padding-top: 8px; }
  .ds-header__contact { margin-left: auto; }
  .ds-nav { order: 3; width: 100%; margin: 0 -8px; padding: 4px 0 8px; }
}

/* ---- Mac App Store ---- */
.ds-store { display: inline-block; line-height: 0; transition: transform .2s var(--ds-ease); }
.ds-store:hover { transform: translateY(-2px); }
.ds-store img { height: 48px; width: auto; }
.ds-store__dark { display: none; }
@media (prefers-color-scheme: dark) {
  .ds-store__light { display: none; }
  .ds-store__dark { display: inline; }
}
.ds-store-soon {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 48px;
  padding: .55rem 1.1rem;
  border-radius: 12px;
  border: 2px dashed var(--ds-line);
  font-weight: 700;
  font-size: .95rem;
  background: var(--ds-swept);
}
.ds-store-soon .ds-ico { width: 20px; height: 20px; color: var(--ds-straw-line); }
.ds-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--ds-font-head); font-weight: 700;
  border-bottom: 2px solid var(--ds-straw);
  padding-bottom: 2px;
}
.ds-link .ds-ico { width: 18px; height: 18px; transition: transform .2s var(--ds-ease); }
.ds-link:hover .ds-ico { transform: translateX(4px); }

/* ---- home hero ---- */
.ds-hero--home { padding: 48px 0 140px; }
.ds-home {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
}
.ds-home .ds-eyebrow { display: inline-flex; align-items: center; gap: .5rem; }
.ds-home .ds-eyebrow img { width: 28px; height: 28px; }
.ds-home h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin: 0 0 .6rem; line-height: 1.1; }
.ds-home__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 1.4rem; }
@media (max-width: 900px) {
  .ds-home { grid-template-columns: 1fr; gap: 28px; }
  .ds-hero--home { padding-top: 32px; }
}

/* ---- 机（インタラクティブなデモ） ---- */
.ds-stage { position: relative; }
.ds-stage__desk {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--ds-desk);
  border: 2.5px solid var(--ds-line);
  border-radius: 22%/29%;
  border-radius: 34px;
  overflow: hidden;
  touch-action: pan-y;
  cursor: none;
  user-select: none;
  -webkit-user-select: none;
}
@media (hover: none) { .ds-stage__desk { cursor: default; } }
.ds-stage__swept { position: absolute; inset: 0; width: 100%; height: 100%; }
.ds-stage__swept path { fill: var(--ds-swept); }
.ds-stage__pile {
  position: absolute; top: 0; left: 0;
  width: 68px; height: 56px;
  display: grid; justify-items: center;
  color: var(--ds-line);
  pointer-events: none;
}
.ds-stage__pile svg { width: 68px; height: 54px; }
.ds-stage__pile path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 2.4 1.8; stroke-linejoin: round; }
.ds-stage__pile span {
  margin-top: -2px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; color: var(--ds-muted);
}
.ds-stage.is-clean .ds-stage__pile path { stroke-dasharray: none; fill: var(--ds-paper); }
.ds-file {
  position: absolute; top: 0; left: 0;
  width: 34px; height: 42px;
  will-change: transform;
  pointer-events: none;
}
.ds-file svg { width: 100%; height: 100%; overflow: visible; }
.ds-file .f { fill: var(--ds-paper); stroke: var(--ds-line); stroke-width: 1.4; stroke-linejoin: round; }
.ds-file .l { fill: none; stroke: var(--ds-line); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; }
.ds-file .t { fill: var(--ds-straw); stroke: var(--ds-line); stroke-width: 1; }
.ds-file--folder { width: 42px; height: 34px; }
.ds-file.is-wiggle svg { animation: ds-wiggle .45s ease; }
@keyframes ds-wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-9deg); }
  60% { transform: rotate(7deg); }
}
.ds-stage__keep {
  position: absolute; top: 0; left: 0;
  padding: .2rem .6rem;
  border-radius: 999px;
  background: var(--ds-straw); color: #253f3b;
  font-size: .72rem; font-weight: 700; white-space: nowrap;
  opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.ds-stage__keep.is-show { opacity: 1; }
.ds-stage__broom {
  position: absolute; top: 0; left: 0;
  width: 96px; height: 96px;
  z-index: 3;
  touch-action: none;
  cursor: grab;
  transform-origin: 50% 85%;
  will-change: transform;
}
.ds-stage__broom svg { width: 100%; height: 100%; display: block; }
.ds-stage__broom.is-resting svg { animation: ds-bob 2.4s ease-in-out infinite; transform-origin: 50% 90%; }
.ds-stage.is-sweeping .ds-stage__broom { cursor: grabbing; }
@keyframes ds-bob {
  0%, 100% { transform: rotate(0); }
  50% { transform: rotate(8deg); }
}
.ds-stage__done {
  position: absolute; right: 7%; top: 12%;
  font-family: var(--ds-font-head); font-weight: 700; font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  color: var(--ds-text);
  opacity: 0; transform: scale(.6) rotate(-6deg);
  pointer-events: none;
}
.ds-stage__done.is-pop { animation: ds-pop 1.6s var(--ds-ease) forwards; }
@keyframes ds-pop {
  0% { opacity: 0; transform: scale(.6) rotate(-6deg); }
  25% { opacity: 1; transform: scale(1.08) rotate(-4deg); }
  40% { transform: scale(1) rotate(-4deg); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: scale(1) translateY(-6px) rotate(-4deg); }
}
.ds-dust {
  position: absolute;
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--ds-straw-line);
  opacity: .8;
  pointer-events: none;
  animation: ds-dust .7s ease-out forwards;
}
@keyframes ds-dust {
  to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; }
}
.ds-stage__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 16px; margin-top: 12px;
}
.ds-stage__hint { font-size: .86rem; color: var(--ds-muted); flex: 1 1 14em; }
.ds-stage__buttons { display: flex; gap: 8px; }
.ds-pill {
  font: inherit; font-family: var(--ds-font-head); font-weight: 700; font-size: .9rem;
  padding: .45rem 1.05rem; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--ds-line); background: var(--ds-ink); color: var(--ds-on-ink);
  transition: transform .15s var(--ds-ease);
}
.ds-pill:hover { transform: translateY(-1px); }
.ds-pill:active { transform: translateY(1px); }
.ds-pill--ghost { background: var(--ds-paper); color: var(--ds-text); }

/* ---- ページ見出し：ほうきが一度横切る ---- */
.ds-hero__sweeper {
  position: absolute; z-index: 2;
  left: -80px; bottom: 42px;
  width: 72px; height: 72px;
  pointer-events: none;
  opacity: 0;
}
.ds-hero__sweeper svg { width: 100%; height: 100%; }
.js .ds-hero__sweeper { animation: ds-cross 1.9s .25s var(--ds-ease) forwards; }
@keyframes ds-cross {
  0% { opacity: 0; transform: translateX(0) rotate(28deg); }
  10% { opacity: 1; }
  30% { transform: translateX(30vw) rotate(10deg); }
  55% { transform: translateX(60vw) rotate(24deg); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(105vw) rotate(12deg); }
}

/* ---- スクロールで掃き入れる ---- */
.js [data-reveal] {
  opacity: 0;
  transform: translateX(-22px) rotate(-.6deg);
  transition: opacity .6s var(--ds-ease), transform .7s var(--ds-ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* 見出しの下線：ほうきが掃いて、藁色の帯が残る */
.ds-section__head h2::after { transform-origin: left center; }
.js .ds-section__head h2::after { transform: scaleX(0); transition: transform .8s .15s var(--ds-ease); }
.js .ds-section__head.is-in h2::after { transform: scaleX(1); }
.ds-section__head h2::before {
  content: "";
  position: absolute;
  left: -6px; bottom: -6px;
  width: 26px; height: 26px;
  background: var(--ds-broom) no-repeat center / contain;
  opacity: 0;
  pointer-events: none;
}
.js .ds-section__head.is-in h2::before { animation: ds-underline 1s .1s var(--ds-ease) forwards; }
@keyframes ds-underline {
  0% { opacity: 0; transform: translateX(0) rotate(40deg); }
  15% { opacity: 1; }
  70% { opacity: 1; transform: translateX(52px) rotate(18deg); }
  100% { opacity: 0; transform: translateX(64px) rotate(28deg); }
}

/* ---- ホバーで、小さなほうきがひと掃き ---- */
.ds-feature-card, .ds-reason, .ds-quick a, .ds-value, .ds-index__group, .ds-safety__item, .ds-plan {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.ds-feature-card::after, .ds-reason::after, .ds-quick a::after, .ds-index__group::after {
  content: "";
  position: absolute;
  left: -40px; bottom: 6px;
  width: 30px; height: 30px;
  background: var(--ds-broom) no-repeat center / contain;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.ds-feature-card:hover::after, .ds-reason:hover::after, .ds-quick a:hover::after, .ds-index__group:hover::after {
  animation: ds-hover-sweep .75s var(--ds-ease);
}
@keyframes ds-hover-sweep {
  0% { left: -40px; opacity: 0; transform: rotate(40deg); }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: calc(100% + 10px); opacity: 0; transform: rotate(16deg); }
}

/* ---- free cards ---- */
.ds-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .ds-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ds-cards { grid-template-columns: 1fr; } }
.ds-feature-card {
  display: flex; flex-direction: column; gap: .4rem;
  background: var(--ds-paper);
  border: 2px solid var(--ds-line);
  border-radius: 6px 22px 22px 22px;
  padding: 22px 22px 18px;
  transition: transform .2s var(--ds-ease), background-color .2s;
}
.ds-feature-card:hover { transform: translateY(-3px) rotate(-.4deg); }
.ds-feature-card > .ds-ico { width: 36px; height: 36px; color: var(--ds-line); margin-bottom: .2rem; }
.ds-feature-card h3 { font-size: 1.08rem; margin: 0; }
.ds-feature-card p { color: var(--ds-muted); font-size: .93rem; flex: 1; }
.ds-feature-card__more { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; font-weight: 700; color: var(--ds-straw-line); }
.ds-feature-card__more .ds-ico { width: 16px; height: 16px; transition: transform .2s; }
.ds-feature-card:hover .ds-feature-card__more .ds-ico { transform: translateX(4px); }

/* ---- flow ---- */
.ds-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: flow; }
.ds-flow li {
  counter-increment: flow;
  position: relative;
  background: var(--ds-desk);
  border: 2px solid var(--ds-line);
  border-radius: 22px;
  padding: 22px;
}
.ds-flow li::before {
  content: counter(flow);
  position: absolute; right: 18px; top: 12px;
  font-family: var(--ds-font-head); font-weight: 700; font-size: 2.2rem; line-height: 1;
  color: var(--ds-straw);
}
.ds-flow .ds-ico { width: 32px; height: 32px; }
.ds-flow h3 { font-size: 1.05rem; margin: .5rem 0 .3rem; }
.ds-flow p { font-size: .92rem; color: var(--ds-muted); }
@media (max-width: 860px) { .ds-flow { grid-template-columns: 1fr; } }

/* ---- screenshots ---- */
.ds-shot { margin: 28px 0 0; }
.ds-shot__frame {
  border: 2px solid var(--ds-line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--ds-desk);
  padding: clamp(12px, 3vw, 28px);
}
.ds-shot img { display: block; width: 100%; height: auto; border-radius: 10px; }
.ds-shot figcaption { margin-top: 8px; font-size: .85rem; color: var(--ds-muted); text-align: center; }
.ds-shots:has(.ds-shot) { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 18px; }

/* ---- pro reasons ---- */
.ds-reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 900px) { .ds-reasons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ds-reasons { grid-template-columns: 1fr; } }
.ds-reason {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px;
  border: 1.5px solid var(--ds-line);
  border-radius: 16px;
  background: var(--ds-paper);
  font-size: .9rem; color: var(--ds-muted);
  transition: background-color .2s;
}
.ds-reason:hover { background: var(--ds-desk); }
.ds-reason .ds-ico { color: var(--ds-straw-line); margin-top: 2px; }
.ds-reason strong { display: block; color: var(--ds-text); font-family: var(--ds-font-head); font-size: 1rem; margin-bottom: 2px; }

/* ---- CTA band ---- */
.ds-band { background: var(--ds-desk); border-top: 2px solid var(--ds-line); padding: 44px 0; }
.ds-band__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.ds-band__inner > img { width: 72px; height: 72px; }
.ds-band__text { flex: 1 1 18em; }
.ds-band h2 { margin: 0 0 .2rem; font-size: clamp(1.25rem, 3vw, 1.6rem); }
.ds-band p { color: var(--ds-muted); }
.ds-section:last-of-type { padding-bottom: 72px; }

/* ---- features: index ---- */
.ds-index {
  position: relative;
  margin-top: -64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .ds-index { grid-template-columns: repeat(2, 1fr); margin-top: -56px; } }
@media (max-width: 600px) { .ds-index { grid-template-columns: 1fr; } }
.ds-index__group {
  background: var(--ds-paper);
  border: 2px solid var(--ds-line);
  border-radius: 20px;
  padding: 18px 18px 12px;
}
.ds-index__group h2 { font-size: 1.05rem; margin: 0 0 .4rem; padding: 0; }
.ds-index__group h2 a { display: inline-flex; align-items: center; gap: .5rem; }
.ds-index__group h2 .ds-ico { color: var(--ds-straw-line); }
.ds-index__group ul { list-style: none; margin: 0; padding: 0; }
.ds-index__group li a {
  display: flex; justify-content: space-between; gap: 8px; align-items: center;
  padding: .38rem 0;
  border-top: 1px dashed var(--ds-soft-line);
  font-size: .9rem;
}
.ds-index__group li a:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }

/* ---- safety ---- */
.ds-safety { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .ds-safety { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ds-safety { grid-template-columns: 1fr; } }
.ds-safety__item { background: var(--ds-desk); border: 2px solid var(--ds-line); border-radius: 18px; padding: 18px; }
.ds-safety__item .ds-ico { width: 30px; height: 30px; }
.ds-safety__item h3 { font-size: 1rem; margin: .4rem 0 .3rem; }
.ds-safety__item p { font-size: .88rem; color: var(--ds-muted); line-height: 1.75; }

/* ---- features: articles ---- */
.ds-group { scroll-margin-top: 80px; }
.ds-articles { display: grid; gap: 14px; margin-top: 18px; }
.ds-article {
  position: relative;
  background: var(--ds-paper);
  border: 2px solid var(--ds-line);
  border-radius: 6px 24px 24px 24px;
  padding: 22px 24px;
  scroll-margin-top: 84px;
}
.ds-article.is-target { animation: ds-target 1.6s var(--ds-ease); }
@keyframes ds-target {
  0%, 30% { box-shadow: 0 0 0 4px var(--ds-straw); }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.ds-article__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ds-article__tagline { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--ds-straw-line); }
.ds-article h3 { font-size: 1.25rem; margin: .1rem 0 .5rem; }
.ds-article__summary { margin-bottom: 14px !important; }
.ds-article__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px 26px; }
@media (max-width: 760px) { .ds-article__grid { grid-template-columns: 1fr; } }
.ds-article h4 { font-size: .82rem; letter-spacing: .1em; color: var(--ds-straw-line); margin: 0 0 .4rem; }
.ds-article__how ol { margin: 0; padding: 0; list-style: none; counter-reset: how; display: grid; gap: .5rem; }
.ds-article__how li { counter-increment: how; display: grid; grid-template-columns: 26px 1fr; gap: 8px; font-size: .94rem; }
.ds-article__how li::before {
  content: counter(how);
  display: grid; place-items: center;
  width: 24px; height: 24px; margin-top: .2em;
  border-radius: 50%;
  background: var(--ds-straw); color: #253f3b;
  font-size: .78rem; font-weight: 700;
}
.ds-example {
  margin-top: 12px !important;
  padding: 10px 12px;
  border: 1.5px dashed var(--ds-soft-line);
  border-radius: 10px;
  font-size: .88rem;
}
.ds-example span {
  display: inline-block; margin-right: .5rem;
  padding: 0 .45rem; border-radius: 6px;
  background: var(--ds-ink); color: var(--ds-on-ink);
  font-size: .72rem; font-weight: 700;
}
.ds-scenes { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: .35rem; font-size: .92rem; }
.ds-scenes li { display: grid; grid-template-columns: 18px 1fr; gap: 6px; }
.ds-scenes li::before { content: ""; width: 14px; height: 14px; margin-top: .45em; background: var(--ds-broom) no-repeat center / contain; }
.ds-article .ds-note { background: var(--ds-desk); border-radius: 12px; padding: 10px 14px; }
.ds-article .ds-note h4 { color: var(--ds-text); }
.ds-article .ds-note ul { margin: 0; padding-left: 1.1rem; font-size: .88rem; display: grid; gap: .3rem; }
.ds-related { margin-top: 14px !important; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .82rem; }
.ds-related span { font-weight: 700; color: var(--ds-muted); margin-right: 4px; }
.ds-related a { padding: .15rem .7rem; border: 1.5px solid var(--ds-line); border-radius: 999px; background: var(--ds-swept); }
.ds-related a:hover { background: var(--ds-desk); }

/* ---- compare ---- */
.ds-plans { position: relative; margin-top: -64px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .ds-plans { grid-template-columns: 1fr; margin-top: -56px; } }
.ds-plan {
  background: var(--ds-paper);
  border: 2px solid var(--ds-line);
  border-radius: 24px;
  padding: 24px;
}
.ds-plan--pro { background: var(--ds-desk); }
.ds-plan h2 { font-size: 1.35rem; margin: .4rem 0 .1rem; }
.ds-plan__price { font-weight: 700; color: var(--ds-straw-line); margin-bottom: .9rem !important; }
.ds-plan__store { margin-top: 1rem; }
.ds-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .94rem; }
.ds-checks li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.ds-checks li::before {
  content: "";
  width: 18px; height: 18px; margin-top: .3em;
  border-radius: 50%;
  background: var(--ds-straw)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.3 2.6 2.6L13 6.4' fill='none' stroke='%23253F3B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.ds-checks a { text-decoration: underline; text-decoration-color: var(--ds-straw); text-underline-offset: 3px; }
.ds-compare .ds-table { min-width: 560px; }
.ds-table__axis th {
  background: var(--ds-swept) !important;
  font-family: var(--ds-font-head);
  font-size: .95rem;
  color: var(--ds-straw-line);
  padding-top: 1rem !important;
  border-bottom: 1.5px solid var(--ds-line) !important;
}
.ds-compare th[scope="row"] { font-weight: 500; }
.ds-compare th[scope="row"] a { display: inline-flex; align-items: center; gap: .35rem; }
.ds-row-arrow { width: 16px; height: 16px; color: var(--ds-straw-line); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.ds-compare tr.is-link { transition: background-color .25s; }
.ds-compare tr.is-link:hover { background: var(--ds-desk); }
.ds-compare tr.is-link:hover .ds-row-arrow { opacity: 1; transform: none; }
.ds-compare tr.is-link th a::after { content: ""; position: absolute; inset: 0; }
.ds-compare tr.is-link { position: relative; }
.ds-compare .is-pro-col { background: color-mix(in srgb, var(--ds-desk) 55%, transparent); }
.ds-yes { width: 22px; height: 22px; vertical-align: middle; }
.ds-yes circle { fill: var(--ds-straw); }
.ds-yes path { stroke: #253f3b; stroke-width: 2.2; }
.ds-no { color: var(--ds-muted); }
.ds-cell-text { font-size: .86rem; font-weight: 600; }
.ds-buy { display: grid; grid-template-columns: 1fr; gap: 0 24px; }
.ds-buy:has(.ds-shot) { grid-template-columns: 1.1fr 1fr; align-items: start; }
@media (max-width: 760px) { .ds-buy:has(.ds-shot) { grid-template-columns: 1fr; } }
.ds-buy .ds-shot { margin-top: 0; }

/* ---- 開閉：書類が掃かれるように開く ---- */
.ds-doc.is-opening .ds-doc__body { animation: ds-open-sweep .55s var(--ds-ease); }
@keyframes ds-open-sweep {
  from { clip-path: inset(0 100% 0 0); opacity: .2; transform: translateX(-8px); }
  to { clip-path: inset(0 0 0 0); opacity: 1; transform: none; }
}
.ds-doc.is-target > summary { animation: ds-target 1.6s var(--ds-ease); border-radius: 14px; }

/* ---- フォーム送信の成功：ほうきが一振り ---- */
.ds-form { position: relative; overflow: hidden; }
.ds-form__broom {
  position: absolute; z-index: 4;
  left: -120px; top: 40%;
  width: 110px; height: 110px;
  opacity: 0;
  pointer-events: none;
}
.ds-form__broom svg { width: 100%; height: 100%; }
.ds-form.is-swept .ds-form__broom { animation: ds-form-sweep 1s var(--ds-ease) forwards; }
.ds-form.is-swept > :not(.ds-form__broom):not(.ds-status) { animation: ds-fields-out 1s var(--ds-ease); }
@keyframes ds-form-sweep {
  0% { opacity: 0; transform: translateX(0) rotate(30deg); }
  15% { opacity: 1; }
  50% { transform: translateX(60%) rotate(10deg); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(calc(100vw)) rotate(22deg); }
}
@keyframes ds-fields-out {
  0% { opacity: 1; transform: none; }
  45% { opacity: 0; transform: translateX(24px); }
  55% { opacity: 0; transform: translateX(-12px); }
  100% { opacity: 1; transform: none; }
}
.ds-status.ok::before {
  content: "";
  display: inline-block; vertical-align: -3px;
  width: 18px; height: 18px; margin-right: 6px;
  background: var(--ds-broom) no-repeat center / contain;
}

/* ---- 動きを控える設定 ---- */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .ds-section__head h2::after { transform: none; }
  .ds-section__head h2::before, .ds-hero__sweeper, .ds-form__broom { display: none; }
  .ds-feature-card::after, .ds-reason::after, .ds-quick a::after, .ds-index__group::after { display: none; }
  .ds-stage__broom.is-resting svg, .ds-doc.is-opening .ds-doc__body, .ds-form.is-swept > * { animation: none !important; }
  .ds-stage__desk { cursor: default; }
}

/* 比較表：値の列に文字が入るので幅を広げる */
.ds-compare .ds-table td:not(:first-child),
.ds-compare .ds-table th:not(:first-child) { width: 12.5rem; }
@media (max-width: 760px) {
  .ds-compare .ds-table td:not(:first-child),
  .ds-compare .ds-table th:not(:first-child) { width: 8.5rem; }
}
.ds-hero__lead a { text-decoration: underline; text-decoration-color: var(--ds-straw); text-underline-offset: 3px; }

/* =====================================================================
   使い方ガイド（help.html）
   ===================================================================== */
.ds-help {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding-top: 8px;
  padding-bottom: 80px;
}
.ds-help__side {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-bottom: 16px;
  scrollbar-width: thin;
}
.ds-help__search {
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px;
  border: 2px solid var(--ds-line);
  border-radius: 999px;
  background: var(--ds-paper);
}
.ds-help__search .ds-ico { width: 18px; height: 18px; color: var(--ds-muted); }
.ds-help__search input {
  flex: 1; min-width: 0;
  border: 0; background: transparent;
  font: inherit; font-size: .92rem; color: var(--ds-text);
  padding: .6rem 0;
}
.ds-help__search input:focus { outline: none; }
.ds-help__search:focus-within { outline: 3px solid var(--ds-straw); outline-offset: 1px; }
.ds-help__count { font-size: .8rem; color: var(--ds-muted); min-height: 1.4em; margin: 6px 0 2px 14px !important; }
.ds-help__toc > summary {
  list-style: none; cursor: pointer;
  font-family: var(--ds-font-head); font-weight: 700; font-size: .9rem;
  padding: .3rem 0; color: var(--ds-muted);
}
.ds-help__toc > summary::-webkit-details-marker { display: none; }
.ds-help__toc-ch { margin-top: 14px !important; }
.ds-help__toc-ch a { display: flex; align-items: center; gap: .45rem; font-family: var(--ds-font-head); font-weight: 700; font-size: .95rem; }
.ds-help__toc-ch .ds-ico { width: 18px; height: 18px; color: var(--ds-straw-line); }
.ds-help__toc ul { list-style: none; margin: 4px 0 0; padding: 0 0 0 10px; border-left: 2px solid var(--ds-soft-line); }
.ds-help__toc li a {
  display: block;
  margin-left: -12px;
  padding: .22rem .5rem .22rem 12px;
  border-left: 2px solid transparent;
  font-size: .85rem;
  color: var(--ds-muted);
  line-height: 1.5;
}
.ds-help__toc li a:hover { color: var(--ds-text); }
.ds-help__toc li a[aria-current] { color: var(--ds-text); font-weight: 700; border-left-color: var(--ds-straw); }

.ds-help-chapter { padding-top: 48px; scroll-margin-top: 72px; }
.ds-help-chapter:first-child { padding-top: 24px; }
.ds-help-topic {
  background: var(--ds-paper);
  border: 2px solid var(--ds-line);
  border-radius: 6px 22px 22px 22px;
  padding: 22px 24px;
  margin-bottom: 14px;
  scroll-margin-top: 80px;
  display: grid;
  gap: 14px;
}
.ds-help-topic:target { animation: ds-target 1.6s var(--ds-ease); }
.ds-help-topic__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ds-help-topic h3 { font-size: 1.2rem; margin: 0; }
.ds-help-topic > p { font-size: .96rem; }
.ds-help-topic .ds-shot { margin-top: 0; }
.ds-help-steps { list-style: none; margin: 0; padding: 0; counter-reset: hs; display: grid; gap: .6rem; }
.ds-help-steps li { counter-increment: hs; display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: .95rem; }
.ds-help-steps li::before {
  content: counter(hs);
  display: grid; place-items: center;
  width: 28px; height: 28px; margin-top: .1em;
  border-radius: 50%;
  background: var(--ds-straw); color: #253f3b;
  font-family: var(--ds-font-head); font-weight: 700; font-size: .85rem;
}
.ds-help-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; font-size: .95rem; }
.ds-help-list li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.ds-help-list li::before { content: ""; width: 14px; height: 14px; margin-top: .5em; background: var(--ds-broom) no-repeat center / contain; }
.ds-help-callout {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: .92rem;
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: baseline;
}
.ds-help-callout strong {
  font-size: .72rem; letter-spacing: .08em;
  padding: .1rem .5rem; border-radius: 6px; white-space: nowrap;
}
.ds-help-callout--tip { background: var(--ds-desk); }
.ds-help-callout--tip strong { background: var(--ds-ink); color: var(--ds-on-ink); }
.ds-help-callout--note { border: 2px dashed var(--ds-straw-line); }
.ds-help-callout--note strong { background: var(--ds-straw); color: #253f3b; }
.ds-help-table .ds-table { min-width: 0; font-size: .9rem; }
.ds-help-table th[scope="row"] { font-weight: 600; width: 34%; vertical-align: top; }
.ds-help-table td { text-align: left !important; width: auto !important; }
.ds-help-table caption { caption-side: top; text-align: left; padding: .7rem 1rem .2rem; font-family: var(--ds-font-head); font-weight: 700; font-size: .92rem; }
.ds-help-empty { padding: 28px; border: 2px dashed var(--ds-soft-line); border-radius: 18px; text-align: center; margin-top: 24px; }
.ds-help-empty a { text-decoration: underline; text-underline-offset: 3px; }

/* しくみの図 */
/* 横並びか縦並びかは、ビューポートではなく図が置かれた枠の幅で決める（折り返して崩れないように） */
.ds-flowwrap { container-type: inline-size; }
.ds-flowchart { display: flex; align-items: stretch; gap: 0; flex-wrap: nowrap; }
.ds-flowchart__box {
  flex: 1 1 0;
  min-width: 0;
  overflow-wrap: anywhere;
  display: grid; justify-items: center; gap: 2px;
  padding: 14px 10px;
  border: 2px solid var(--ds-line);
  border-radius: 16px;
  background: var(--ds-desk);
  text-align: center;
}
.ds-flowchart__box .ds-ico { width: 28px; height: 28px; }
.ds-flowchart__box strong { font-family: var(--ds-font-head); font-size: 1rem; }
.ds-flowchart__box span { font-size: .78rem; color: var(--ds-muted); }
.ds-flowchart__box--check .ds-ico { color: var(--ds-straw-line); }
.ds-flowchart__box--dest { background: var(--ds-swept); }
.ds-flowchart__arrow {
  flex: 0 0 76px;
  display: grid; place-items: center;
  position: relative;
  font-size: .72rem; font-weight: 700; color: var(--ds-straw-line);
}
.ds-flowchart__arrow::before {
  content: ""; position: absolute; left: 8px; right: 14px; top: 50%;
  border-top: 2px dashed var(--ds-line);
}
.ds-flowchart__arrow::after {
  content: ""; position: absolute; right: 8px; top: calc(50% - 5px);
  border: 6px solid transparent; border-left: 8px solid var(--ds-line); border-right: 0;
}
.ds-flowchart__arrow { flex: 0 0 88px; }
.ds-flowchart__arrow span { position: relative; top: -16px; background: var(--ds-paper); padding: 0 4px; max-width: 84px; text-align: center; line-height: 1.2; }
.ds-flowchart__after { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--ds-muted); }
.ds-flowchart__after .ds-ico { width: 20px; height: 20px; color: var(--ds-straw-line); flex: none; }
@container (max-width: 600px) {
  .ds-flowchart { flex-direction: column; }
  .ds-flowchart__box { flex: none; }
  .ds-flowchart__arrow { flex: 0 0 46px; }
  .ds-flowchart__arrow::before { left: 50%; right: auto; top: 6px; bottom: 12px; border-top: 0; border-left: 2px dashed var(--ds-line); }
  .ds-flowchart__arrow::after { left: calc(50% - 5px); right: auto; top: auto; bottom: 4px; border: 6px solid transparent; border-top: 8px solid var(--ds-line); border-bottom: 0; }
  .ds-flowchart__arrow span { max-width: none; position: absolute; left: calc(50% + 14px); top: 50%; transform: translateY(-50%); white-space: nowrap; }
}

@media (max-width: 900px) {
  .ds-help { grid-template-columns: 1fr; gap: 12px; }
  .ds-help__side {
    position: sticky; top: 96px; z-index: 4;
    max-height: none; overflow: visible;
    background: var(--ds-swept);
    padding: 10px 0 6px;
    border-bottom: 1.5px solid var(--ds-soft-line);
  }
  .ds-help__toc[open] nav { max-height: 55vh; overflow-y: auto; padding-bottom: 8px; }
  .ds-help__toc > summary { display: inline-flex; align-items: center; gap: .3rem; }
  .ds-help__toc > summary::after { content: "▾"; font-size: .8rem; }
  .ds-help-topic { padding: 18px; }
  .ds-help-chapter:first-child { padding-top: 8px; }
}
[hidden] { display: none !important; }
.ds-help-table thead th { text-align: left !important; width: auto !important; }

/* =====================================================================
   多言語：言語メニュー、言語の提案、言語ごとのフォント、アプリの表示名
   ===================================================================== */
.ds-lang { position: relative; flex: none; }
.ds-lang > summary {
  list-style: none;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  border: 1.5px solid var(--ds-soft-line);
  font-size: .82rem; font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.ds-lang > summary::-webkit-details-marker { display: none; }
.ds-lang > summary:hover, .ds-lang[open] > summary { background: var(--ds-desk); border-color: var(--ds-line); }
.ds-lang > summary .ds-ico { width: 16px; height: 16px; }
.ds-lang__list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 20;
  min-width: 170px;
  margin: 0; padding: 6px;
  list-style: none;
  background: var(--ds-paper);
  border: 2px solid var(--ds-line);
  border-radius: 14px;
}
.ds-lang__list a { display: block; padding: .4rem .7rem; border-radius: 8px; font-size: .9rem; }
.ds-lang__list a:hover { background: var(--ds-desk); }
.ds-lang__list a[aria-current] { font-weight: 700; background: var(--ds-desk); }
.ds-lang__list a[aria-current]::after { content: " ✓"; color: var(--ds-straw-line); }
@media (max-width: 720px) {
  .ds-lang { margin-left: auto; }
  .ds-header__contact { margin-left: 0; }
  .ds-lang > summary span { display: none; }
}

.ds-footer__langs { width: 100%; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .82rem; }
.ds-footer__langs a { color: #f7f5ee; opacity: .75; }
.ds-footer__langs a:hover { opacity: 1; text-decoration: underline; }

.ds-langbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px;
  padding: 10px 16px;
  background: var(--ds-straw);
  color: #253f3b;
  font-size: .9rem; font-weight: 600;
}
.ds-langbar .ds-pill { background: #253f3b; color: #f7f5ee; border-color: #253f3b; text-decoration: none; }
.ds-langbar__close { background: none; border: 0; font-size: 1.3rem; line-height: 1; cursor: pointer; color: #253f3b; padding: 0 4px; }

/* アプリの表示名：訳語（日本語の表示） */
.ds-ui { font-weight: 600; }
.ds-ui__ja { font-size: .88em; color: var(--ds-muted); font-weight: 400; white-space: nowrap; }

/* 言語ごとのフォント */
html:lang(en), html:lang(fr), html:lang(de), html:lang(pt-BR), html:lang(uk) {
  --ds-font-head: "Nunito", "Hiragino Maru Gothic ProN", system-ui, sans-serif;
  --ds-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html:lang(zh-Hans) {
  --ds-font-head: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --ds-font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
html:lang(ko) {
  --ds-font-head: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --ds-font-body: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}
html:not(:lang(ja)) body { letter-spacing: 0; line-height: 1.7; }
html:not(:lang(ja)) h1, html:not(:lang(ja)) h2, html:not(:lang(ja)) h3, html:not(:lang(ja)) h4 { letter-spacing: 0; }
html:lang(en) .ds-hero__copy, html:lang(fr) .ds-hero__copy, html:lang(de) .ds-hero__copy,
html:lang(pt-BR) .ds-hero__copy, html:lang(uk) .ds-hero__copy { font-weight: 800; }
/* 長い単語（ドイツ語など）で横にはみ出さないように */
h1, h2, h3, .ds-table th, .ds-table td { overflow-wrap: anywhere; hyphens: auto; }
/* お問い合わせフォーム：入力欄の最小幅で列が押し広げられ、カードからはみ出すのを防ぐ */
.ds-contact-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 860px) { .ds-contact-grid { grid-template-columns: minmax(0, 1fr); } }
.ds-form { grid-template-columns: minmax(0, 1fr); }
.ds-form > *, .ds-form .ds-row > * { min-width: 0; }
.ds-form .ds-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 600px) { .ds-form .ds-row { grid-template-columns: minmax(0, 1fr); } }
.ds-form input[type="text"], .ds-form input[type="email"], .ds-form select, .ds-form textarea { min-width: 0; max-width: 100%; }

/* 左右の余白：スマホ 24px、タブレット 32px（端に文字が寄りすぎないように） */
:root { --ds-gutter: 32px; }
@media (max-width: 600px) { :root { --ds-gutter: 24px; } }
.ds-wrap,
.ds-header__inner,
.ds-footer__inner { width: min(100% - var(--ds-gutter) * 2, 1040px); }
@media (max-width: 720px) {
  .ds-nav { margin: 0; }
}
/* 使い方ガイド：1列表示で長い語（独・宇など）が列を押し広げ、横スクロールになるのを防ぐ */
.ds-help > * { min-width: 0; }
@media (max-width: 900px) { .ds-help { grid-template-columns: minmax(0, 1fr); } }
.ds-help__search, .ds-help__search input { min-width: 0; max-width: 100%; }
.ds-help-table { max-width: 100%; overflow-x: auto; }
/* 日本語ラベル併記は長い場合に折り返す（表などで列を押し広げないように） */
.ds-ui__ja { white-space: normal; }
.ds-help__body, .ds-help-chapter, .ds-help-topic, .ds-help-topic > * { min-width: 0; max-width: 100%; }
/* トップの机のデモ：ボタンは置かない。スマホ・タブレットでは主役にならないよう小さく */
.ds-stage__bar { margin-top: 10px; }
@media (max-width: 900px) {
  .ds-home__stage { width: min(72%, 280px); margin-inline: auto; }
  .ds-home { gap: 20px; }
  .ds-stage__desk { border-radius: 24px; }
  .ds-stage__hint { text-align: center; font-size: .8rem; }
  /* メイン画面のキャプチャがあるときは、すぐ下のキャプチャに任せてデモは出さない */
  .ds-home__stage--wide-only { display: none; }
  /* 小さな机に合わせて、ほうきと文字も控えめに（穂先の位置はそのまま） */
  .ds-stage__broom svg { scale: .72; transform-origin: 50% 87.5%; }
  .ds-stage__done { font-size: 1rem; right: auto; left: 8%; top: 40%; }
  .ds-stage__keep { font-size: .66rem; }
}
