﻿.hd {
  --hd-ink: #2f2933;
  --hd-muted: #756b76;
  --hd-line: rgba(126, 99, 120, 0.22);
  --hd-rose: #ad5c75;
  --hd-gold: #b98942;
  --hd-sky: #6f92a8;
  --hd-paper: #fffaf7;
  --hd-wash: #f7efe9;
  color: var(--hd-ink);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  margin: 36px auto;
  max-width: 760px;
}

.hd * {
  box-sizing: border-box;
}

.hd__inner {
  background:
    linear-gradient(135deg, rgba(255, 250, 247, 0.97), rgba(244, 248, 247, 0.96)),
    radial-gradient(circle at 20% 20%, rgba(185, 137, 66, 0.14), transparent 36%);
  border: 1px solid var(--hd-line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(90, 70, 82, 0.13);
  overflow: hidden;
  padding: clamp(24px, 5vw, 48px);
}

.hd__eyebrow {
  color: var(--hd-gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hd h2,
.hd h3,
.hd p {
  margin-top: 0;
}

.hd h2 {
  color: var(--hd-ink);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 18px;
}

.hd h3 {
  font-size: 1.12rem;
  line-height: 1.7;
}

.hd p {
  color: var(--hd-muted);
  font-size: 1rem;
  line-height: 2.05;
}

.hd__primary,
.hd__secondary,
.hd__choice {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.hd__primary,
.hd__secondary {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  text-decoration: none;
}

.hd__primary {
  background: linear-gradient(135deg, var(--hd-rose), #8b6f9e);
  color: #fff;
  margin-top: 8px;
}

.hd__secondary {
  background: #fff;
  border: 1px solid var(--hd-line);
  color: var(--hd-ink);
}

.hd__progress {
  color: var(--hd-gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.hd__progressbar {
  background: rgba(117, 107, 118, 0.13);
  border-radius: 999px;
  height: 7px;
  margin-bottom: 22px;
  overflow: hidden;
}

.hd__progressbar span {
  background: linear-gradient(90deg, var(--hd-gold), var(--hd-rose));
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 180ms ease;
  width: 0;
}

.hd__intro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 8px;
}

.hd__intro-points span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--hd-line);
  border-radius: 999px;
  color: var(--hd-ink);
  font-size: 0.88rem;
  padding: 7px 12px;
}

.hd__choices {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.hd__choice {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--hd-line);
  border-radius: 8px;
  color: var(--hd-ink);
  display: grid;
  gap: 12px;
  grid-template-columns: 38px 1fr;
  line-height: 1.85;
  padding: 16px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  width: 100%;
}

.hd__choice:hover,
.hd__choice:focus {
  border-color: rgba(173, 92, 117, 0.55);
  box-shadow: 0 10px 24px rgba(90, 70, 82, 0.12);
  outline: 0;
  transform: translateY(-1px);
}

.hd__choice span {
  align-items: center;
  background: var(--hd-wash);
  border-radius: 50%;
  color: var(--hd-rose);
  display: inline-flex;
  font-family: Georgia, serif;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.hd__choice strong {
  font-weight: 500;
}

.hd__section {
  border-top: 1px solid var(--hd-line);
  margin-top: 26px;
  padding-top: 24px;
}

.hd__section h3 {
  color: var(--hd-rose);
  font-size: 1rem;
  margin-bottom: 10px;
}

.hd__score {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--hd-line);
  border-radius: 8px;
  margin: 20px 0 26px;
  padding: 18px;
}

.hd__score h3 {
  color: var(--hd-ink);
  font-size: 1rem;
  margin-bottom: 14px;
}

.hd__score-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 88px 1fr 24px;
  margin-top: 10px;
}

.hd__score-row span,
.hd__score-row b {
  color: var(--hd-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hd__score-row div {
  background: rgba(117, 107, 118, 0.13);
  border-radius: 999px;
  height: 9px;
  overflow: hidden;
}

.hd__score-row i {
  background: linear-gradient(90deg, var(--hd-sky), var(--hd-rose));
  border-radius: inherit;
  display: block;
  height: 100%;
}

.hd__score-row--win span,
.hd__score-row--win b {
  color: var(--hd-rose);
}

.hd__score-row--win i {
  background: linear-gradient(90deg, var(--hd-gold), var(--hd-rose));
}

.hd__score-caption {
  color: var(--hd-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

.hd__type-card {
  background:
    linear-gradient(135deg, rgba(255, 248, 236, 0.96), rgba(247, 239, 233, 0.9)),
    radial-gradient(circle at 80% 10%, rgba(173, 92, 117, 0.18), transparent 50%);
  border: 1px solid rgba(190, 145, 91, 0.38);
  border-radius: 10px;
  margin-bottom: 22px;
  padding: 22px 22px 18px;
  text-align: center;
}

.hd__type-number {
  color: var(--hd-gold);
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}

.hd__type-card h2 {
  margin-bottom: 8px;
}

.hd__type-tagline {
  color: var(--hd-rose);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

.hd__opening {
  border-top: 0;
  margin-top: 6px;
  padding-top: 0;
}

.hd__opening p {
  color: var(--hd-ink);
  font-size: 1.02rem;
  line-height: 2.05;
}

.hd__choices--binary {
  grid-template-columns: 1fr;
}

.hd__choices--binary .hd__choice span {
  background: linear-gradient(135deg, var(--hd-wash), #efe4ee);
  color: var(--hd-rose);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.hd__lead {
  color: var(--hd-ink);
  font-size: 1.04rem;
  line-height: 2.05;
}

.hd__lead strong {
  color: var(--hd-rose);
  font-weight: 600;
}

.hd__benefits {
  background:
    linear-gradient(135deg, rgba(255, 250, 247, 0.94), rgba(247, 239, 233, 0.86));
  border: 1px solid var(--hd-line);
  border-radius: 10px;
  margin: 22px 0 18px;
  padding: 22px 22px 18px;
}

.hd__benefits h3 {
  color: var(--hd-rose);
  font-size: 1.02rem;
  margin-bottom: 10px;
}

.hd__benefits ol {
  color: var(--hd-ink);
  font-size: 0.96rem;
  line-height: 1.95;
  margin: 0;
  padding-left: 1.4em;
}

.hd__benefits li {
  margin-bottom: 6px;
}

.hd__benefits strong {
  color: var(--hd-rose);
  font-weight: 600;
}

.hd__bridge {
  background:
    linear-gradient(135deg, rgba(255, 248, 236, 0.96), rgba(247, 239, 233, 0.88));
  border: 1px solid rgba(190, 145, 91, 0.32);
  border-radius: 10px;
  margin-top: 26px;
  padding: 22px;
}

.hd__bridge h3 {
  color: var(--hd-gold);
  font-size: 1.04rem;
  margin-bottom: 10px;
}

.hd__bridge p {
  color: var(--hd-ink);
  margin-bottom: 0;
}

.hd__funnel {
  margin-top: 22px;
}

.hd__funnel > h3 {
  color: var(--hd-rose);
  font-size: 1.04rem;
  margin-bottom: 12px;
}

.hd__funnel ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hd__funnel li {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--hd-line);
  border-left: 4px solid var(--hd-rose);
  border-radius: 8px;
  padding: 16px 18px;
}

.hd__funnel strong {
  color: var(--hd-ink);
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.hd__funnel p {
  color: var(--hd-muted);
  font-size: 0.94rem;
  line-height: 1.85;
  margin-bottom: 0;
}

.hd__subtype,
.hd__guidebook {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--hd-line);
  border-radius: 8px;
  margin-top: 24px;
  padding: 18px;
}

.hd__subtype span,
.hd__guidebook span {
  color: var(--hd-gold);
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hd__subtype strong,
.hd__guidebook h3 {
  color: var(--hd-ink);
  display: block;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

.hd__subtype p,
.hd__guidebook p {
  margin-bottom: 0;
}

.hd__guidebook {
  background:
    linear-gradient(135deg, rgba(255, 248, 236, 0.94), rgba(255, 255, 255, 0.76)),
    radial-gradient(circle at 92% 10%, rgba(231, 190, 116, 0.2), rgba(231, 190, 116, 0) 30%);
  border-color: rgba(190, 145, 91, 0.38);
}

.hd__guidebook h3 {
  font-size: 1.12rem;
  margin: 0 0 8px;
}

.hd__download {
  align-items: center;
  background: linear-gradient(135deg, var(--hd-gold), #c58a64);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.5;
  margin-top: 16px;
  min-height: 44px;
  padding: 10px 18px;
  text-decoration: none;
  transition: filter 160ms ease, transform 160ms ease;
}

.hd__download:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.hd__affirmation {
  background: rgba(255, 255, 255, 0.72);
  border-left: 4px solid var(--hd-gold);
  border-radius: 8px;
  margin-top: 28px;
  padding: 20px;
}

.hd__affirmation span {
  color: var(--hd-gold);
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hd__affirmation p {
  color: var(--hd-ink);
  font-size: 1.06rem;
  line-height: 1.9;
  margin-bottom: 0;
}

.hd__next p {
  color: var(--hd-ink);
}

.hd__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hd__line-note {
  color: var(--hd-muted);
  flex: 1 1 100%;
  font-size: 0.9rem;
  line-height: 1.8;
}

.hd__gate {
  max-width: 620px;
}

.hd__line-invite {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed var(--hd-line);
}

.hd__line-invite-lead {
  color: var(--hd-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.hd__line-button {
  align-items: center;
  background: #06c755;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(6, 158, 71, 0.22);
  color: #fff;
  display: inline-flex;
  gap: 14px;
  min-height: 56px;
  padding: 12px 18px 12px 14px;
  text-decoration: none;
  transition: filter 160ms ease, transform 160ms ease;
  width: min(100%, 420px);
}

.hd__line-button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.hd__line-button-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  letter-spacing: 0.06em;
  width: 52px;
}

.hd__line-button-text {
  color: #fff;
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.5;
}

.hd__line-button-text small {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 2px;
}

.hd__gate-form {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.hd__gate-form label {
  color: var(--hd-ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.hd__gate-form input {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--hd-line);
  border-radius: 8px;
  color: var(--hd-ink);
  font: inherit;
  min-height: 48px;
  padding: 11px 14px;
  width: min(100%, 360px);
}

.hd__gate-form input:focus {
  border-color: rgba(173, 92, 117, 0.55);
  box-shadow: 0 0 0 3px rgba(173, 92, 117, 0.12);
  outline: 0;
}

.hd__error {
  color: #9f3d4f !important;
  font-size: 0.92rem !important;
  line-height: 1.7 !important;
  margin-bottom: 0;
}

[hidden] {
  display: none !important;
}

@media (max-width: 560px) {
  .hd {
    margin: 20px auto;
  }

  .hd__inner {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
  }

  .hd__choice {
    grid-template-columns: 32px 1fr;
    padding: 14px;
  }

  .hd__score-row {
    grid-template-columns: 72px 1fr 22px;
  }

  .hd__score-row span {
    font-size: 0.82rem;
  }

  .hd__choice span {
    height: 30px;
    width: 30px;
  }

  .hd__primary,
  .hd__secondary {
    width: 100%;
  }
}


