body {
  background: #f8fafc; /* ほんのりグレー */
  color: #1e293b;
}
.main {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.section h2 {
  font-size: 22px;
  font-weight: 800;
  position: relative;
  padding-bottom: 10px;
}
.section {
  scroll-margin-top: 110px;
}
.section h2::after {
  content: "";
  width: auto;
  height: 4px;
  display: block;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(to right,#45a7ff,#ff5c93);
}
.toc {
  background: #f8fbff;
  padding: 20px;
  border-radius: 16px;
  list-style: none;
}
.section p a,
.section li a {
  color: #2563eb;
  font-weight: 600;
}
.section p a,
.section li a:hover {
  text-decoration: underline;
}
.section h2{
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: none;
}
.step-image {
  text-align: center;
  margin: 20px 0 40px;
}

.step-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.summary-illust {
  position: absolute;
  right: 60px;
  bottom: 0;
  width: 90px;
  opacity: 0.9;
  filter: drop-shadow(0 8px 15px rgba(0,0,0,0.1));
}
#summary {
  position: relative;
  padding-bottom: 120px;
}
h1 {
  font-size: 25px;
}
@media (max-width: 768px) {
  h1 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 15px;
  }
.main {
  width:100%;
  padding: 10px;
}
 p{
  line-height: 1.8;
 }
 .summary-illust {
  display: none;
}

#summary {
  padding-bottom: 20px;
}
.section {
  scroll-margin-top: 120px;
}
}