@charset "UTF-8";

#page {
  margin: 100px 0 160px;
}
#page section section {
  margin: 40px 0 100px;
}
#page h2 {
  margin: 0 0 32px;
  padding-bottom: 16px;
  border-bottom: solid 3px #F0F0F0;
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  color: #333;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}
#page h2 span {
  color: #ea5703;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.7;
}
#page h3 {
  margin: 0 0 28px;
  font-size: 2.4rem;
  font-weight: bold;
  letter-spacing: 0.02em;
}
#page h4 {
  margin: 10px 0;
  font-size: 2.0rem;
  font-weight: bold;
  color: #d44f02;
}
#page h5 {
  font-size: 1.8rem;
  color: #646464;
  margin: 20px 0 16px;
  border-left: solid 2px #646464;
  line-height: 1.2;
  background: #f1f1f1;
  padding: 8px 8px;
}
#page h6 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}
#page p {
  margin: 1.6rem 0;
}
#page img {
  max-width: 100%;
}
#page .lh2 {
  line-height: 2.0;
}
#page ul {
  padding-left: 25px;
  list-style: disc;
}
#page ol{
padding-left:25px;
list-style:decimal;
}
@media screen and (max-width: 1000px) {
  /*
  #subtitle {
    height: 200px;
  }
  #subtitle::before {
    background-size: cover;
    background-position: top center;
  }
  #subtitle h1 {
    font-size: 1.8rem;
  }
  #subtitle h1 span {
    font-size: 4.2rem;
  }
  */
  #page {
    margin: 60px 0 80px;
  }
  #page section section {
    margin: 40px 0 60px;
  }
  #page h2 {
    margin-bottom: 28px;
    font-size: 2.4rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    /*justify-content: space-between;*/
    white-space: nowrap;
  }
  #page h2 span {
    font-size: 1.3rem;
    white-space: normal;
    text-align: right;
    line-height: 1.5;
  }
  #page h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
  }
  #page h4 {
    margin-bottom: 16px;
    font-size: 1.6rem;
  }
  #page h5 {
    padding: 5px;
    margin-bottom: 10px;
    font-size: 1.5rem;
  }
  #page img {
    width: 100%;
  }
}