 .guide-title {
    font-size: 170%;
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
  }
h2 {
  margin-top: 1.8rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

h3 {
  margin-top: 2.2rem;
  margin-bottom: 1.8rem;
  line-height: 1.5;
}

h3 .sub {
  font-size: 0.85em;
  font-weight: normal;
  opacity: 0.9;
  display: block;
  margin-top: 0.2rem;
}

p {
  margin-bottom: 1.4rem;
  line-height: 1.8;
}

ol {
  margin-top: 0.8rem;
  margin-bottom: 2rem;
  padding-left: 1.6rem;
}

ol li {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

details.steps-block p {
  margin-top: 0.2rem;
  margin-bottom: 0.5rem;
}

.portal-screenshot {
  display: block;
  margin-top: 0.6rem;
  margin-bottom: 3.0rem;
  margin-left: 2.2rem;
  width: 90%;
  max-width: 220px;
  border-radius: 0.4rem;
  border: 1px solid #cccccc;
}

/* スマホ向け（柔軟に横並び） */
.screenshot-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.portal-screenshot2 {
  width: 48%;
  margin: 0;
  border-radius: 0.4rem;
  border: 1px solid #cccccc;
}

/* PC向け（左寄せ＋固定幅＋固定間隔） */
@media (min-width: 768px) {
  .screenshot-row {
    display: flex;
    justify-content: flex-start;   /* ← 左寄せ */
    gap: 1.2rem;                    /* ← 間隔を固定 */
  }

  .portal-screenshot2 {
    width: 160px;                   /* ← 固定幅（180pxでもOK） */
    max-width: none;
  }
}

.back-to-top {
    margin-top: 2em;      /* 締めの文章との距離を確保 */
    text-align: left;     /* 左寄せ（自然） */
}

.back-to-top a {
    color: #0066cc;       /* 控えめな青 */
    text-decoration: none;
}

.back-to-top a:hover {
    text-decoration: underline;
}
