:root {
  --font: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

.sp {
  display: none;
}

/* header */
#header {
  width: 100%;
  position: absolute;
  top: 0;
  padding: 40px 0;
  z-index: 10;
}

#header .headerInner {
  padding: 0 48px;
}

#header nav ul {
  display: flex;
  justify-content: right;
  align-items: center;
}

#header nav ul li {
  margin-right: 49px;
  line-height: 1;
}

#header nav ul li:last-child {
  margin-right: 0;
}

#header nav ul li a {
  line-height: 1;
  position: relative;
}

#header nav ul li.link a:hover::before {
  display: block;
  content: "";
  width: 100%;
  height: 2px;
  background: #5b92ff;
  position: absolute;
  left: 0;
  bottom: -4px;
}

a.toEntry {
  padding: 10px 48px;
  border: 1px solid #5b92ff;
  border-radius: 27px;
}

a.toEntry:hover {
  background: #c1d7ff;
}

/* main */
#top {
  margin-top: 60px;
  padding-right: 45px;
}

#message {
  position: absolute;
  top: 800px;
}

#aboutus {
  margin-top: 66px;
  padding: 0 17% 0 18%;
  position: relative;
}

#aboutus .polygon {
  position: absolute;
  top: -30px;
  left: 7%;
}

#commitments {
  margin-top: 50px;
  padding-left: 60px;
}

#jobPosition {
  margin-top: 35px;
  padding: 0 24px 0 70px;
}

#attraction {
  margin-top: 60px;
  padding: 0 11.8% 0 9.7%;
}

#image {
  margin-top: 110px;
  padding: 0 8%;
}

#training {
  margin-top: 25px;
  padding: 0 10% 0 4.5%;
}

#trainer {
  margin-top: 80px;
  padding: 0 17.4%;
}

#trainingPhoto {
  margin-top: 94px;
  padding: 0 11.1%;
}

#feature {
  margin-top: 33px;
  padding: 0 160px 0 100px;
}

#interview {
  margin-top: 70px;
  padding: 0 48px;
}

#interview .interviewInner {
  position: relative;
}

#interview .interviewInner img.pc {
  width: 316px;
  position: absolute;
  top: -10%;
  left: 5.4%;
}

#interview .interviewInner .itvBox {
  width: 100%;
  height: 576px;
  padding: 7.5% 8.5% 3.7%;
  background: #F4F8FF;
  border-radius: 48px;
}

#interview .interviewInner .itvBox .row {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  gap: 15%;
}

#interview .interviewInner .itvBox .row .box img{
  max-height: 300px;
}

#interview .interviewInner .itvBox .row .textBox p,
#interview .interviewInner .itvBox .row .textBox span {
  font-size: 20px;
  font-family: var(--font);
}
#interview .interviewInner .itvBox .row .textBox p.name {
  font-size: 32px;
}

#interview .interviewInner .itvBox .row .textBox span.year {
  margin-right: 40px;
}

#interview2 {
  padding: 120px 11.1% 0;
}

#interview2 .container .box {
  display: flex;
  gap: 70px;
  margin-bottom: 200px;
}

#interview2 .container .box:last-child {
  margin-bottom: 0;
}

#interview2 .container .box:nth-child(2) {
  flex-direction: row-reverse;
}

#interview2 .container .box .card {
  max-width: 420px;
}

#interview2 .container .box .card img {
  margin-bottom: 48px;
}

#interview2 .container .card .textBox{
  padding-left: 9%;
}

#interview2 .container .card .textBox p,
#interview2 .container .card .textBox span {
  font-size: 18px;
  font-family: var(--font);
  margin-bottom: 12px;
}

#interview2 .container .card .textBox p.name {
  font-size: 56px;
}

#interview2 .container .box .dscBox {
  padding-top: 40px;
}

#welfare {
  padding: 70px 8.3%;
}

#photo {
  margin-top: 100px;
}

#recruit {
  margin-top: 60px;
  padding: 0 48px;
}

.recruitInner {
  padding: 48px 112px 63px;
  border-radius: 24px;
  background: #f4f8ff;
}

.recruitInner span {
  margin-left: 40px;
}

.recruitInner dl {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}

.recruitInner dl dt,
.recruitInner dl dd,
.recruitInner dl dd li,
.recruitInner dl dd p {
  font-family: var(--font);
  font-size: 18px;
}

.recruitInner dl dt {
  font-weight: 600;
}

.recruitInner dl dt,
.recruitInner dl dd {
  padding: 40px 0;
  border-top: 1px solid #7081a1;
  border-bottom: 1px solid #7081a1;
}

.recruitInner dl dt {
  width: 160px;
  color: #7081a1;
}

.recruitInner dl dd {
  width: calc(100% - 160px);
  padding-right: 3%;
  color: #373737;
}

.recruitInner dl dd ul.salary li {
  margin-bottom: 16px;
}

.recruitInner dl dd ul.salary li.detail {
  margin-bottom: 20px;
  padding-left: 20px;
  position: relative;
}

.recruitInner dl dd ul.salary li.detail:last-child {
  margin-bottom: 0;
}

.recruitInner dl dd ul.salary li.detail::before {
  display: block;
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  top: 0px;
  left: 0px;
}

.recruitInner dl dd ul.salary .detail:nth-child(2)::before {
  content: "①";
}

.recruitInner dl dd ul.salary .detail:nth-child(3)::before {
  content: "②";
}

.recruitInner dl dd p {
  max-width: 920px;
}

.recruitInner dl dd ul.holiday li:first-child,
.recruitInner dl dd ul.remarks li:first-child {
  margin-bottom: 40px;
}

.recruitInner dl dd ul.list li {
  list-style: disc;
  margin-left: 20px;
}

/* footer */

#footer {
  margin-top: 88px;
  position: relative;
}

#footer .footerInner {
  position: relative;
}

#footer .footerInner a.toTop {
  width: 4%;
  height: 16%;
  position: absolute;
  top: 12%;
  left: 6%;
}

#footer .linkBox {
  width: 100%;
  padding: 0 26%;
  position: absolute;
  bottom: 28%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  /* grid-column-gap: 30px; */
  grid-row-gap: 20px;
}

#footer a {
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font) !important;
  color: #5b92ff;
}

#footer .linkBox a {
  padding: 0 30px;
  border-left: 1px solid #5b92ff;
}

#footer .linkBox a:hover {
  text-decoration: underline;
}

#footer .linkBox a.nb {
  padding-left: 0;
  border-left: none;
}

#footer a:hover {
  text-decoration: underline;
}

#footer a.toEntry {
  position: absolute;
  top: 13.3%;
  right: 11.1%;
}

#footer a.toEntry:hover {
  text-decoration: none;
}

#footer .copy {
  display: inline-block;
  width: 100%;
  text-align: center;
  margin: 10px 0 30px 0;
  font-size: 18px;
  font-weight: 500;
  color: #5b92ff;
}

/* #entry-page */

.entry-page form li span,
.entry-page form li label,
.entry-page form li input {
  font-family: var(--font) !important;
}

.entry-page #header .logo img {
  width: 110px;
}

.entry-page #header .headerInner {
  display: flex;
  justify-content: space-between;
}

.entry-page .entryInner .top {
  margin: 80px 0 200px;
  padding: 0 10%;
}

.contactForm {
  max-width: 900px;
  margin: 0 auto;
}

form ul {
  margin-bottom: 80px;
}

form ul li {
  display: flex;
  margin-bottom: 60px;
  position: relative;
}

form ul li:last-child {
  margin-bottom: 0;
}

form ul li label {
  display: inline-block;
  width: 140px;
  font-size: 20px;
  color: #5b92ff;
  margin-right: 150px;
}

form ul li span.required {
  display: inline-block;
  border-radius: 16px;
  margin-right: 40px;
  padding: 4px 12px;
  color: #fff;
  background: #5b92ff;
  position: absolute;
  left: 160px;
}

form ul li.optional input,
form ul li.optional span {
  color: #444;
  background: #d9d9d9;
}

form ul input,
form ul textarea {
  max-width: 591px;
  font-size: 20px;
  padding: 10px;
  border: 1px solid #c8c8c8;
  border-radius: 20px;
}

form input {
  height: 44px;
  width: 100%;
  background: #fffbf3;
}

form .selectBox {
  margin-right: 60px;
}

form select {
  border-color: #5b92ff;
  border-radius: 20px;
  margin-right: 8px;
}

form li.radio input.radio {
  width: 18px;
  height: 18px;
  color: #5b92ff;
  vertical-align: middle;
}

form li.radio span.sex {
  display: inline-block;
  height: 20px;
  margin-right: 48px;
}

form li.radio input.radio:checked {
  background: #5b92ff;
}

form input:focus {
  outline-color: #5b92ff;
}

form #submit {
  width: 293px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

form #submit::before {
  display: block;
  content: "";
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 14px;
  right: 20px;
}

form #submit input {
  background: #5b92ff;
  border: none;
  border-radius: 20px;
  color: #fff;
}

form #submit input:hover {
  cursor: pointer;
  background: #81aafb;
}

form #submit input:active {
  scale: 0.8;
}

@media screen and (max-width: 900px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  #header {
    padding: 16px 0 0;
  }

  #header .headerInner {
    padding: 0 10px;
  }

  nav.sp {
    display: flex;
    justify-content: space-between;
  }

  nav.sp .logo {
    width: 30px;
  }

  #mainMenu-trigger {
    width: 42px;
    height: 42px;
    background-color: #aeceff;
    border-radius: 50%;
    position: relative;
    top: 0;
    right: 8px;
    cursor: pointer;
    overflow: hidden;
  }

  /* spMenu */

  nav.sp .spMenu {
    display: none;
    width: 100%;
    background: #e0ebff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
  }

  nav.sp .spMenu.open {
    display: block;
  }

  nav.sp .spMenu .spMenuInner {
    padding: 110px 0;
    position: relative;
  }

  #header nav.sp .spMenu .lines-button {
    width: 42px;
    height: 42px;
    background-color: #aeceff;
    border-radius: 50%;
    position: absolute;
    top: 16px;
    right: 18px;
    cursor: pointer;
  }

  #header nav.sp .spMenu .navList {
    display: block;
    text-align: center;
  }

  #header nav.sp .spMenu .navList li {
    margin-bottom: 30px;
    margin-right: 0;
  }

  #header nav.sp .spMenu .navList a {
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font) !important;
    color: #5b92ff;
  }

  #top {
    padding: 0;
  }

  #message {
    position: absolute;
    top: 400px;
  }

  #aboutus {
    margin-top: 10px;
    padding: 0 3%;
    position: relative;
  }

  #commitments {
    margin-top: 50px;
    padding-left: 20px;
  }

  #jobPosition {
    margin-top: 35px;
    padding: 0;
  }

  #attraction {
    margin-top: 80px;
    padding: 0 6%;
  }

  #image {
    margin: 70px 0;
    padding: 0 8%;
  }

  #training {
    margin-top: 25px;
    padding: 0 4%;
  }

  #trainer {
    margin-top: 40px;
    padding: 0 6%;
  }

  #trainingPhoto {
    margin-top: 70px;
    padding: 0 6%;
  }

  #feature {
    margin-top: 33px;
    padding: 0;
  }

  #interview2 {
    margin-top: 20px;
    padding: 0 7%;
  }

  #interview2 img.subtitle {
    height: 80px;
    padding: 0 18%;
    margin-bottom: 40px;
  }

  #interview2 .container .box,
  #interview2 .container .box:nth-child(2) {
    flex-direction: column;
    align-items: center;
    margin-bottom: 70px;
    gap: 40px;
  }

  #interview2 .container .card .textBox p,
  #interview2 .container .card .textBox span {
    font-size: 10px;
    margin-bottom: 12px;
  }

  #interview2 .container .card .textBox p.name {
    font-size: 36px;
  }

  #welfare {
    margin-top: 80px;
    padding: 0 3%;
  }

  #photo {
    margin-top: 40px;
    padding: 0 8%;
  }

  #recruit {
    margin-top: 30px;
    padding: 0 2%;
  }

  #recruit img {
    width: 80px !important;
  }

  .recruitInner {
    padding: 40px 8% 63px;
  }

  .recruitInner span {
    margin-left: 10px;
  }

  .recruitInner dl {
    margin-top: 60px;
  }

  .recruitInner dl dt,
  .recruitInner dl dd,
  .recruitInner dl dd li,
  .recruitInner dl dd p {
    font-size: 16px;
  }

  .recruitInner dl dt,
  .recruitInner dl dd {
    padding: 22px 0;
  }

  .recruitInner dl dt {
    width: 90px;
  }

  .recruitInner dl dd {
    width: calc(100% - 90px);
    padding-right: 3%;
    color: #373737;
  }

  .recruitInner dl dd ul.salary li {
    margin-bottom: 16px;
  }

  .recruitInner dl dd ul.salary li.detail {
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
  }

  .recruitInner dl dd ul.salary li.detail:last-child {
    margin-bottom: 0;
  }

  .recruitInner dl dd ul.salary li.detail::before {
    display: block;
    content: "";
    width: 18px;
    height: 18px;
    position: absolute;
    top: 0px;
    left: 0px;
  }

  .recruitInner dl dd ul.salary .detail:nth-child(2)::before {
    content: "①";
  }

  .recruitInner dl dd ul.salary .detail:nth-child(3)::before {
    content: "②";
  }

  .recruitInner dl dd p {
    max-width: 920px;
  }

  .recruitInner dl dd ul.holiday li:first-child,
  .recruitInner dl dd ul.remarks li:first-child {
    margin-bottom: 40px;
  }

  .recruitInner dl dd ul.list li {
    list-style: disc;
    margin-left: 20px;
  }

  #footer .footerInner a.toTop {
    width: 8%;
    height: 17%;
    position: absolute;
    top: 8%;
    left: 8%;
  }

  #footer .linkBox {
    width: 100%;
    padding: 50px 12% 0;
    margin-bottom: 100px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 20px;
  }

  #footer .linkBox a {
    display: inline-block;
    border: none;
    padding: 0;
  }

  #footer .linkBox a:nth-child(even) {
    width: 100px;
  }

  /* entry-page */

  .entry-page #header .logo img {
    width: 30px;
  }

  .entry-page .entryInner .top {
    margin-bottom: 30px;
  }

  .entry-page .contactForm {
    padding: 0 10px;
  }

  .entry-page #footer .footerInner a.toTop {
    width: 4%;
    height: 6%;
    position: absolute;
    top: 3%;
    left: 6%;
  }

  form {
    max-width: 600px;
    margin: 0 auto;
  }

  form ul li {
    padding: 0 6%;
    display: block;
  }

  form ul li label {
    width: auto;
    margin-right: 30px;
    margin-bottom: 24px;
    font-size: 16px;
  }

  form ul li span.required {
    display: inline;
    font-size: 16px;
    position: static;
  }

  form ul li span.word {
    font-size: 14px;
  }

  form .selectBox {
    margin-right: 24px;
  }

  form .selectBox:last-child {
    margin-right: 0;
  }

  form .selectBox select {
    font-size: 14px;
  }
}
