@media screen and (max-width: 900px){
  #logo {
    font-size: 12vw;
  }
  #banner {
    display: block;
    text-align: center;
  }
  #banner h3.hBnrL {
    border-right: none;
    border-bottom: 1px solid #52b3b3;
    margin-right: 0;
    margin-bottom: 15px;
    padding: 0 15px 15px;
  }
  * {
    -webkit-appearance: none;
  }
  body {
    overflow: hidden;
  }
}


@media screen and (max-width: 640px){
  body {
    font-size: 14px;
    border: none;
  }
  p,
  th,
  td {
    font-size: 14px;
  }
  .formError {
    left: auto !important;
    right: 5px !important;
  }
  #container, footer#footer {
    padding-left: 0;
  }
  #header {
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0;
    z-index: 1;
  }
  #logo {
    width: 100%;
    font-size: 20px;
    text-align: center;
    position: fixed;
    top: 15px;
    left: auto;
  }
  #logo span.ja {
    font-size: 10px;
  }
  nav#glnv {
    width: auto;
    height: 100vh;
    top: 60px;
    bottom: auto;
    background: #52b3b3;
    padding: 0;
  }
  nav#glnv ul li,
  nav#glnv ul li.ja {
    margin-bottom: 0;
  }
  nav#glnv ul li a {
    font-size: 16px;
  }
  nav#glnv ul li a:hover {
    color: #fff;
    background: inherit;
  }
  nav#glnv ul li.ja a,
  nav#glnv ul li.label {
    font-size: 14px;
  }
  #pagetop a {
    font-size: 16px;
  }


  /*header*/
  #spMenu {
    margin: 0;
    width: 35px;
    height: 35px;
    background: #52b3b3;
    position: fixed;
    left: 15px;
    top: 15px;
    z-index: 30;
  }
  #spMenu p {
    position: relative;
    display: block;
    -webkit-transition: all .4s;
    transition: all .4s;
    box-sizing: border-box;
  }
  #spMenu span {
    position: absolute;
    display: inline-block;
    left: 5px;
    width: 25px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    -webkit-transition: all .4s;
    transition: all .4s;
    box-sizing: border-box;
  }
  #spMenu span:nth-of-type(1) {
    top: 8px;
  }
  #spMenu span:nth-of-type(2) {
    top: 16px;
  }
  #spMenu span:nth-of-type(3) {
    top: 24px;
  }
  #spMenu span:nth-of-type(2)::after {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    -webkit-transition: all .4s;
    transition: all .4s;
  }
  #spMenu.active span:nth-of-type(2) {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  #spMenu.active span:nth-of-type(2)::after {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  #spMenu.active span:nth-of-type(1) {
    -webkit-transform: translateY(20px) scale(0);
    -ms-transform: translateY(20px) scale(0);
    transform: translateY(20px) scale(0);
  }
  #spMenu.active span:nth-of-type(3) {
    -webkit-transform: translateY(-20px) scale(0);
    -ms-transform: translateY(-20px) scale(0);
    transform: translateY(-20px) scale(0);
  }

  /*container*/
  #mainimg {
    height: 400px;
  }
  #mainimg h1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    height: auto;
  }
  #mainimg h1 img {
    width: 54%;
    margin-left: -10%;
    margin-top: -30%;
  }
  .ttl {
    font-size: 25px;
    line-height: 1.5em;
  }
  .vacL h3.ttlMid {
    font-size: 20px;
  }
  .ttl span.en,
  .ttlMin {
    font-size: 16px;
  }
  .ttlMin {
    padding-bottom: 0;
  }
  .ttlStyle02 {
    margin-bottom: 20px;
  }
  .fz20 {
    font-size: 17px;
  }
  table.tblStyle tr th,
  table.tblStyle tr td {
    display: block;
    width: 100%;
    font-size: 14px;
    text-align: left;
    padding: 10px 20px;
  }
  table.tblStyle tr th {
    border-top: none;
    padding-top: 0;
  }
  table.tblStyle tr td {
    padding-bottom: 30px;
  }
  table.tblStyle tr td iframe {
    height: 300px;
  }
  table.tblStyle tr:last-of-type > * {
    border-bottom: none;
  }
  .list {
    justify-content: space-around;
    padding-bottom: 30px;
  }
  .vacancyWrap,
  ul#contactForm li {
    display: block;
  }
  .vacancyWrap>div {
    width: 100%;
  }
  .vacR {
    margin-bottom: 20px;
  }
  ul#contactForm li span.th {
    width: 100%;
    display: block;
    font-size: 15px;
    padding: 10px 15px;
  }
  ul#contactForm li input, ul#contactForm li textarea {
    width: 100%;
    font-size: 16px;
    padding: 15px;
  }

  /* 230222追記 */
  .profile-mark {
    padding-bottom: 20px;
  }
  .profile-mark__item {
    max-width: calc(25% - 8px)
  }
  .profile-mark__text {
    font-size: 11px;
  }
  .profile-mark__title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  /* 231115 */
  .certificate-box__title {
    font-size: 16px;
    padding: 15px 20px;
  }
  .certificate-box__title::after {
    right: 20px;
  }
  .certificate-box__inner {
    gap: 10px;
    padding: 20px;
  }
  .certificate-box__inner a {
    width: calc(33% - 6px);
  }

  /* 241001 */
  #affiliations a {
    display: block;
    padding: 20px 4%;
  }
}
