@charset 'UTF-8';
@import url(contact.css);
@import url(form.css);

html {
  scroll-behavior: smooth;
}
#wrapper > main {
  padding-top: 5.8rem;
}
@media screen and (min-width: 768px) {
  #wrapper > main {
    padding-top: 9.8rem;
  }
}

/* btn_form */
#btn_form {
  position: fixed;
  right: 0;
  bottom: 1.2rem;
  width: 5.3rem;
  height: 10.6rem;
  border-top: 1px solid rgb(153, 153, 153);
  border-bottom: 1px solid rgb(153, 153, 153);
  border-left: 1px solid rgb(153, 153, 153);
  border-radius: 5px 0 0 5px;
  box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  background-color: rgb(255, 255, 255);
}
#btn_form a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: rgb(0, 0, 0);
  font-size: 1.4rem;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

/* article */
#wrapper > main > article {
  padding: 1.7rem calc(24 / 390 * 100vw);
  color: rgb(0, 0, 0);
  background-color: rgb(255, 255, 255);
}
@media screen and (min-width: 768px) {
  #wrapper > main > article {
    padding: 1.7rem calc(50vw - 50% + 5.7rem);
    margin: 0 calc(50% - 50vw);
  }
}

/* job */
#job h2 {
  padding: 0.5em 0;
  margin: 0;
  font-size: min(2.4rem, 24 / 390 * 100vw);
  font-weight: 800;
  color: rgb(0, 0, 0);
  line-height: 2;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
  word-break: keep-all;
}
@media screen and (min-width: 768px) {
  #job h2 {
    font-size: 2.7rem;
  }
}
#job .desc {
  padding: 0.4em 0;
  font-size: 1.4rem;
  line-height: 1.8;
}
@media screen and (min-width: 768px) {
  #job .desc {
    font-size: 1.8rem;
  }
}
#job .desc p {
  margin: 0 0 0.8em 0;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  text-align: justify;
}
#job > section,
#job > section > section {
  padding: 1.9rem 0;
}
#job section h3 {
  padding: 0.25em calc(50vw - 50%);
  margin: 0 calc(50% - 50vw);
  font-size: min(2.4rem, 24 / 390 * 100vw);
  font-weight: 800;
  font-feature-settings: "palt";
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: rgb(255, 255, 255);
  background-color: rgb(81, 81, 81);
}
@media screen and (min-width: 768px) {
  #job section h3 {
    margin-left: -5.7rem;
    margin-right: -5.7rem;
    padding-left: 5.7rem;
    padding-right: 5.7rem;
    font-size: 2.7rem;
  }
}
#job section h4 {
  padding: 0.5em 0;
  margin: 0;
  font-size: min(2.4rem, 24 / 390 * 100vw);
  font-weight: 800;
  font-feature-settings: "palt";
  line-height: 2;
  letter-spacing: 0.05em;
  word-break: keep-all;
}
@media screen and (min-width: 768px) {
  #job section h4 {
    font-size: 2.7rem;
  }
}
@media screen and (max-width: 767px) {
  /* sp only */
  #job section h4 .kern {
    letter-spacing: normal;
    white-space: nowrap;
  }
}
#job section h5 {
  /* padding: 0.5em 0; */
  padding: 0.5em 0 0 0;
  margin: 0;
  font-size: min(2.4rem, 24 / 390 * 100vw);
  font-feature-settings: "palt";
  line-height: 2;
}
@media screen and (max-width: 767px) {
  /* sp only */
  #job section h5 {
    /* padding: 0.2em 0; */
    padding: 0.2em 0 0 0;
    /* margin: 0.6em 0; */
    margin: 0.6em 0 0 0;
    line-height: 1.4;
  }
}
@media screen and (min-width: 768px) {
  #job section h5 {
    font-size: 2.7rem;
  }
}
#job section h5 .job_ttl {
  display: block;
  font-size: min(2.4rem, 24 / 390 * 100vw);
  font-weight: normal;
  letter-spacing: 0.05em;
  word-break: keep-all;
}
@media screen and (min-width: 768px) {
  #job section h5 .job_ttl {
    font-size: 2.7rem;
  }
}
#job section h5 .job_desc {
  /* padding-top: 0.2em; */
  padding: 0.2em 0;
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.4;
  font-feature-settings: normal;
  word-break: keep-all;
}
@media screen and (max-width: 767px) {
  #job section h5 .job_desc.kern {
    font-feature-settings: "palt";
    letter-spacing: 0.05em;
  }
}
@media screen and (min-width: 768px) {
  #job section h5 .job_desc {
    font-size: 1.8rem;
  }
}
#job section .photo {
  padding-bottom: 3.2rem;
  display: flex;
  justify-content: space-between;
}
#job section .photo .image {
  flex-basis: calc(106 / 390 * 100vw);
}
@media screen and (min-width: 768px) {
  #job section .photo .image {
    flex-basis: min(330 / 1200 * 100vw, 330px);
  }
}

/* require */
#require h2 {
  padding: 0.5em 0;
  margin: 0;
  display: flex;
  align-items: center;
  font-size: min(2.4rem, 24 / 390 * 100vw);
  font-weight: 800;
  font-feature-settings: "palt";
  line-height: 2;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  #require h2 {
    font-size: 2.7rem;
  }
}
#require h2::before {
  content: "";
  margin-right: 0.25em;
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  border-radius: 50%;
  background-color: currentColor;
}
#require dl {
  padding-bottom: 6.4rem;
  margin: 0;
}
#require dl > div {
  padding-bottom: 2px;
  display: flex;
}
#require dt,
#require dd {
  padding: 0.3em 0.5em;
  box-sizing: ;
  font-size: 1.4rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  background-color: rgb(233, 235, 245);
}
@media screen and (min-width: 768px) {
  #require dt,
  #require dd {
    font-size: 1.8rem;
  }
}
#require dt {
  margin-right: 2px;
  flex-basis: 6em;
  flex-shrink: 0;
  font-weight: normal;
}
#require dd {
  margin: 0;
  flex-grow: 1;
}

/* form */
#form h2 {
  padding: 0.25em 0;
  margin: 0;
  font-size: min(2.4rem, 24 / 390 * 100vw);
  font-weight: 800;
  font-feature-settings: "palt";
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-indent: 0.05em;
  text-align: center;
  color: rgb(255, 255, 255);
  background-color: rgb(145, 145, 145);
  word-break: keep-all;
}
@media screen and (min-width: 768px) {
  #form h2 {
    font-size: 2.7rem;
  }
}
#form form {
  padding: 3.2rem 0;
  display: flow-root;
  position: static;
}
#form form::before {
  content: none;
}
#form form > div:first-of-type {
  margin-top: 0;
}
