/* 全ページ共通ヘッダー（Gナビ）
   上部固定、モバイルはロゴ＋ハンバーガーメニュー（日英切り替えはメニュー内）
***********************************************************/
:root {
  --header-h: 70px;
}
html {
  scroll-padding-top: var(--header-h);
}
#wrapper {
  padding-top: var(--header-h);
}

#header {
  padding: 0;
  height: var(--header-h);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.globalNav {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
/* 項目が増えても日英切り替えと重ならないよう、中央寄せはグリッドで行う */
#header .globalNav ul.menu {
  position: static;
  transform: none;
  -webkit-transform: none;
  -ms-transform: none;
  grid-column: 2;
}
#header .globalNav ul.lang {
  margin: 0 40px 0 0;
  width: 80px;
  grid-column: 3;
  justify-self: end;
}
@media screen and (min-width: 900px) and (max-width: 1100px) {
  #header .globalNav ul.menu li a {
    margin: 0 1.6vw;
    font-size: 12px;
    letter-spacing: 1px;
  }
  #header .globalNav ul.lang {
    margin-right: 20px;
  }
}
.siteHeader__logo,
.siteHeader__toggle,
.globalNav__overlay {
  display: none;
}

/* モバイル（899px以下）
***********************************************************/
@media screen and (max-width: 899px) {
  :root {
    --header-h: 56px;
  }
  #header {
    padding: 0 0 0 16px;
    justify-content: space-between;
  }

  .siteHeader__logo {
    display: block;
    width: 150px;
    line-height: 0;
  }
  .siteHeader__logo img {
    width: 100%;
    height: auto;
  }

  .siteHeader__toggle {
    width: var(--header-h);
    height: var(--header-h);
    padding: 0;
    border: 0;
    background: #2b7fc0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }
  .siteHeader__toggle span {
    width: 26px;
    height: 2px;
    background: #fff;
    transition: transform .3s, opacity .3s;
  }
  .is-navOpen .siteHeader__toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .is-navOpen .siteHeader__toggle span:nth-child(2) {
    opacity: 0;
  }
  .is-navOpen .siteHeader__toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .globalNav {
    width: min(80vw, 320px);
    padding: 16px 24px 40px;
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    box-sizing: border-box;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s, visibility .3s;
  }
  .is-navOpen .globalNav {
    transform: none;
    visibility: visible;
  }

  #header .globalNav ul.menu {
    margin: 0;
    width: 100%;
    flex-direction: column;
  }
  #header .globalNav ul.menu li {
    border-bottom: 1px solid #dadad9;
  }
  #header .globalNav ul.menu li a {
    margin: 0;
    padding: 18px 0;
    display: block;
    color: #0075c2;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
  }

  #header .globalNav ul.lang {
    margin: 32px auto 0;
    justify-self: auto;
    width: 80px;
    display: flex;
    border: 1px solid #636766;
    font-size: 12px;
  }
  #header .globalNav ul.lang li a {
    display: block;
  }

  .globalNav__overlay {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .4);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .is-navOpen .globalNav__overlay {
    opacity: 1;
    visibility: visible;
  }
  html.is-navOpen {
    overflow: hidden !important;
  }

  /* 下層ページ：ロゴはヘッダーに入るので青帯のロゴは出さない */
  .news .mv {
    display: none;
  }
  .bread {
    padding-top: 12px;
  }
}

/* 採用情報ページ
***********************************************************/
.recruit .post__inner {
  padding-bottom: 80px;
}
.recruit .post-mv img {
  width: 100%;
  height: auto;
}
.recruit h1.post-title {
  margin-top: 30px;
}
.recruit .post-content {
  line-height: 2;
}
.recruit .post-content p {
  margin: 0 0 1em;
}
.recruit .post-content img {
  max-width: 100%;
  height: auto;
}
.recruitApply {
  margin-top: 60px;
  text-align: center;
}
.recruitApply__button {
  min-width: 240px;
  padding: 16px 40px;
  display: inline-block;
  background: #0075c2;
  color: #fff;
  font-weight: 600;
  letter-spacing: 2px;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity .3s;
}
.recruitApply__button:hover {
  opacity: .8;
}
@media screen and (max-width: 899px) {
  .recruit .post__inner {
    padding-bottom: 60px;
  }
  .recruitApply {
    margin-top: 40px;
  }
}
