@charset "UTF-8";

/*
 * common-corporate.css
 * コーポレートサイト共通(日本語・英語のコーポレート系ページ)。common.css の次に読み込む
 * 規則の順番は表示に影響するため、移動するときは注意すること
 */

/* ============================================================
   基本設定
   ============================================================ */

/* --- リセット --- */

table th,
table td {
  padding: 0.5em;
  border: 1px solid #2f2f2f;
}

q::before,
q::after,
blockquote::before,
blockquote::after {
  content: "";
  content: none;
}

p {
  margin-bottom: 1.5em;
}

@media print, (min-width: 768px) {
  html {
    overflow-x: auto;
    overflow-y: scroll;
  }
}

/* ============================================================
   ヘッダー
   ============================================================ */

/* --- ロゴ (.header-logo) --- */

@media only screen and (max-width: 767.98px) {
  .header-logo {
    width: 1.46rem;
    margin: 0.16rem 0.14rem;
  }
}

/* --- コーポレートリンク (.list-header-company) --- */

@media print, (min-width: 768px) {
  html.language-english .list-header-company .list-wrapper {
    margin: 0 -5px -7px 0;
  }

  .list-header-company .list-item {
    margin: 0 11px 5px 0;
  }

  .list-header-company .item-label::after {
    content: "";
    display: block;
    position: relative;
    left: 1px;
    width: 15px;
    height: 15px;
    margin-left: 2px;
    background: url(../img/common/icon_direct_01.svg) center center/calc(100% - 0.05px) auto no-repeat;
  }

  .list-header-company .label-wrapper {
    display: block;
    position: relative;
    top: -1px;
  }
}

/* --- グローバルナビ (.header-navigation) --- */

.header-navigation .block-title {
  position: relative;
  border-bottom: 0.01rem solid #2f2f2f;
  font-family: "Crimson Text", sans-serif;
  letter-spacing: 0.03em;
}

.header-navigation .navigation-foot {
  text-align: center;
  padding: 1rem 0 0;
}

.header-navigation .foot-copyright {
  font-family: "Crimson Text", sans-serif;
  font-size: 0.14rem;
}

@media print, (min-width: 768px) {
  .header-navigation .navigation-frame {
    height: 100%;
    padding: 0 60px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .header-navigation .content-block:not(:last-child) {
    margin-bottom: 58px;
  }

  html.language-english .header-navigation .content-block:not(:last-child) {
    margin-bottom: 106px;
  }

  .header-navigation .block-title {
    margin: 0 -60px 29px;
    padding: 0 60px 20px;
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .header-navigation .foot-copyright {
    margin-bottom: 40px;
  }
}

@media only screen and (max-width: 767.98px) {
  .header-navigation {
    visibility: hidden;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 100vh;
    padding-top: 1.13rem;
    opacity: 0;
    background-color: #fff;
    pointer-events: none;
  }

  .header-navigation .navigation-viewport {
    height: 100%;
    padding-bottom: 1.32rem;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .header-navigation .content-block.is-recruit .block-title {
    padding-bottom: 0.08rem;
    line-height: 1.18;
  }

  .header-navigation .block-title {
    margin: 0 -0.15rem 0.32rem;
    padding-bottom: 0.26rem;
    font-size: 0.6rem;
    line-height: 1.3;
    text-align: center;
  }

  .header-navigation .foot-document {
    margin-bottom: 0.01rem;
  }
}

/* --- 言語切り替え (.list-header-language) --- */

.list-header-language {
  visibility: visible;
  position: fixed;
  z-index: 9;
  top: 0.61rem;
  right: 0.76rem;
  font-family: Oswald, sans-serif;
  font-size: 0.18rem;
}

.list-header-language .item-label.is-active {
  background-color: #2f2f2f;
  color: #e2e7eb;
  pointer-events: none;
}

html:not(.is-touchable) .list-header-language .item-label:hover {
  background-color: #2f2f2f;
  color: #e2e7eb;
}

.list-header-language .label-wrapper {
  display: block;
  position: relative;
  height: inherit;
  line-height: 1.51;
}

/* ============================================================
   基本設定(続き)
   ============================================================ */

/* --- ブラウザ・状態別の調整 --- */

@media print, (min-width: 768px) {
  .is-macos .list-header-language .label-wrapper {
    top: -1px;
  }
}

/* ============================================================
   ヘッダー(続き)
   ============================================================ */

/* --- ハンバーガーボタン (.button-header-burger) --- */

.button-header-burger.is-active .button-line {
  left: -0.04rem;
  width: 0.44rem;
  background-color: #2f2f2f;
}

/* --- ヘッダー本体 (.header-common) --- */

.header-common.is-scrolled .button-header-burger .button-line {
  background-color: #2f2f2f;
}

/* --- ハンバーガーボタン (.button-header-burger) --- */

@media print, (min-width: 768px) {
  .button-header-burger {
    right: 21px;
    width: 35px;
    height: 30px;
  }

  .button-header-burger .button-wrapper {
    width: 37px;
    height: 30px;
  }

  .button-header-burger .button-line {
    top: calc(50% - 0.01rem);
  }
}

@media only screen and (max-width: 767.98px) {
  .button-header-burger {
    right: 0.16rem;
    width: 0.25rem;
    height: 0.22rem;
  }

  .button-header-burger .button-line {
    top: calc(50% - 0.05rem);
  }
}

/* --- 申し込みボタン (.button-header-application) --- */

.button-header-application:hover .button-label {
  position: relative;
  z-index: 3;
  color: #0b3190;
}

.button-header-application .label-main {
  font-family: "Crimson Text", sans-serif;
  font-weight: 600;
}

@media print, (min-width: 768px) {
  .button-header-application {
    width: 647px;
    margin: 0 0 46px -13px;
    padding: 8px 30px 8px 9px;
  }
}

@media only screen and (max-width: 767.98px) {
  html.language-english .button-header-application {
    margin-bottom: 0.76rem;
  }

  .button-header-application .label-main {
    margin-right: 0.3rem;
    font-size: 0.2rem;
    line-height: 1.1538461538;
  }

  .button-header-application .label-note {
    display: none;
  }
}

/* --- グローバルメニュー (.menu-header-primary) --- */

.menu-header-primary .element-main {
  font-family: "Crimson Text", sans-serif;
  font-weight: 600;
}

.menu-header-primary .element-wrapper {
  display: block;
}

@media print, (min-width: 768px) {
  .menu-header-primary .menu-element {
    min-width: 126px;
    margin: 0 32px 30px 0;
  }

  html.language-english .menu-header-primary .menu-element {
    margin-bottom: 16px;
  }

  .menu-header-primary .element-main {
    font-size: 0.24rem;
    line-height: 1.3;
  }
}

@media only screen and (max-width: 767.98px) {
  .menu-header-primary.is-corporate .menu-element {
    width: 50%;
    margin-bottom: 0.2rem;
  }

  html.language-english .menu-header-primary.is-corporate .menu-element {
    margin-bottom: 0.3rem;
  }

  .menu-header-primary.is-recruit .menu-wrapper {
    margin-bottom: -0.25rem;
  }

  .menu-header-primary.is-recruit .menu-element {
    margin-bottom: 0.25rem;
  }
}

/* ============================================================
   フッター
   ============================================================ */

/* --- フッター本体 (.footer-common) --- */

.footer-common {
  position: relative;
}

@media print, (min-width: 768px) {
  html.is-active .footer-common {
    right: 771px;
  }
}

@media only screen and (max-width: 767.98px) {
  .footer-common {
    margin-top: 0.64rem;
  }
}

/* --- フッターナビ (.footer-navigation) --- */

.footer-navigation .navigation-copyright a {
  color: #fff;
}

@media print, (min-width: 768px) {
  .footer-navigation {
    padding: 64px 0 45px;
  }

  .navigation-footer .navigation-element {
    padding: 10px 32px;
  }
}

@media only screen and (max-width: 767.98px) {
  .navigation-footer {
    margin-bottom: 1.28rem;
  }
}

/* --- SNSリンク (.list-footer-social) --- */

@media print, (min-width: 768px) {
  .list-footer-social {
    margin-bottom: 8px;
    padding-top: 2px;
  }

  .list-footer-social .list-item {
    padding: 7.5px;
  }
}

@media only screen and (max-width: 767.98px) {
  .list-footer-social {
    margin-bottom: 0.32rem;
  }

  .list-footer-social .list-item {
    padding: 7.5px;
  }
}

/* ============================================================
   共通パーツ
   ============================================================ */

/* --- 下層キービジュアル (.keyvisual-common-page) --- */

.keyvisual-common-page {
  position: relative;
}

.keyvisual-common-page .wrapper {
  position: relative;
}

.keyvisual-common-page .keyvisual-banner {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.keyvisual-common-page .keyvisual-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
}

.keyvisual-common-page .keyvisual-title span {
  display: block;
}

@media print, (min-width: 768px) {
  .keyvisual-common-page .keyvisual-banner::before {
    background: url("../img/common/keyvisual_background.png") center/100% 100% no-repeat;
  }

  .keyvisual-common-page .keyvisual-title {
    bottom: 0;
    left: -80px;
    padding-bottom: 88px;
  }

  html.language-english .keyvisual-common-page .keyvisual-title {
    bottom: -36px;
  }
}

@media print, (max-width: 1400px) and (min-width: 768px) {
  .keyvisual-common-page .keyvisual-title {
    left: 0;
  }
}

@media only screen and (max-width: 767.98px) {
  .keyvisual-common-page .keyvisual-banner::before {
    background: url("../img/common/sp/keyvisual_background.png") center/100% 100% no-repeat;
  }

  .keyvisual-common-page .keyvisual-title {
    bottom: 0;
    left: 0;
  }
}

/* --- ページ内ナビ (.navigation-common-page) --- */

.navigation-common-page.is-health .page-link {
  border-left: 1px solid #707070;
}

.navigation-common-page .page-link.is-active {
  border-left: 2px solid #03a7ea;
}

.navigation-common-page .page-link span {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
}

.navigation-common-page .page-link:hover {
  border-color: #03a7ea;
}

@media print, (min-width: 768px) {
  .navigation-common-page {
    margin: 128px 0 64px;
  }

  .navigation-common-page.is-health .page-link {
    padding: 10px 10px 28px 12px !important;
  }

  .navigation-common-page .page-link {
    padding: 10px 10px 42px 12px;
  }

  html.language-english .navigation-common-page .page-link {
    padding-bottom: 42px;
  }
}

@media only screen and (max-width: 767.98px) {
  .navigation-common-page {
    margin: 0.8rem 0 0.48rem;
  }

  .navigation-common-page .page-item:nth-last-child(1),
  .navigation-common-page .page-item:nth-last-child(2) {
    margin-bottom: 0;
  }

  html.language-english .navigation-common-page .page-item {
    margin-bottom: 0.14rem;
  }

  html.language-english .navigation-common-page .page-item:nth-last-child(1),
  html.language-english .navigation-common-page .page-item:nth-last-child(2) {
    margin-bottom: 0;
  }

  .navigation-common-page .page-item:nth-child(odd) {
    padding-right: 0.1rem;
  }

  .navigation-common-page .page-link {
    padding: 0 0 0.24rem 0.12rem;
  }

  html.language-english .navigation-common-page .page-link {
    height: 94%;
    padding-bottom: 0;
  }

  .navigation-common-page .link-text {
    line-height: 1.4;
  }

  html.language-english .navigation-common-page .link-text {
    font-size: 0.18rem;
  }

  /* --- 見出し(大) (.title-common-primary) --- */

  .title-common-primary {
    margin-bottom: 0.16rem;
  }

  .title-common-primary span {
    display: block;
  }
}

/* --- 見出し(中) (.title-common-secondary) --- */

.title-common-secondary::before {
  content: "";
  position: absolute;
  left: 0;
  height: 0.02rem;
  background-color: #03a7ea;
}

.title-common-secondary.is-simple::before {
  content: none;
}

/* ============================================================
   ヘッダー(続き)
   ============================================================ */

/* --- コーポレートリンク (.list-header-company) --- */

@media only screen and (max-width: 767.98px) {
  .list-header-company .list-wrapper .list-item {
    margin: 0 0.05rem 0.03rem 0;
  }
}
