/* 英語時の調整 */
html[lang=en] {
  /* 汎用非表示クラス */
  .wovn_hide_en {
    display: none !important;
  }

  /*font-family指定*/
  body,
  .c-button span {
    font-family: "Arial", "Hiragino Sans", "Hiragino Kaku Gothic ProN", YuGothic, "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", "メイリオ", sans-serif;
  }

  /*第2階層h1のサブテキスト非表示*/
  h1.p-lower-index__header__title > span {
    display: none;
  }

  /*第3階層以下h1のサブテキスト非表示*/
  h1.p-lower-detail__header__title > span {
    display: none;
  }

  /*第3階層以下h1のサブテキスト非表示（企業情報）*/
  h1.c-title--page--corporate > span {
    display: none;
  }

  /*下層h2見出しのサブテキスト非表示*/
  h2.c-title > span{
    display: none;
  }

  /*リンクリスト（サムネイルなし）の英語テキスト非表示*/
  .p-lower-index__sub__link__title span {
    display: none;
  }

  /*下層サイドナビの改行削除*/
  .p-lower-detail__sidebar__link br {
    display: none;
  }

  /*tableの改行設定（単語の途中で折り返さない）*/
  .c-table th, .c-table td {
    word-break: break-word;
  }

  /* 「想い定期便」記事ページの調整 */
  .l-content.detail .p-lower-index__header__img .catch{
    display: none;
  }
  .detail .sec01 .vol::before {
    content: "Letter";
  }
  .detail .sec02 .qa_item:last-child .question br {
    display: none;
  }

  /* 画面右端固定バナー（想い出定期便）非表示 */
  .floating, .floating_sp {
    display: none !important;
  }

  @media (max-width: 1024px){
    .detail .sec01 .profile h2.c-title--section--corporate span {
      font-size: 1.8rem;
      font-weight: bold;
    }
    .detail .p-corporate-vision__title.b {
      font-size: 3rem;
    }
    .detail .p-corporate-vision__title.b:before {
      display: none;
    }
  }

  @media (max-width: 820px){
    .mirai_nav a {
      font-size: 12px;
    }
  }
}

/* 日本語時の調整 */
html[lang=ja] {
  /* 汎用非表示クラス */
  .wovn_hide_ja {
    display: none !important;
  }
}

/* ヘッダーの調整 */
.p-header__lang {
  .p-header__lang__list {
    display: flex;
    align-items: center;
  }
  .p-header__lang__item a {
    &:not(.selected) {
      color: #909090;
      cursor: pointer;
      &:hover {
        color: #000000;
      }
    }
    &.selected {
      color: #000000;
    }
  }
  &.a {
    /* TOPページ（PC） */
    .l-header--top & {
      .p-header__lang__item a {
        &:not(.selected) {
          color: #909090;
          &:hover {
            color: #000000;
          }
        }
        &.selected {
          .l-header--top.is-thinning & {
            color: #fff;
          }
          .l-header--top.is-act & {
            color: #000000;
          }
        }
      }
    }
  }
  /* SP */
  &.b {
    .p-header__lang__item a {
      &.selected {
        color: #fff;
      }
    }
  }
}

/* フッターの調整 */
.p-footer__lang {
  .p-footer__lang__list {
    display: flex;
    align-items: center;
  }
  .p-footer__lang__item a {
    &:not(.selected) {
      color: #909090;
      cursor: pointer;
      &:hover {
        color: #fff;
      }
    }
    &.selected {
      color: #fff;
    }
  }
}

@media (max-width: 820px) {
  html:lang(en) .p-footer__nav {
    height: auto;
    .p-footer__nav__item:nth-child(3) {
      height: auto;
    }
  }
}

/* AI翻訳モーダル */
#wovn-machine-translated-modal .wovn-modal-background button {
  text-align: center !important;
}