/*=============================
          common
=============================*/
@media screen and (max-width: 768px){
  p, li {
      font-size: 17px;
  }
}
@media screen and (max-width: 500px){
p, li {
    font-size: 15px;
}
}
@media screen and (max-width: 400px){
p, li {
    font-size: 13px;
}
}
/*=============================
          company-nav  
=============================*/
.mg-top{
  margin-top:20px;
}
#company-nav{
  margin-top:120px;
  border-bottom:solid 3px #707070;
}
#company-nav h2{
  width: 20%;
  margin:0 auto;
  font-size: 25px;
  text-align:center;
  font-weight: bold;
  border-bottom:#ffae0d;
  position: relative;
}
#company-nav li a{
  font-size: 12px;
  line-height: 45px;
  font-weight: bold;
  border-bottom:#ffae0d;
}

#company-nav__line {
    width: 100%;
    border-bottom: solid 3px #ffae0d;
    position: absolute;
}
#company-nav__list{
  width: 80%;
}
#company-nav__list li{
  margin-left: 35px;
}
#company-nav__wrapper{
  width: 90%;
  margin:0 auto;
}
@media screen and (max-width: 1024px){
  #company-nav h2 {
      width: 30%;
      margin: 0 auto;
      font-size: 25px;
      text-align: center;
      font-weight: bold;
      border-bottom: #ffae0d;
      position: relative;
  }
}
@media screen and (max-width: 500px){
  #company-nav h2 {
      width: 45%;
      margin: 0 auto;
      font-size: 18px;
      text-align: center;
      font-weight: bold;
      border-bottom: #ffae0d;
      position: relative;
  }
  #company-nav {
      margin-top: 100px;
      border-bottom: solid 3px #707070;
  }
}
@media screen and (max-width: 400px){
    .main-content a {
        width: 50%;
    }
}
@media screen and (max-width: 320px){
  #company-nav h2 {
      width: 50%;
      margin: 0 auto;
      font-size: 15px;
      text-align: center;
      font-weight: bold;
      border-bottom: #ffae0d;
      position: relative;
  }
}
/*=============================
  history-top__para
=============================*/
#history-top__para{
  width: 75%;
  margin:0 auto;
  margin-top:60px;
}
@media screen and (max-width: 768px){
  #history-top__para {
      width: 85%;
      margin: 0 auto;
      margin-top: 60px;
  }
}
/*=============================
  section-history__content
=============================*/
#section-history__content{
  width: 80%;
  margin:80px auto;  
}
#section-history__list li{
  border:1px solid #000;
  margin-top:20px;
  padding: 40px;
  /*flex-direction: row;
    justify-content: center;
    align-items: center;*/
}
.History{
  width: 50%;
}
#section-history__list li .History li{
  border:none;
  text-align:left;
  width: 100%;
  margin-top: 20px;
  padding: 0;
}
#section-history__list li .History li span{
 width: 100%;
 margin-bottom: -10px;
 display: block;
 font-size: 20px;
 font-weight: bold;
 border-bottom:solid 2px rgba(0,0,0,0.4); 
}
#section-history__list li {
      border: 1px solid #000;
      margin-top: 20px;
      padding: 40px;
      justify-content: center;
      align-items: center;
  }
#section-history__list li img{
  width: 45%;
  margin-left: 5%;
}
@media screen and (min-width: 1250px){
  #section-history__list li {
      border: 1px solid #000;
      margin-top: 20px;
      padding: 40px;
      justify-content: center;
      align-items: center;
  }
}
@media screen and (max-width: 1024px){
  #section-history__content {
      width: 90%;
      margin: 80px auto;
  }
  #section-history__list li:nth-child(2) {
      flex-direction: row;
      justify-content: center;
      align-items: center;
  }
}
@media screen and (max-width: 768px){
  .History {
      width: 100%;
  }
  #section-history__content {
      width: 85%;
      margin: 80px auto;
  }
  #section-history__list li img {
      width: 100%;
      margin-left: 0;
      margin-top:20px;
  }
}
@media screen and (max-width: 500px){
  #section-history__list li .History li span {
      width: 100%;
      margin-bottom: -10px;
      display: block;
      font-size: 15px;
      font-weight: bold;
      border-bottom: solid 2px rgba(0,0,0,0.4);
  }
  #section-history__list li {
      border: 1px solid #000;
      margin-top: 20px;
      padding: 20px 30px;
  }
  #section-history__content {
      width: 85%;
      margin: 50px auto;
  }
  #history-top__para {
      width: 85%;
      margin: 0 auto;
      margin-top: 30px;
  }
}
@media screen and (max-width: 400px){
  #section-history__list li .History li span {
      width: 100%;
      margin-bottom: -10px;
      display: block;
      font-size: 13px;
      font-weight: bold;
      border-bottom: solid 2px rgba(0,0,0,0.4);
  }
  #section-history__content {
      width: 85%;
      margin: 30px auto;
  }
}