@charset "UTF-8";

html {
  font-size: 62.5%;
}

body {
  font-size: 1.4rem;
  background-color: #F9FAFB;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: 'Noto Sans JP';
  margin: 0;
}

.clearfix::after {
  content: '';
  display: block;
  clear: both;
}

img {
  width: 170px;
  height: 170px;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

table {
  border: 1px;
}

a {
  text-decoration: none;
}

/* top */
.top {
  width: 100%;
  color: #2B2B2B;
  background-color: #F9FAFB;
}

.top p {
  font-size: 38px;
  text-align: center;
}

.top .english {
  font-size: 30px;
}


.msg {
  padding: 30px 0;
}

/* career */
.career {
  width: 50%;
  height: 500px;
  background-image: url(../img/recruit.png);
  background-position: center;
  background-size: cover;
  color: #F9FAFB;
  text-align: center;
}

.career p {
  font-size: 60px;
  padding-top: 150px;
}

.career a {
  color: #F9FAFB;
  background-color: #2B2B2B;
  display: block;
  width: 300px;
  height: 100px;
  border-radius: 15px;
  text-align: center;
  line-height: 100px;
  font-size: 36px;
  margin: 50px auto;
  opacity: 1;
}

.career a:hover {
  opacity: .8;
}

/* new */
.new {
  width: 50%;
  height: 500px;
  background-image: url(../img/new.png);
  background-position: center;
  background-size: cover;
  color: #F9FAFB;
  text-align: center;
}

.new p {
  font-size: 60px;
  padding-top: 150px;
}

.new a {
  color: #F9FAFB;
  background-color: #2B2B2B;
  display: block;
  width: 300px;
  height: 100px;
  border-radius: 15px;
  text-align: center;
  line-height: 100px;
  font-size: 36px;
  margin: 50px auto;
  opacity: 1;
}

.new a:hover {
  opacity: .8;
}

/* policy */

.policy {
  width: 90%;
  margin: 0 auto;
  background-color: #F9FAFB;
  text-align: center;
  color: #2B2B2B;
}

.policy h3 {
  font-size: 36px;
  padding-top: 30px;
}

.policy p {
  font-size: 30px;
  line-height: 150%;
  padding-top: 30px;
  padding-bottom: 50px;
}

/* media */
@media screen and (max-width: 768px) {
  .flex {
    display: block;
  }

  .career {
    width: 100%;
  }

  .new {
    width: 100%;
  }

  .policy p {
    font-size: 18px;
  }

}

@media screen and (max-width: 480px) {

  /* top */
  .top p {
    font-size: 28px;
  }

  .top .english {
    font-size: 16px;
  }

  /* career */
  .career {
    height: 300px;
  }

  .career p {
    font-size: 38px;
    padding-top: 50px;
  }

  .career a {
    width: 90%;
    height: 100px;
    line-height: 100px;
    font-size: 36px;
    margin: 25px auto;
  }

  /* new */
  .new {
    height: 300px;
  }

  .new p {
    font-size: 38px;
    padding-top: 50px;
  }

  .new a {
    width: 90%;
    height: 100px;
    line-height: 100px;
    font-size: 36px;
    margin: 25px auto;
  }

  /* policy */
  .policy p {
    font-size: 14px;
  }
}