@charset "UTF-8";

h2 {
    margin-top: 10px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
  }
main > div:first-of-type {
    width: 30px;
    height: 1.5px;
    margin-top: 3px;
    background-color: #746800;
}
main > div:nth-of-type(2) {
  width: 90vw;
  padding-top: 8px;
}
main>div:nth-of-type(2) p {
  text-align: left;
  margin-top: 5px;
  font-size: 0.8rem;
}
.border{
  width: 90vw;
  height: 1px;
  margin-top: 10px;
  background-color: #746800;
}
.news_text > div:last-of-type {
  padding-bottom: 100px;
}
/* 960px以上に適用されるCSS（PC用） */
/* display:inline と競合 */
@media screen and (min-width: 960px) {
  h2 {
    margin-top: 10px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
  }

  main>div:first-of-type {
    width: 30px;
    height: 1.5px;
    margin-top: 3px;
    background-color: #746800;
  }

  main>div:nth-of-type(2) {
    width: 90vw;
    padding-top: 8px;
  }

  main>div:nth-of-type(2) p {
    text-align: left;
    margin-top: 5px;
    font-size: 1.2rem;
  }

  .border {
    width: 90vw;
    height: 1px;
    margin-top: 10px;
    background-color: #746800;
  }
  .news_text{
    margin-bottom: 500px;
  }
  footer{
    position: fixed;
    bottom: 0;
  }
}
