/* 闇タイプ診断：補助ページ（#about / #types） */
.dtp {
  --sans: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--ink, #231b36);
  font-family: var(--serif);
  background: radial-gradient(ellipse at 50% 0%, #fdf9ff 0, #f3ebf9 45%, #e6d9f1 100%) fixed;
}
html[data-dt-view="page"] body { background: #efe5f6; }
.dtp a { color: inherit; }
.dtp-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; padding: 14px clamp(16px, 4vw, 56px); background: #f9f4fcd9; backdrop-filter: blur(12px); border-bottom: 1px solid #77618f25; }
.dtp-brand { display: inline-flex; align-items: center; gap: 12px; font: 600 15px/1 var(--sans); letter-spacing: .3em; text-decoration: none; }
.dtp-brand-star { width: 30px; height: 30px; }
.dtp-nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 36px); font-weight: 700; letter-spacing: .08em; font-size: .92rem; }
.dtp-nav a { text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.dtp-nav a[aria-current="page"] { border-color: #7d5aa6; }
.dtp-nav a.dtp-nav-cta { padding: 8px 14px; border: 1px solid #3a2a52; border-radius: 4px; background: #3a2a52; color: #fff; }
.dtp-main { flex: 1; width: min(100% - 32px, 1080px); margin: 0 auto; padding: clamp(40px, 8vh, 90px) 0 clamp(48px, 8vh, 96px); }
.dtp-hero { text-align: center; margin-bottom: clamp(28px, 5vh, 52px); }
.dtp-kicker { margin: 0 0 12px; font: 600 .78rem/1 var(--sans); letter-spacing: .4em; color: #7d5aa6; }
.dtp-hero h1 { margin: 0 0 18px; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: .12em; font-weight: 800; }
.dtp-hero h1:focus { outline: none; }
.dtp-lead { margin: 0 auto; max-width: 40em; font-size: clamp(.95rem, 1.6vw, 1.1rem); line-height: 2; font-weight: 700; }
.dtp-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 720px; margin: 0 auto clamp(36px, 6vh, 64px); padding: 0; list-style: none; }
.dtp-facts li { display: flex; align-items: baseline; justify-content: center; gap: 6px; padding: 18px 8px; background: #fffb; border: 1px solid #d9c8e9; border-radius: 4px; font-weight: 700; flex-wrap: wrap; }
.dtp-facts b { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; }
.dtp-facts small { display: block; width: 100%; text-align: center; font-size: .72rem; color: #5a4870; }
.dtp-block { max-width: 760px; margin: 0 auto clamp(28px, 5vh, 48px); }
.dtp-block h2 { margin: 0 0 14px; font-size: clamp(1.25rem, 2.6vw, 1.6rem); letter-spacing: .1em; display: flex; align-items: center; gap: 12px; }
.dtp-block h2::before { content: ""; width: 26px; height: 1px; background: #7d5aa6; }
.dtp-block p { margin: 0 0 10px; line-height: 2; }
.dtp-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.dtp-steps li { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 16px 18px; background: #fffb; border: 1px solid #e0d2ec; border-radius: 4px; line-height: 1.8; }
.dtp-steps li::before { content: "0" counter(step); grid-row: span 2; font: 600 1.4rem/1.3 var(--sans); color: #8a67b2; }
.dtp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(24px, 5vh, 48px); }
.dtp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; min-width: 210px; padding: 10px 24px; border: 1px solid #3a2a52; border-radius: 4px; font-weight: 700; letter-spacing: .14em; text-decoration: none; background: #fff8; transition: background .25s, transform .25s; }
.dtp-btn.is-primary { background: #3a2a52; color: #fff !important; }
@media (hover: hover) { .dtp-btn:hover { transform: translateY(-2px); } .dtp-btn:not(.is-primary):hover { background: #fff; } }
.dtp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: clamp(12px, 2vw, 22px); margin: 0; padding: 0; list-style: none; }
.dtp-card { display: flex; flex-direction: column; height: 100%; padding: 12px 12px 18px; background: #fffc; border: 1px solid #ddcde9; border-radius: 6px; text-decoration: none; transition: transform .35s cubic-bezier(.2, .9, .3, 1.2), box-shadow .35s, border-color .3s; }
.dtp-card-art { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 12px; overflow: hidden; border-radius: 4px; background: #f7f2f6; }
.dtp-card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dtp-card-no { font: 600 .7rem/1 var(--sans); letter-spacing: .28em; color: #7d5aa6; margin-bottom: 6px; }
.dtp-card-name { font-size: 1.25rem; letter-spacing: .08em; margin-bottom: 6px; }
.dtp-card-catch { font-size: .84rem; line-height: 1.7; color: #4b3a63; }
@media (hover: hover) {
  a.dtp-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px #3b215e22; border-color: #b99ad8; }
  a.dtp-card:hover img { transform: scale(1.05); }
}
a.dtp-card:focus-visible { outline: 2px solid #9460d1; outline-offset: 3px; }
.dtp-secret { max-width: none; margin-top: clamp(40px, 7vh, 72px); }
.dtp-grid.is-secret { margin-top: 18px; }
.dtp-card.is-locked { background: linear-gradient(160deg, #3a2a52, #1f1430); color: #efe6fb; border-color: #4d3a6a; }
.dtp-card.is-locked .dtp-card-art { background: radial-gradient(circle, #5b3f86 0, #241736 70%); }
.dtp-card.is-locked .dtp-card-no, .dtp-card.is-locked .dtp-card-catch { color: #c9b2e6; }
.dtp-lock { width: 34%; height: 34%; color: #e7d3ff; filter: drop-shadow(0 0 14px #b57cff); }
.dtp-footer { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 26px 16px; font: 600 .8rem/1 var(--sans); letter-spacing: .3em; color: #5a4870; }
.dtp-footer small { letter-spacing: .1em; }
.dtp-foot-star { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .dtp-bar { padding-block: 10px; }
  .dtp-nav { width: 100%; justify-content: space-between; font-size: .84rem; }
  .dtp-facts { gap: 6px; }
  .dtp-facts li { padding: 12px 4px; }
  .dtp-grid { grid-template-columns: repeat(2, 1fr); }
  .dtp-card { padding: 8px 8px 14px; }
  .dtp-card-name { font-size: 1.02rem; }
  .dtp-card-catch { font-size: .76rem; }
  .dtp-btn { width: 100%; }
}
/* 日本語の文節で改行（対応ブラウザのみ） */
.dtp-lead, .dtp-block p, .dtp-steps span { line-break: strict; word-break: auto-phrase; text-wrap: pretty; }
/* プライバシーと保存データ（#privacy）・フッターのリンク */
.dtp-footer { flex-wrap: wrap; }
.dtp-foot-link { flex-basis: 100%; margin-top: 10px; text-align: center; font: 500 .78rem/1.6 var(--serif, serif); letter-spacing: .08em; color: #5a4870; text-decoration: underline; text-underline-offset: 4px; }
.dtp-inline-link { color: #5b2f8f; text-decoration: underline; text-underline-offset: 4px; }
.dtp-actions.is-left { justify-content: flex-start; margin-top: 16px; }
.dtp-status { min-height: 1.8em; margin: 12px 0 0; font-size: .9rem; color: #5b2f8f; }

.dtp-nav { flex-wrap: wrap; }

/* XREA 広告欄（画面下端）の上までを1画面として扱う */
.dtp { min-height: calc(100svh - var(--ad-h, 0px)); }
