h1 img {
  width: 100%;
}

h2 {
  margin: 0;
  font-size: min(max(5vw), 2.5rem);
  letter-spacing: 0.2rem;
  font-weight: normal;
  text-shadow: 0 0 1px black;
}

h3 {
  font-size: min(max(4vw), 2rem);
  letter-spacing: 0.2rem;
}

#message p {
  font-size: min(max(2vw), 1rem);
  line-height: 2;
  letter-spacing: 0.1vw;
}

#comp p {
  font-size: min(max(3vw), 1.5rem);
  line-height: 2;
  letter-spacing: 0.1vw;
  margin: 6% 0;
}

.title small {
  font-size: min(max(2vw), 1rem);
  letter-spacing: 0.2vw;
  text-shadow: 0 0 1px #666;
}

header {
  overflow: hidden;
  background: lightgray;
  background: url(/img/recruit/back/header_bg.png);
  background-size: 100%;
  padding-bottom: 5%;
  background-attachment: local;
  background-repeat: no-repeat;
}

h1 {
  width: 40%;
  margin: auto;
  margin-top: 20%;
}

header .entry {
  margin-right: 7%;
  margin-top: 20%;
}

.block {
  overflow: hidden;
  padding: 3% 10%;
  text-align: center;
}

.pagelink {
  margin-top: 4%;
  display: flex;
  justify-content: center;
}

.pagelink a {
  border: 0.3vw solid black;
  background: white;
  padding: min(max(2vw), 1rem);
  width: 24%;
  text-shadow: 0 0 1px #000;
  display: flex;
  font-size: min(max(2vw), 1rem);
  justify-content: space-between;
}

.pagelink a:hover {
  background: #000;
  color: #fff;
  border: 0.3vw solid #fff;
  text-shadow: 0 0 1px #fff;
  box-shadow: 0px 0px 3px gray;
}

.pagelink a:after {
  content: "　　▶"
}

#comp .pagelink {
  margin: auto;
  flex-wrap: wrap;
  justify-content: center;
}

#comp .pagelink a {
  width: 30%;
  margin: 3%;
}

.interviewlink {
  display: flex;
  justify-content: center;
  margin-top: 7%;
}

.interviewlink a {
  display: block;
  padding: 0;
  width: 18rem;
}

.interviewlink a:nth-child(2),
.pagelink a:nth-child(2) {
  margin: 0 4%;
}

.interviewlink a img {
  width: 80%;
}

.interviewlink p {
  font-size: min(max(2.5vw), 1.25rem);
  text-shadow: 0 0 1px #666;
  font-weight: lighter;
  margin: 2% 0;
}

.entry {
  /* background-color: #000; */
  width: min(max(26vw), 13rem);
  margin: auto;
  text-align: center;
}

.entry a {
  /* width: min(max(20vw),10rem); */
  font-size: min(max(3vw), 1.5rem);
  background-color: #000;
  color: #FFF;
  padding: 1rem;
  letter-spacing: 0.1vw;
  display: block;
  justify-content: space-between;
  align-items: center;
  border: 0.4vw solid black;
  text-shadow: 0 0 2px white;
  text-align: center;
}

.entry a:after {
  content: "▶";
  font-size: min(max(3vw), 1.5rem);
  margin-top: -3.5%;
}

#button {
  margin-top: -10%;
}

#button .entry {
  width: min(max(26vw), 13rem)
}

.entry a:hover {
  background: #fff;
  color: #000;
  text-shadow: 0 0 2px #000;
  box-shadow: 0px 0px 3px gray;
  border: 0.4vw solid black;
  box-sizing: border-box;
}

#message {
  background: url(/img/recruit/back/message_bg.png) 40% 0;
  background-size: 25%;
  background-attachment: local;
  background-repeat: no-repeat;
  padding-bottom: 7%;
  padding-top: 0;
}

#recruit {
  background: url(/img/recruit/back/recruit_bg.png) 55% 0;
  padding: 13vw 0 18vw 0;
  margin-top: -10vw;
  background-size: contain;
  background-attachment: local;
  background-repeat: no-repeat;
}

#comp {
  background: url(/img/recruit/back/company_bg.png);
  background-size: 85%;
  background-attachment: local;
  background-repeat: no-repeat;
  margin: 5% 0 5% 0;
}

/* Safari対応 */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  .entry a::after {
    padding-top: 1.5%;
  }

  header.entry a::after {
    padding-top: 2.5%;
  }
}