/* ------------------------------
 width: all
------------------------------ */
main {
  background-image: none !important;
}

main section.bc {
  position: relative;
}

main section.bc .pagemenu {
  font-size: 0;
  letter-spacing: 0;
  position: absolute;
  top: 30px;
  right: 20px;
  text-align: right;
}

main section.bc .pagemenu li {
  display: inline-block;
  vertical-align: top;
  padding: 0 20px;
  border-right: 1px solid #AEAEAE;
}

main section.bc .pagemenu li:last-child {
  border: none;
}

main section.bc .pagemenu li a,
main section.bc .pagemenu li span {
  display: block;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  line-height: 16px;
}

main section.s01 {
  position: relative;
}

main section.s01 .wrapper {
  width: 1200px;
  margin: 0 auto;
  padding-top: 100px;
}

main section.s01 .wrapper .photobox {
  width: calc(50% + 100px);
  height: 680px;
  position: absolute;
  top: 0;
  right: 0;
}

main section.s01 .wrapper .photobox.msg01 {
  background-image: url(../../images/msg0101.jpg);
  background-size: cover;
  background-position: center center;
}

main section.s01 .wrapper .photobox.msg01-1 {
  background-image: url(../../images/msg0101-1.jpg);
  background-size: cover;
  background-position: center center;
}


main section.s01 .wrapper .photobox.msg02 {
  background-image: url(../../images/msg0201.jpg);
  background-size: cover;
  background-position: center center;
}

main section.s01 .wrapper .photobox.msg03 {
  background-image: url(../../images/msg0301.jpg);
  background-size: cover;
  background-position: center center;
}

main section.s01 .wrapper .photobox.msg04 {
  background-image: url(../../images/msg0401.jpg);
  background-size: cover;
  background-position: center center;
}

main section.s01 .wrapper .photobox img {
  display: none;
}

main section.s01 .wrapper h2 {
  font-size: 24px;
  color: #298DC4;
}

main section.s01 .wrapper .t01 {
  color: #298DC4;
  font-size: 80px;
  letter-spacing: 6px;
}

main section.s01 .wrapper .t02 {
  font-size: 26px;
  line-height: 48px;
  margin-top: 30px;
}

main section.s01 .wrapper .t03 {
  font-size: 20px;
  line-height: 140%;
  margin-top: 40px;
}

main section.s01 .wrapper .t04 {
  font-size: 32px;
  margin-top: 20px;
}

main section.s01 .wrapper .t04 span {
  font-size: 14px;
  padding-left: 10px;
}

main section.s01 .wrapper .works {
  border: 1px solid #999;
  padding: 60px 80px 10px;
  margin-top: 80px;
}

main section.s01 .wrapper .works .t05 {
  font-size: 80px;
  color: #ccc;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

main section.s01 .wrapper .works dl {
  margin-bottom: 80px;
}

main section.s01 .wrapper .works dl dt {
  color: #999;
  font-size: 34px;
}

main section.s01 .wrapper .works dl dd {
  margin-top: 8px;
  font-size: 16px;
  line-height: 40px;
}

main section.s02 {
  margin-top: 70px;
}

main section.s02 .wrapper dl {
  display: -webkit-flex;
  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;
}

main section.s02 .wrapper dl dt {
  width: 50%;
}

main section.s02 .wrapper dl dt img {
  width: 100%;
  display: block;
}

main section.s02 .wrapper dl dt img + img {
  margin-top: 50px;
}

main section.s02 .wrapper dl dd {
  width: 50%;
  padding: 50px 40px 0 50px;
}

main section.s02 .wrapper dl dd h3 {
  font-size: 80px;
  color: #ccc;
  letter-spacing: 6px;
}

main section.s02 .wrapper dl dd table {
  width: 100%;
  margin-top: 30px;
}

main section.s02 .wrapper dl dd table tr {
  border-top: 1px solid #ccc;
}

main section.s02 .wrapper dl dd table tr:last-child {
  border-bottom: 1px solid #ccc;
}

main section.s02 .wrapper dl dd table tr th {
  width: 125px;
  font-size: 16px;
  vertical-align: top;
  padding: 30px 0 30px 15px;
}

main section.s02 .wrapper dl dd table tr td {
  font-size: 16px;
  vertical-align: top;
  padding: 30px 15px 30px 0;
}

main section.s03 {
  background-image: url(../../images/bg_msg.jpg);
  background-size: 100% 100%;
  padding: 100px 40px 520px;
  margin-top: 0;
}

main section.s03 .wrapper dl {
  width: 1200px;
  margin: 0 auto;
  display: -webkit-flex;
  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;
}

main section.s03 .wrapper dl dt {
  width: 400px;
  font-size: 80px;
  color: #fff;
  letter-spacing: 8px;
}

main section.s03 .wrapper dl dd {
  width: 700px;
  color: #fff;
  font-size: 33px;
  line-height: 190%;
}

main section.s03 .wrapper .msglist {
  width: 1200px;
  margin: 80px auto 0;
  display: -webkit-flex;
  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;
}

main section.s03 .wrapper .msglist li {
  width: 300px;
}

main section.s03 .wrapper .msglist li a {
  display: block;
  text-decoration: none;
  position: relative;
}

main section.s03 .wrapper .msglist li a:hover, main section.s03 .wrapper .msglist li a.active {
  opacity: 1;
}

main section.s03 .wrapper .msglist li a:hover .photobox::after, main section.s03 .wrapper .msglist li a.active .photobox::after {
  opacity: 0;
}

main section.s03 .wrapper .msglist li a:hover .txtbox, main section.s03 .wrapper .msglist li a.active .txtbox {
  background-color: #000;
}

main section.s03 .wrapper .msglist li a .photobox {
  position: relative;
  display: block;
}

main section.s03 .wrapper .msglist li a .photobox img {
  width: 100%;
  display: block;
}

main section.s03 .wrapper .msglist li a .photobox::after {
  content: "";
  display: block;
  background-color: rgba(63, 143, 219, 0.5);
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

main section.s03 .wrapper .msglist li a .txtbox {
  width: 210px;
  display: block;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 12px 0;
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -35px;
  left: 0;
  margin: 0 auto;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

main section.s03 .wrapper .msglist li a .txtbox .t01 {
  text-align: center;
  color: #fff;
  font-size: 14px;
}

main section.s03 .wrapper .msglist li a .txtbox .t02 {
  text-align: center;
  font-size: 12px;
  color: #fff;
  margin-top: 10px;
}

main section.s03 .wrapper .btn_recruitdetail {
  width: 694px;
  display: block;
  margin: 120px auto 0;
}

main section.s03 .wrapper .btn_recruitdetail img {
  width: 100%;
  display: block;
}

main section.s03 .wrapper .btn_recruitdetail.link_off {
  pointer-events: none;
}

footer {
  margin-top: -390px;
  padding-top: 0;
}

/* ------------------------------
 width < $width-1
------------------------------ */
@media screen and (max-width: 800px) {
  main {
    background-image: none !important;
  }
  main section.bc {
    position: relative;
  }
  main section.bc .pagemenu {
    display: none;
  }
  main section.s01 {
    position: relative;
  }
  main section.s01 .wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 30px 20px;
  }
  main section.s01 .wrapper .photobox {
    width: 100%;
    height: auto;
    position: static;
    background-image: none !important;
  }
  main section.s01 .wrapper .photobox img {
    width: 100%;
    display: block;
  }
  main section.s01 .wrapper h2 {
    margin-top: 20px;
    font-size: 16px;
    color: #298DC4;
  }
  main section.s01 .wrapper .t01 {
    color: #298DC4;
    font-size: 40px;
    letter-spacing: 4px;
  }
  main section.s01 .wrapper .t02 {
    font-size: 18px;
    line-height: 32px;
    margin-top: 10px;
  }
  main section.s01 .wrapper .t03 {
    font-size: 14px;
    line-height: 140%;
    margin-top: 20px;
  }
  main section.s01 .wrapper .t04 {
    font-size: 22px;
    margin-top: 15px;
  }
  main section.s01 .wrapper .t04 span {
    font-size: 12px;
    padding-left: 5px;
  }
  main section.s01 .wrapper .works {
    border: 1px solid #999;
    padding: 20px 20px 10px;
    margin-top: 40px;
  }
  main section.s01 .wrapper .works .t05 {
    font-size: 40px;
    color: #ccc;
    letter-spacing: 4px;
    margin-bottom: 10px;
  }
  main section.s01 .wrapper .works dl {
    margin-bottom: 30px;
  }
  main section.s01 .wrapper .works dl dt {
    color: #999;
    font-size: 24px;
  }
  main section.s01 .wrapper .works dl dd {
    margin-top: 5px;
    font-size: 14px;
    line-height: 30px;
  }
  main section.s02 {
    margin-top: 30px;
    padding: 0 20px;
  }
  main section.s02 .wrapper dl {
    display: block;
  }
  main section.s02 .wrapper dl dt {
    width: 100%;
  }
  main section.s02 .wrapper dl dt img {
    width: 100%;
    display: block;
  }
  main section.s02 .wrapper dl dt img + img {
    margin-top: 20px;
  }
  main section.s02 .wrapper dl dd {
    width: 100%;
    padding: 30px 0 0;
  }
  main section.s02 .wrapper dl dd h3 {
    font-size: 40px;
    color: #ccc;
    letter-spacing: 4px;
  }
  main section.s02 .wrapper dl dd table {
    width: 100%;
    margin-top: 10px;
  }
  main section.s02 .wrapper dl dd table tr {
    border-top: 1px solid #ccc;
  }
  main section.s02 .wrapper dl dd table tr:last-child {
    border-bottom: 1px solid #ccc;
  }
  main section.s02 .wrapper dl dd table tr th {
    width: 90px;
    font-size: 14px;
    vertical-align: top;
    padding: 20px 0 20px 10px;
  }
  main section.s02 .wrapper dl dd table tr td {
    font-size: 14px;
    vertical-align: top;
    padding: 20px 10px 20px 0;
  }
  main section.s03 {
    background-image: url(../../images/bg_msg.jpg);
    background-size: 100% 100%;
    padding: 30px 20px 200px;
    margin-top: 40px;
  }
  main section.s03 .wrapper dl {
    width: 100%;
    margin: 0 auto;
    display: block;
  }
  main section.s03 .wrapper dl dt {
    width: 100%;
    font-size: 40px;
    color: #fff;
    letter-spacing: 4px;
  }
  main section.s03 .wrapper dl dd {
    width: 100%;
    color: #fff;
    font-size: 18px;
    line-height: 160%;
    margin-top: 10px;
  }
  main section.s03 .wrapper .msglistbox {
    overflow-x: scroll;
    margin: 30px auto 0;
    padding-bottom: 30px;
  }
  main section.s03 .wrapper .msglist {
    width: 800px;
    margin: 0;
    display: table;
  }
  main section.s03 .wrapper .msglist li {
    width: 200px;
    display: table-cell;
  }
  main section.s03 .wrapper .msglist li a {
    display: block;
    text-decoration: none;
    position: relative;
  }
  main section.s03 .wrapper .msglist li a:hover, main section.s03 .wrapper .msglist li a.active {
    opacity: 1;
  }
  main section.s03 .wrapper .msglist li a:hover .photobox::after, main section.s03 .wrapper .msglist li a.active .photobox::after {
    opacity: 0;
  }
  main section.s03 .wrapper .msglist li a:hover .txtbox, main section.s03 .wrapper .msglist li a.active .txtbox {
    background-color: #000;
  }
  main section.s03 .wrapper .msglist li a .photobox {
    position: relative;
    display: block;
  }
  main section.s03 .wrapper .msglist li a .photobox img {
    width: 100%;
    display: block;
  }
  main section.s03 .wrapper .msglist li a .photobox::after {
    content: "";
    display: block;
    background-color: rgba(63, 143, 219, 0.5);
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
  }
  main section.s03 .wrapper .msglist li a .txtbox {
    width: 140px;
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 6px 0;
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: -23px;
    left: 0;
    margin: 0 auto;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
  }
  main section.s03 .wrapper .msglist li a .txtbox .t01 {
    text-align: center;
    color: #fff;
    font-size: 12px;
  }
  main section.s03 .wrapper .msglist li a .txtbox .t02 {
    text-align: center;
    font-size: 10px;
    color: #fff;
    margin-top: 2px;
  }
  main section.s03 .wrapper .btn_recruitdetail {
    width: 335px;
    display: block;
    margin: 40px auto 0;
  }
  main section.s03 .wrapper .btn_recruitdetail img {
    width: 100%;
    display: block;
  }
  main section.s03 .wrapper .btn_recruitdetail.link_off {
    pointer-events: none;
  }
  footer {
    margin-top: -150px;
    padding-top: 0;
  }
}
