/*=============================
          company-nav  
=============================*/
.mg-top{
  margin-top:20px;
}
#company-nav{
  margin-top:120px;
  border-bottom:none;
}
#company-nav h2{
  width: 20%;
  margin:0 auto;
  font-size: 30px;
  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: 500px){
  #company-nav h2 {
      width: 35%;
      margin: 0 auto;
      font-size: 25px;
      text-align: center;
      font-weight: bold;
      border-bottom: #ffae0d;
      position: relative;
  }
}
@media screen and (max-width: 400px){
    .main-content a {
        width: 50%;
    }
}
@media screen and (max-width: 320px){
  #company-nav h2 {
      width: 35%;
      margin: 0 auto;
      font-size: 18px;
      text-align: center;
      font-weight: bold;
      border-bottom: #ffae0d;
      position: relative;
  }
}
/*=============================
          common
=============================*/
img.section-icon{
  width: 5%;
  display: block;
  margin: 0 auto;
  margin-bottom: 10px;
}
h3.section-title{
  width: 7%;
  margin:0 auto;
  font-size: 17px;
  text-align:center;
  border-bottom: solid 4px #FFAE0D;
}
p{
  font-size: 16px;
}
h4.green-title{
  border-left: solid 4px #00750C;
  font-weight: bold;
  font-size: 25px;
  padding-left:10px;
  width: 80%;
  margin:0 auto;
  margin-top:50px;
}
@media screen and (max-width: 768px){
  h3.section-title {
      width: 12%;
      margin: 0 auto;
      font-size: 17px;
      text-align: center;
      border-bottom: solid 4px #FFAE0D;
  }
}
@media screen and (max-width: 500px){
  h3.section-title {
      width: 21%;
      margin: 0 auto;
      font-size: 15px;
      text-align: center;
      border-bottom: solid 4px #FFAE0D;
  }
  img.section-icon {
      width: 10%;
      display: block;
      margin: 0 auto;
      margin-bottom: 10px;
  }
  p {
      font-size: 13px;
  }
  h4.green-title {
      border-left: solid 4px #00750C;
      font-weight: bold;
      font-size: 18px;
      padding-left: 10px;
      width: 80%;
      margin: 0 auto;
      margin-top: 30px;
  }
}
@media screen and (max-width: 400px){
p {
    font-size: 12px;
}
}
/*=============================
          section-remv
=============================*/
#section-remv{
  width: 100vw;
  height: 400px;
  background-image: url(../images/r-mv-2.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  margin-top: 20px;
}
@media screen and (max-width: 500px){
  #section-remv {
      width: 100vw;
      height: 200px;
      background-image: url(../images/r-mv-2.png);
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
  }
}
/*=============================
          section-recruit
=============================*/
#section-recruit{
  width: 100%;
  margin-top:40px;
}
#section-recruit p.center{
  text-align:center;
  margin-top:50px;
}
table{
  width: 80%;
  margin:0 auto;
  margin-top:20px;
}
table th{
    width: 25%;
    text-align:left;
    padding:15px 0;
    padding-left: 30px;
    background-color: rgba(0,0,0,0.1);
  font-size:23px;
  font-weight: bold;
  border:solid 1px rgba(0,0,0,0.2);
  border-right: 0;
}
table td{
    width: 75%;
    text-align:left;
    padding:15px 0;
    padding-left: 30px;
    border:solid 1px rgba(0,0,0,0.2);
    border-left: 0;
}
table td p{
  margin-bottom:30px;
  line-height: 170%;
}
.td-title{
  margin-bottom:10px;
}
table h4 {
    font-size: 18px;
    margin-bottom: 10px;
}
@media screen and (max-width: 768px){
  table {
      width: 85%;
      margin: 0 auto;
      margin-top: 20px;
  }
}
@media screen and (max-width: 500px){
  table th {
      width: 25%;
      text-align: left;
      padding: 15px 0;
      padding-left: 10px;
      background-color: rgba(0,0,0,0.1);
      font-size: 15px;
      font-weight: bold;
      border: solid 1px rgba(0,0,0,0.2);
      border-right: 0;
  }
  table {
     width: 90%;
      margin: 0 auto;
      margin-top: 20px;
  }
  table td {
      width: 75%;
      text-align: left;
      padding: 15px 0;
      padding-left: 10px;
      border: solid 1px rgba(0,0,0,0.2);
      border-left: 0;
      font-size: 13px;
  }
  table h4 {
      font-size: 12px;
      margin-bottom: 10px;
  }
}
@media screen and (max-width: 400px){
table th {
    width: 25%;
    text-align: left;
    padding: 15px 0;
    padding-left: 10px;
    background-color: rgba(0,0,0,0.1);
    font-size: 13px;
    font-weight: bold;
    border: solid 1px rgba(0,0,0,0.2);
    border-right: 0;
}
}
/*=============================
          section-flow
=============================*/
#all-flow {
  width: 80%;
  margin:0 auto;
  display: block;
  margin-top:20px;
  flex-direction: row;
}

 @media screen and (max-width: 768px){

  #section-rflow {
      width: 85%;
      margin: 0 auto;
      margin-top: 20px;
      flex-direction: row;
  }
  .flow-box {
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        font-weight: bold;
        width: 16%;
        height: 150px;
        background-color: 
  }
  .flow-box p {
      font-size: 18px;
  }
}
@media screen and (max-width: 500px){
  
  #all-flow {
      width: 95%;
      margin: 0 auto;
      display: block;
      margin-top: 20px;
      flex-direction: row;
  }
 
}
 /*=============================
          section-entry
=============================*/
#section-entry{
  margin-top:120px;
}
#section-entry p{
  font-weight: bold;
  text-align:center;
  margin-top:10px;
}
#outer-site{
  width: 45%;
  margin: 0 auto;
  flex-direction: row;
  margin-top: 30px;
  justify-content: center;
  align-items: center;
}
#section-entry #outer-site a{
  width: 45%;
}
#section-entry #outer-site a:last-child{
  width: 45%;
  /*margin-left: 5%;*/
}
#section-entry #outer-site a img{
  width: 100%;
}
#section-entry a.contact{
 box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
 width: 35%;
 display: block;
 height: 100px;
 margin:0 auto;
 margin-bottom :30px;
 margin-top:50px;
 font-weight: bold;
 font-size: 20px;
 text-align:center;
 line-height: 100px;
 position: relative;
}
#section-entry a.contact img{
 position: absolute;
 width: 30px;
 right: 10%;
 top: 35%;
}
#tensyoku{
  box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
}
#section-rflow .flow-arrow{
  color: #84D6FF;
}
#section-rflow .flow-arrow:nth-child(3){
  color: #00C1A7;
}
#section-rflow .flow-arrow:nth-child(4){
  color: #00844B;
}
#section-rflow .flow-arrow:nth-child(5){
  color: #00481D;
}
@media screen and (max-width: 1024px){
  #section-entry a.contact{
   box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
   width: 35%;
   display: flex;
   height: 80px;
   margin:0 auto;
   margin-bottom :30px;
   margin-top:50px;
   font-weight: bold;
   font-size: 20px;
   text-align:center;
   line-height: 80px;
   position: relative;
   flex-direction: row;
   justify-content: center;
  }
  #section-entry a.contact img{
   position: absolute;
   width: 30px;
   right: 10%;

  }
}
@media screen and (max-width: 768px){
  #section-entry a.contact {
      box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
      width: 25%;
      display: block;
      height: 60px;
      margin: 0 auto;
      margin-bottom: 30px;
      margin-top: 50px;
      font-weight: bold;
      font-size: 15px;
      text-align: center;
      line-height: 60px;
      position: relative;
  }
  #section-entry a.contact img {
      position: absolute;
      width: 20px;
      right: 10%;
      top: 32%;
  }
}
@media screen and (max-width: 500px){
  #section-entry {
    margin-top: 50px;
  }
  #outer-site {
      width: 60%;
      margin: 0 auto;
      margin-top: 30px;
  }
  #section-entry #outer-site a img {
    width: 80%;
    margin: 0 auto;
    display: block;
    margin-bottom: 25px;
}
  #section-entry #outer-site a:last-child {
      width: 30%;
      margin-left: 0;
  }
  #section-entry #outer-site a img{
    width: 80%;
    margin:0 auto;
    display: block;
  }
  #section-entry a.contact {
      box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
      width: 45%;
      display: block;
      height: 60px;
      margin: 0 auto;
      margin-bottom: 30px;
      margin-top: 5px;
      font-weight: bold;
      font-size: 15px;
      text-align: center;
      line-height: 60px;
      position: relative;
  }
}