/* Instruction page — content styles (layout/header/footer from pages.css) */

.instruction-content {
  max-width: 780px;
  margin: 0 auto;
}

.instruction-hero .hero-headline {
  font-size: 2.6rem;
  max-width: 720px;
}

.instruction-hero .instruction-grab {
  font-size: 1.05rem;
  color: var(--text-1);
  max-width: 580px;
  margin: 0 0 12px;
  line-height: 1.72;
  font-style: italic;
  text-align: left;
}

.instruction-hero .instruction-grab strong {
  color: var(--text-0);
  font-weight: 600;
}

.instruction-hero-sub {
  margin-bottom: 0;
  font-size: 0.95rem;
  text-align: center;
  padding-inline: clamp(24px, 10%, 160px);
}

.instruction-steps-section {
  padding: 64px 0 48px;
  background: var(--bg-0);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 28px;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-0);
}

.step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue-hi), var(--blue));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(33, 150, 243, 0.28);
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-content h2 {
  font-family: var(--font-h);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-0);
  margin-bottom: 12px;
}

.content-text {
  margin-top: 16px;
}

.content-text p {
  margin-bottom: 14px;
  color: var(--text-1);
  font-size: 0.95rem;
  line-height: 1.72;
}

.content-text ul,
.content-text ol {
  margin: 0 0 16px 20px;
}

.content-text li {
  margin-bottom: 8px;
  color: var(--text-1);
  font-size: 0.95rem;
  line-height: 1.65;
}

.tip {
  background: var(--blue-g1);
  border-left: 3px solid var(--blue);
  padding: 16px 20px;
  border-radius: var(--r-m);
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--text-1);
  line-height: 1.65;
}

.tip strong {
  color: var(--blue-dark);
}

.step-cta-note {
  font-size: 0.92rem;
  color: var(--text-1);
  margin-top: 12px;
  line-height: 1.65;
}

.content-note {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-top: 12px;
}

.instruction-footer-cta {
  text-align: center;
  padding: 56px 0 72px;
  background: linear-gradient(180deg, var(--bg-0) 0%, #f0f6ff 100%);
  border-top: 1px solid var(--border-0);
}

.instruction-close-recap {
  font-size: 0.95rem;
  color: var(--text-1);
  max-width: 520px;
  margin: 0 auto 16px;
  line-height: 1.65;
}

.instruction-footer-cta > p:not(.instruction-close-recap) {
  margin-bottom: 20px;
  color: var(--text-1);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .instruction-hero .hero-headline {
    font-size: 1.9rem;
  }

  .instruction-steps-section {
    padding: 48px 0 32px;
  }

  .step {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
    padding-bottom: 32px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .step-content h2 {
    font-size: 1.15rem;
  }

  .instruction-footer-cta {
    padding: 44px 0 56px;
  }
}
