@charset "utf-8";

section {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin-top: 50px;
  margin-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
  align-items: flex-start;
}

section h1 {
  font-family: "ZenkakuGothicNew-Regular";
}

.section-inner {
  height: 100%;
  width: 65%;
}

.section-text {
  margin-bottom: 25px;
  border-bottom: double 4px var(--maincolor);
}

section img {
  width: 30%;
}

.reverse {
  flex-direction: row-reverse;
  padding-right:0;
}

.reverse .section-inner {
  padding-right:0;
  padding-left: 30px;
}



@media (max-width: 1280px) {

  main {
    margin-top: 50px;
  }

  section {
    display: block;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .section-inner {
    width: 100%;
  }
    
  section img {
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
  }

  .section-text {
    font-size: 14px;
    text-align: center;
  }

  .section-inner p {
    font-size: 12px;
  }
  
  .reverse {
    flex-direction: row;
  }
  
  .reverse .section-inner {
    padding-left: 0px;
  }
  

}