*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", Arial, sans-serif;
  background: #F0F4F8;
  color: #2D3748;
  min-height: 100vh;
}

/* Header */
.header {
  background: #1E2D5A;
  color: #fff;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  position: sticky; top: 0; z-index: 100;
}
.header-sub { font-size: 13px; color: #fff; }
.back-btn {
  background: rgba(255,255,255,.12); color: #CADCFC;
  border: 1px solid rgba(255,255,255,.2);
  padding: 6px 14px; border-radius: 6px;
  font-size: 12px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: all .15s;
}
.back-btn:hover { background: rgba(255,255,255,.22); color: #fff; }

/* Layout */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* Guide Header */
.guide-header {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  padding: 28px 32px;
  margin-bottom: 28px;
}
.guide-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  flex-shrink: 0;
}
.guide-header-text h1 {
  font-size: 22px;
  font-weight: 700;
  color: #1E2D5A;
  margin-bottom: 6px;
}
.guide-header-text p {
  font-size: 14px;
  color: #718096;
  line-height: 1.7;
}

/* Section */
.section {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  margin-bottom: 16px;
  overflow: hidden;
}

/* Section header — シンプル可愛いあしらい */
.section-header {
  padding: 18px 24px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #F0F4F8;
}
.step-badge {
  background: #1E2D5A;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
}
.step-badge.note-badge {
  background: #EDF2F7;
  color: #4A5568;
  font-size: 14px;
}
.section-header h2 {
  font-size: 15px;
  font-weight: 700;
  color: #1E2D5A;
}

.section-body { padding: 20px 24px; }

/* Steps */
.step-list { display: flex; flex-direction: column; gap: 0; }
.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #F7FAFC;
}
.step-item:last-child { border-bottom: none; padding-bottom: 0; }
.step-item:first-child { padding-top: 0; }

.step-num {
  background: #F0F4F8;
  color: #1E2D5A;
  font-size: 12px;
  font-weight: 700;
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-content h3 {
  font-size: 13px;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 4px;
}
.step-content p {
  font-size: 13px;
  color: #718096;
  line-height: 1.7;
}

/* Tips grid */
.tip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.tip-card {
  background: #F7FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 16px;
}
.tip-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 6px;
}
.tip-card p {
  font-size: 12px;
  color: #718096;
  line-height: 1.6;
}

/* Note */
.note {
  background: #F0F7FF;
  border-left: 3px solid #1E2D5A;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  font-size: 13px;
  color: #2C5282;
  line-height: 1.7;
  margin-top: 16px;
}
.note strong { font-weight: 700; }

@media (max-width: 600px) {
  .guide-header { flex-direction: column; text-align: center; padding: 24px 20px; }
  .guide-img { width: 80px; height: 80px; }
  .tip-grid { grid-template-columns: 1fr; }
}

/* Section media (screenshot / video) */
.section-media {
  margin-bottom: 20px;
}
.section-img {
  display: block;
  width: 70%;
  height: auto;
  border: 1px solid #E2E8F0;
}
.section-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border: 1px solid #E2E8F0;
}
