
  :root {
    --bg: #f7f3ef;
    --card: #fffdf9;
    --ink: #3a3228;
    --muted: #756657;
    --accent: #8b5e3c;
    --accent2: #c4784a;
    --accent-soft: #efe2d4;
    --line: #e5d9cc;
    --shadow: 0 8px 28px rgba(58, 50, 40, 0.08);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body {
    height: 100%;
    background: var(--bg);
    color: var(--ink);
    font-family: "Zen Maru Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    -webkit-font-smoothing: antialiased;
  }
  .deck {
    height: 100dvh;
    width: 100%;
    position: relative;
    overflow: hidden;
  }
  .slide {
    display: none;
    position: absolute;
    inset: 0;
    padding: clamp(1.2rem, 4vw, 3rem) clamp(1.2rem, 5vw, 4rem);
    padding-bottom: clamp(3.5rem, 8vw, 5rem);
    flex-direction: column;
    justify-content: center;
    max-width: 960px;
    margin: 0 auto;
    left: 0; right: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .slide.active { display: flex; animation: fadeIn .28s ease; }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }
  .eyebrow {
    font-size: clamp(0.85rem, 2.2vw, 1rem);
    color: var(--accent2);
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
  }
  h1 {
    font-size: clamp(1.85rem, 5.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 1rem;
  }
  h2 {
    font-size: clamp(1.45rem, 4.2vw, 2.15rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.1rem;
  }
  .lead {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    line-height: 1.75;
    max-width: 36em;
  }
  .muted { color: var(--muted); }
  .small {
    font-size: clamp(0.85rem, 2.2vw, 1rem);
    color: var(--muted);
    line-height: 1.6;
    margin-top: 1rem;
  }
  ul.points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.4rem;
  }
  ul.points li {
    position: relative;
    font-size: clamp(1.05rem, 2.8vw, 1.3rem);
    line-height: 1.55;
    padding: 0.75rem 1rem 0.75rem 2.15rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: block;
  }
  ul.points li::before {
    content: "";
    position: absolute;
    left: 0.95rem;
    top: 1.15em;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--accent2);
    transform: translateY(-50%);
  }
  .feature-card {
    background: var(--accent-soft);
    border: 1px solid var(--line);
    border-left: 5px solid var(--accent2);
    border-radius: 14px;
    padding: 0.85rem 1.1rem;
    box-shadow: var(--shadow);
    margin-top: 0.5rem;
  }
  .feature-card .label {
    font-size: clamp(1.05rem, 2.6vw, 1.2rem);
    font-weight: 700;
    color: var(--accent2);
    margin-bottom: 0.35rem;
  }
  .feature-card p {
    font-size: clamp(0.98rem, 2.5vw, 1.15rem);
    line-height: 1.55;
  }
  .feature-card p + p {
    margin-top: 0.3rem;
    color: var(--muted);
    font-size: clamp(0.9rem, 2.3vw, 1.05rem);
  }
  .pin-stack {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.35rem;
  }
  .pin-stack ul.points {
    margin-top: 0;
    gap: 0.65rem;
  }
  @media (max-height: 820px) {
    .slide[data-i="7"] h2 {
      font-size: clamp(1.25rem, 3.5vw, 1.85rem);
      margin-bottom: 0.6rem;
    }
    .slide[data-i="7"] .pin-stack { gap: 0.5rem; }
    .slide[data-i="7"] ul.points li {
      padding-top: 0.55rem;
      padding-bottom: 0.55rem;
      font-size: clamp(0.95rem, 2.4vw, 1.15rem);
    }
    .slide[data-i="7"] .feature-card { padding: 0.65rem 0.95rem; }
    .slide[data-i="7"] .feature-card p { font-size: clamp(0.9rem, 2.2vw, 1.05rem); line-height: 1.45; }
  }
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 0.85rem;
    margin-top: 0.6rem;
  }
  .cards.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  @media (max-width: 520px) { .cards.grid2 { grid-template-columns: 1fr; } }
  .card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow);
  }
  .card strong {
    display: block;
    font-size: clamp(1.05rem, 2.6vw, 1.2rem);
    margin-bottom: 0.35rem;
    color: var(--accent);
  }
  .card p {
    font-size: clamp(0.95rem, 2.4vw, 1.1rem);
    line-height: 1.55;
  }
  .callout {
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    background: var(--accent-soft);
    border-radius: 14px;
    font-size: clamp(1rem, 2.6vw, 1.2rem);
    line-height: 1.6;
    border-left: 5px solid var(--accent2);
  }
  .metaphor {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }
  .metaphor .box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.1rem 1.2rem;
    box-shadow: var(--shadow);
    font-size: clamp(1.05rem, 2.8vw, 1.3rem);
    line-height: 1.6;
  }
  .metaphor .box .label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent2);
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
  }
  .title-slide .ornament {
    width: 3.5rem;
    height: 0.35rem;
    background: var(--accent2);
    border-radius: 999px;
    margin: 1.2rem 0 1.4rem;
  }
  .title-slide .sub {
    font-size: clamp(1.05rem, 2.8vw, 1.25rem);
    color: var(--muted);
    line-height: 1.7;
  }
  .end-mark {
    margin-top: 1.5rem;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--accent2);
    font-weight: 700;
  }
  .nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(247, 243, 239, 0.92);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    z-index: 20;
  }
  .nav button {
    appearance: none;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--ink);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    min-width: 5.5rem;
  }
  .nav button:disabled { opacity: 0.35; cursor: default; }
  .nav button.primary {
    background: var(--accent2);
    color: #fff;
    border-color: var(--accent2);
  }
  .progress {
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 500;
  }
  .hint {
    position: fixed;
    top: 0.75rem;
    right: 1rem;
    font-size: 0.75rem;
    color: var(--muted);
    z-index: 15;
    opacity: 0.8;
  }
  @media (max-width: 520px) {
    .hint { display: none; }
  }
.home-link{display:block;color:inherit;font-size:.75rem;text-decoration:underline;margin-top:.2rem}a:focus-visible{outline:3px solid #5a8f6a;outline-offset:3px}

.mb-06 { margin-bottom: 0.6rem; }
