@charset "UTF-8";
@import url("https://fonts.googleapis.com/earlyaccess/notosansjapanese.css");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

/* Shared corporate footer, scoped to preserve each page's main content. */
#main-footer {
  display: block;
  position: relative;
  inset: auto;
  clear: both;
  flex: none;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  border: 0;
  padding: 50px 0 0;
  box-sizing: content-box;
  background: #212121;
  color: #aaa;
  font-family: 'Noto Sans Japanese', "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  line-height: 21px;
  letter-spacing: normal;
  text-align: center;
  text-transform: none;
}
#main-footer .block {
  display: inline-block;
  float: none;
  width: auto;
  padding: 0;
  margin: 0 20px;
  text-align: left;
  vertical-align: top;
}
#main-footer h3 {
  padding: 0 0 5px;
  margin: 0 0 15px;
  border: 0;
  border-bottom: 1px solid #333;
  color: #fff;
  background: transparent;
  font: 700 16px/24px 'Noto Sans Japanese', "メイリオ", Meiryo, sans-serif;
  letter-spacing: normal;
}
#main-footer p {
  margin: 10px;
  padding: 0;
  color: #757575;
  font: inherit;
  line-height: 18px;
}
#main-footer img {
  display: inline;
  width: 321px;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}
#main-footer ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
#main-footer li {
  display: list-item;
  float: left;
  clear: none;
  width: auto;
  min-width: 150px;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  text-align: left;
  line-height: 21px;
  list-style: none;
}
#main-footer li:nth-child(3n-2) { clear: left; }
#main-footer a {
  display: inline;
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  line-height: inherit;
  text-decoration: none;
  letter-spacing: normal;
  transition: none;
}
#main-footer li i.material-icons {
  display: inline-block;
  float: none;
  color: #fff;
  font: normal 400 16px/21px 'Material Icons';
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  vertical-align: bottom;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
#main-footer .copyright {
  display: block;
  clear: both;
  margin: 20px 0 0;
  padding: 20px 0;
  border: 0;
  border-top: 1px solid #333;
  color: #757575;
  font: inherit;
  line-height: 18px;
  text-align: center;
  letter-spacing: normal;
}
@media only screen and (max-width: 767px) {
  #main-footer .block { display: block; text-align: center; }
  #main-footer li, #main-footer li:nth-child(3n-2) {
    float: none;
    clear: none;
    margin: 5px 0;
    border: 1px solid #333;
  }
  #main-footer li a { display: block; padding: 10px; }
  #main-footer li a i.material-icons { float: right; }
}
/* The recruitment entrance used a fixed one-screen layout. Let its shared
   footer follow the existing full-height entrance without covering content. */
@media screen and (max-width: 768px) {
  html:has(body > .entrance-page > #main-footer),
  body:has(> .entrance-page > #main-footer) {
    position: static;
    height: auto;
    overflow: visible;
  }
  .entrance-page:has(> #main-footer) {
    position: relative;
    inset: auto;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }
  .entrance-page:has(> #main-footer) > .entrance-main {
    flex: none;
    min-height: 100dvh;
  }
}
