/* ------------------------------
 width: all
------------------------------ */
main section.s01 {
  width: 1040px;
  margin: -65px auto 0;
  padding-bottom: 180px;
}
main section.s01 .wrapper .datebox {
  border-top: 2px solid #c3c3c3;
  border-bottom: 2px solid #c3c3c3;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 30px 10px 30px 25px;
}
main section.s01 .wrapper .datebox .date {
  width: 50%;
  font-size: 18px;
  font-weight: bold;
}
main section.s01 .wrapper .datebox .cat {
  width: 108px;
  color: #fff;
  font-size: 14px;
  line-height: 14px;
  padding: 6px 0;
  text-align: center;
  background-color: #39ac4a;
}
main section.s01 .wrapper .datebox .cat.cat01 {
  background-color: #39ac4a;
}
main section.s01 .wrapper .datebox .cat.cat02 {
  background-color: #2bd7b8;
}
main section.s01 .wrapper .newsdetail {
  width: 1000px;
  margin: 0 auto;
}
main section.s01 .wrapper .newsdetail h3 {
  font-size: 24px;
  color: #008945;
  margin-top: 50px;
}
main section.s01 .wrapper .newsdetail p {
  font-size: 18px;
  line-height: 300%;
  margin-top: 20px;
}
main section.s01 .wrapper .newsdetail img {
  display: block;
  max-width: 100%;
  height: auto !important;
  margin-top: 50px;
}
main section.s01 .wrapper .btnbox {
  width: 1040px;
  border-top: 2px solid #c3c3c3;
  margin: 50px auto 0;
  padding-top: 50px;
}
main section.s01 .wrapper .btnbox a {
  display: block;
  text-decoration: none;
  background-color: #aaa;
  border-radius: 50px;
  width: 257px;
  font-size: 18px;
  color: #fff;
  line-height: 18px;
  padding: 17px 0;
  margin: 0 auto;
  text-align: center;
}

/* ------------------------------
 width < $width-1
------------------------------ */
@media screen and (max-width: 860px) {
  main section.s01 {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px 100px;
  }
  main section.s01 .wrapper .datebox {
    border-top: 1px solid #c3c3c3;
    border-bottom: 1px solid #c3c3c3;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 15px 0;
  }
  main section.s01 .wrapper .datebox .date {
    width: 50%;
    font-size: 14px;
    font-weight: bold;
  }
  main section.s01 .wrapper .datebox .cat {
    width: 90px;
    color: #fff;
    font-size: 11px;
    line-height: 14px;
    padding: 6px 0;
    text-align: center;
    background-color: #39ac4a;
  }
  main section.s01 .wrapper .datebox .cat.cat01 {
    background-color: #39ac4a;
  }
  main section.s01 .wrapper .datebox .cat.cat02 {
    background-color: #2bd7b8;
  }
  main section.s01 .wrapper .newsdetail {
    width: 100%;
    margin: 0 auto;
  }
  main section.s01 .wrapper .newsdetail h3 {
    font-size: 18px;
    color: #008945;
    margin-top: 30px;
  }
  main section.s01 .wrapper .newsdetail p {
    font-size: 14px;
    line-height: 300%;
    margin-top: 10px;
  }
  main section.s01 .wrapper .newsdetail img {
    display: block;
    max-width: 100%;
    margin-top: 30px;
  }
  main section.s01 .wrapper .btnbox {
    width: 100%;
    border-top: 1px solid #c3c3c3;
    margin: 30px auto 0;
    padding-top: 30px;
  }
  main section.s01 .wrapper .btnbox a {
    display: block;
    text-decoration: none;
    background-color: #aaa;
    border-radius: 50px;
    width: 180px;
    font-size: 14px;
    color: #fff;
    line-height: 14px;
    padding: 12px 0;
    margin: 0 auto;
    text-align: center;
  }
}