.dc {
  padding-bottom: clamp(72px, 10vw, 120px);
}

.dc-hero {
  padding-block: clamp(40px, 7vw, 96px) clamp(40px, 5vw, 72px);
}
.dc-title {
  max-width: 15ch;
  margin-top: 20px;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 0.98;
  font-weight: 560;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
html[lang="ja"] .dc-title,
html[lang="ja"] .dc-sec h2 {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.dc-lede {
  max-width: var(--measure);
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}
.dc-meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}
.dc-meta .legal-updated {
  margin: 0;
}
.dc-meta .lang-alt {
  font-size: 14px;
}
.dc-meta .lang-alt a {
  color: var(--text-2);
  text-underline-offset: 3px;
}

.dc-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.dc-toc {
  top: calc(var(--header-h) + 32px);
  margin-left: 0;
  padding-left: 16px;
  border-left: 1px solid var(--border);
  gap: 0;
}
.dc-toc a {
  position: relative;
  padding: 7px 0 7px 4px;
  border-radius: 0;
  line-height: 1.35;
  transition: color 160ms ease;
}
.dc-toc a::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: -17px;
  width: 2px;
  border-radius: 1px;
  background: var(--text);
  opacity: 0;
  transform: scaleY(0.4);
  transition:
    opacity 200ms var(--ease-out),
    transform 200ms var(--ease-out);
}
.dc-toc a:hover {
  background: transparent;
}
.dc-toc a.is-active {
  background: transparent;
  font-weight: 600;
}
.dc-toc a.is-active::before {
  opacity: 1;
  transform: none;
}
.dc-article {
  min-width: 0;
  max-width: 760px;
}

.dc-sec {
  padding-bottom: clamp(48px, 6vw, 80px);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.dc-sec h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  font-weight: 560;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.dc-sec h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.dc-sec p,
.dc-sec li {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-2);
  text-wrap: pretty;
}
.dc-sec p + p,
.dc-sec ul + p,
.dc-sec ol + p,
.dc-sec div + p {
  margin-top: 16px;
}
.dc-sec strong {
  color: var(--text);
  font-weight: 600;
}
.dc-sec a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border-2);
  text-underline-offset: 4px;
  transition: text-decoration-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .dc-sec a:hover {
    text-decoration-color: currentColor;
  }
}

.dc-sec ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.dc-sec ul > li {
  position: relative;
  padding-left: 28px;
}
.dc-sec ul > li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 4px;
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: var(--border-2);
}

.dc-answer {
  margin-bottom: clamp(48px, 6vw, 80px);
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}
.dc-sec.dc-answer h2 {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--icon-red);
}
html[lang="ja"] .dc-sec.dc-answer h2 {
  letter-spacing: 0;
}
.dc-answer p {
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.5;
  color: var(--text);
}

.dc-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: dc-step;
}
.dc-steps > li {
  position: relative;
  padding: 0 0 28px 64px;
  counter-increment: dc-step;
}
.dc-steps > li::before {
  content: counter(dc-step);
  position: absolute;
  top: -4px;
  left: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  background: var(--bg);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.dc-steps > li:first-child::before {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}
.dc-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 0;
  left: 20px;
  width: 1px;
  background: var(--border);
}
.dc-steps > li:last-child {
  padding-bottom: 0;
}

.dc-table {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.dc-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.dc-table th,
.dc-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}
.dc-table thead th {
  background: var(--bg-2);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
}
.dc-table tbody tr:last-child > * {
  border-bottom: 0;
}
.dc-table td:first-child {
  font-weight: 600;
  color: var(--text);
}
.dc-table td {
  color: var(--text-2);
}
.dc-table td.dc-free {
  color: var(--text-3);
}

.dc-pro {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--pro-tint);
  color: var(--pro-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
}

.dc-limits ul {
  gap: 0;
  padding: 8px 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-2);
}
.dc-limits ul > li {
  padding: 14px 0 14px 32px;
  font-size: 16px;
}
.dc-limits ul > li + li {
  border-top: 1px solid var(--border);
}
.dc-limits ul > li::before,
.dc-checks ul > li::before {
  top: calc(14px + 0.3em);
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 0;
  background: var(--text-3);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M4.5 4.5l7 7M11.5 4.5l-7 7'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M4.5 4.5l7 7M11.5 4.5l-7 7'/></svg>") center / contain no-repeat;
}

.dc-related ul {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.dc-related ul > li {
  padding: 0;
}
.dc-related ul > li::before {
  display: none;
}
.dc-sec.dc-related a {
  height: 100%;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition:
    border-color 200ms ease,
    transform 160ms var(--ease-out);
}
.dc-sec.dc-related a:active {
  transform: scale(0.98);
}
.dc-arrow {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .dc-sec.dc-related a:hover {
    border-color: var(--border-2);
  }
  .dc-sec.dc-related a:hover .dc-arrow {
    transform: translateX(3px);
  }
}

.dc-sec .dc-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.dc-facts > li {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.dc-facts > li::before {
  display: none;
}
.dc-facts > li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.dc-fact-k,
.dc-def-k {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
html[lang="ja"] .dc-fact-k,
html[lang="ja"] .dc-def-k {
  letter-spacing: 0;
}
.dc-sec .dc-facts p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}

.dc-sec .dc-products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.dc-product {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: color-mix(in srgb, var(--cta) 5%, var(--surface));
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dc-product.is-loop {
  background: color-mix(in srgb, var(--loop-cta) 7%, var(--surface));
}
.dc-sec .dc-products > li {
  padding: 24px;
}
.dc-products > li::before {
  display: none;
}
.dc-product h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.dc-sec .dc-product h3 a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.dc-product h3 img {
  flex: none;
}
.dc-product h3 .dc-arrow {
  margin-left: auto;
}
@media (hover: hover) and (pointer: fine) {
  .dc-product h3 a:hover .dc-arrow {
    transform: translateX(3px);
  }
}
.dc-sec .dc-product p {
  font-size: 16px;
  line-height: 1.55;
}
.dc-sec .dc-product-meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
}
.dc-product-meta span {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

.dc-sec .dc-defs {
  gap: 0;
  border-top: 1px solid var(--border);
}
.dc-sec .dc-defs > li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 4px 24px;
}
.dc-defs > li::before {
  display: none;
}
.dc-defs .dc-def-k {
  margin: 4px 0 0;
}
.dc-sec .dc-defs p {
  font-size: 16px;
  line-height: 1.55;
}

.dc-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.dc-plan {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}
.dc-plan h3 {
  margin-bottom: 16px;
}
.dc-plan h3 .dc-pro {
  font-size: 14px;
  padding: 3px 12px;
}
.dc-sec .dc-plan li {
  font-size: 14px;
  line-height: 1.55;
}
.dc-plan ul > li::before {
  top: 0.32em;
  left: 0;
  width: 14px;
  height: 14px;
  background: var(--ok);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3.5 8.5l3 3 6-7'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3.5 8.5l3 3 6-7'/></svg>") center / contain no-repeat;
}
.dc-plan ul > li {
  padding-left: 24px;
}

.dc-pro-card {
  padding: clamp(24px, 3.4vw, 36px);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.dc-checks ul > li {
  padding-left: 30px;
}
.dc-checks ul > li::before {
  top: 0.3em;
  background: var(--ok);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3.5 8.5l3 3 6-7'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3.5 8.5l3 3 6-7'/></svg>") center / contain no-repeat;
}

.dc-links ul {
  gap: 0;
  border-top: 1px solid var(--border);
}
.dc-links ul > li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}
.dc-links ul > li::before {
  display: none;
}

.dc-cta {
  padding-top: clamp(24px, 4vw, 48px);
}
.dc-feed-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
}
.dc-feed-name {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1;
  font-weight: 560;
  letter-spacing: -0.04em;
}
html[lang="ja"] .dc-feed-name {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.dc-feed-name img {
  flex: none;
  width: 0.8em;
  height: 0.8em;
}
.dc-feed-desc {
  max-width: 36ch;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-2);
  text-wrap: pretty;
}
.dc-feed-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.dc-feed-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .dc-feed-more:hover .dc-arrow {
    transform: translateX(3px);
  }
}
.dc-feed-more .dc-arrow {
  width: 16px;
  height: 16px;
}
.dc-feed-viz {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.dc-feed-viz span {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  background: var(--well);
}
.dc-feed-viz img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.dc-feed-viz .is-short {
  animation: dc-short 5s var(--ease-out) infinite;
}
.dc-feed-viz .is-short ~ .is-short {
  animation-delay: 160ms;
}
@keyframes dc-short {
  0%,
  28% {
    opacity: 1;
    transform: none;
    box-shadow: 0 0 0 0 transparent;
  }
  36%,
  46% {
    opacity: 1;
    transform: none;
    box-shadow: 0 0 0 2px var(--cta);
  }
  58%,
  88% {
    opacity: 0;
    transform: scale(0.9);
    box-shadow: 0 0 0 2px var(--cta);
  }
  100% {
    opacity: 1;
    transform: none;
    box-shadow: 0 0 0 0 transparent;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dc-feed-viz .is-short {
    animation: none;
  }
}

@media (max-width: 960px) {
  .dc-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .dc-toc {
    top: var(--header-h);
    padding-left: var(--gutter);
    border-left: 0;
    gap: 4px;
  }
  .dc-toc a {
    padding: 6px 12px;
    border-radius: 8px;
  }
  .dc-toc a::before {
    display: none;
  }
  .dc-toc a.is-active {
    background: var(--well);
  }
  .dc-feed-card {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .dc-sec p,
  .dc-sec li {
    font-size: 16px;
  }
  .dc-sec .dc-facts,
  .dc-sec .dc-products,
  .dc-plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .dc-sec .dc-defs > li {
    grid-template-columns: minmax(0, 1fr);
  }
  .dc-steps > li {
    padding-left: 56px;
  }
  .dc-table table {
    min-width: 560px;
  }
}

.dc-legal {
  padding-bottom: clamp(72px, 10vw, 120px);
}
.dc-legal .legal-head {
  padding-block: clamp(40px, 7vw, 96px) clamp(40px, 5vw, 72px);
  gap: 0;
}
.dc-legal .legal-head .h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
html[lang="ja"] .dc-legal .legal-head .h1,
html[lang="ja"] .dc-legal .legal-section h2 {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.dc-legal .legal-updated {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.dc-legal .legal-note {
  margin-top: 8px;
}

.dc-legal .with-toc {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  padding-bottom: 0;
}
.dc-legal .toc {
  top: calc(var(--header-h) + 32px);
  margin-left: 0;
  padding-left: 16px;
  border-left: 1px solid var(--border);
  gap: 0;
}
.dc-legal .toc a {
  position: relative;
  padding: 7px 0 7px 4px;
  border-radius: 0;
  line-height: 1.35;
  transition: color 160ms ease;
}
.dc-legal .toc a::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: -17px;
  width: 2px;
  border-radius: 1px;
  background: var(--text);
  opacity: 0;
  transform: scaleY(0.4);
  transition:
    opacity 200ms var(--ease-out),
    transform 200ms var(--ease-out);
}
.dc-legal .toc a:hover,
.dc-legal .toc a.is-active {
  background: transparent;
}
.dc-legal .toc a.is-active::before {
  opacity: 1;
  transform: none;
}

.dc-legal .legal-doc {
  gap: 0;
  max-width: 760px;
}
.dc-legal .legal-section {
  gap: 0;
  padding-bottom: clamp(48px, 6vw, 72px);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.dc-legal .legal-section h2 {
  margin-bottom: 20px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.dc-legal .legal-section h3 {
  margin: 12px 0 8px;
  font-size: 18px;
}
.dc-legal .legal-section p,
.dc-legal .legal-section li {
  max-width: none;
  font-size: 17px;
  line-height: 1.65;
}
.dc-legal .legal-section p + p,
.dc-legal .legal-section p + ul,
.dc-legal .legal-section ul + p,
.dc-legal .legal-section p + ol,
.dc-legal .legal-section ol + p,
.dc-legal .legal-section p + .table-scroll,
.dc-legal .legal-section .table-scroll + p {
  margin-top: 16px;
}
.dc-legal .legal-section a {
  text-decoration-color: var(--border-2);
  text-underline-offset: 4px;
  transition: text-decoration-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .dc-legal .legal-section a:hover {
    text-decoration-color: currentColor;
  }
}
.dc-legal .legal-section ul {
  padding: 0;
  list-style: none;
  gap: 10px;
}
.dc-legal .legal-section ul > li {
  position: relative;
  padding-left: 28px;
}
.dc-legal .legal-section ul > li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 4px;
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: var(--border-2);
}
.dc-legal .legal-section code {
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-2);
  font-size: 0.85em;
}

.dc-legal .legal-doc > .legal-section:first-child {
  margin-bottom: clamp(48px, 6vw, 72px);
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}
.dc-legal .legal-doc > .legal-section:first-child h2 {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--icon-red);
}
.dc-legal .legal-doc > .legal-section:first-child p {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--text);
}

.dc-legal .table-scroll {
  border: 1px solid var(--border);
  border-radius: 16px;
}
.dc-legal .legal-table {
  font-size: 15px;
}
.dc-legal .legal-table th,
.dc-legal .legal-table td {
  padding: 14px 16px;
  line-height: 1.5;
}
.dc-legal .legal-table thead th {
  background: var(--bg-2);
  font-size: 14px;
  color: var(--text-3);
}
.dc-legal .legal-table tr:last-child > * {
  border-bottom: 0;
}

@media (max-width: 960px) {
  .dc-legal .with-toc {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .dc-legal .toc {
    top: var(--header-h);
    padding-left: var(--gutter);
    border-left: 0;
    gap: 4px;
  }
  .dc-legal .toc a {
    padding: 6px 12px;
    border-radius: 8px;
  }
  .dc-legal .toc a::before {
    display: none;
  }
  .dc-legal .toc a.is-active {
    background: var(--well);
  }
}
@media (max-width: 760px) {
  .dc-legal .legal-section p,
  .dc-legal .legal-section li {
    font-size: 16px;
  }
}
