@charset "UTF-8";
/*!
 * en one Holdings — サイト共通ヘッダー / フッター
 *
 * header.php（<header id="header">）と footer.php（<footer>）は全ページ共通の
 * カスタムマークアップだが、その装飾は元々 top.css の中だけにあり、トップページ
 * でしか読み込まれていなかった。そのため会社概要など他ページではヘッダー/フッター
 * が未装飾で崩れていた。
 *
 * このファイルにヘッダー/フッター（＋言語スイッチャー）の装飾を集約し、
 * functions.php から全ページで読み込むことで、トップページと同じ見た目を
 * サイト全体で共有する。単一ソースとするため top.css からは該当ルールを撤去した。
 *
 * 依存フォント（Noto Sans JP / Sen）は header.php で全ページ読み込み済み。
 */

/* アンカーリンク（例: /company/#company）で着地したとき、sticky な #header
   （高さ ≒ ロゴ52px + 上下padding 32px ＝ 約84px）に見出しが隠れないよう、
   スクロール位置の上に余白を確保する。全ページ・全アンカー共通で効かせる。 */
html {
  scroll-padding-top: 6rem;
}

/* ヘッダー/フッター内だけに効かせる最小限のリセット
   （top.css の body 単位のリセットに依存しないよう自己完結させる） */
#header,
footer {
  line-height: 1.6;
}
#header ul,
#header ol,
footer ul,
footer ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
#header img,
footer img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
#header {
  position: sticky;
  top: 0;
  padding-block: 1rem;
  background: #000;
  z-index: 5;
  font-family: "Sen", "Noto Sans JP", sans-serif;
}

#header a {
  color: #fff;
  display: block;
  text-decoration: none;
}
#header a:hover {
  transition: 0.5s;
  transform: translateY(-5px);
  color: #ff0;
}

.header-stroke{
  position: absolute;
  top: 0;
}
@media screen and (max-width: 1900px) {
  .header-stroke{
    position: absolute;
    top: 0; left: calc( 50vw - 775px );
    width: 50px; height: auto; 
  }
}
@media screen and (max-width: 1550px) {
  .header-stroke{
    left: 0;
  }
}

.header-contents {
  width: min(100% - 1rem, 1550px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.header-contents h1 {
  max-width: 405px; 
  position: relative;
  z-index: 10;
}
@media screen and (max-width: 1900px) {
  .header-contents h1 {
    padding-left: 85px;
  }
}
@media screen and (max-width: 768px) {
  .header-contents h1 {
    width: 60%;
    padding-left: 45px;
  }
}
.header-contents nav {
  display: flex;
  align-items: center;
  font-size: 18px; 
}
.header-contents ul.nav-global {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
}
.header-contents ul.nav-global > li {
  margin-left: 2em;
}
@media screen and (max-width: 1450px) {
  .header-contents ul.nav-global {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    z-index: -999;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
  }
  .header-contents ul.nav-global > li {
    margin: 0;
    padding: 1em;
  }
  .header-contents ul.nav-global.__show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .header-contents .mobile-menu {
    --size: 2rem;
    width: var(--size);
    height: var(--size);
    position: relative;
    cursor: pointer;
    margin-left: 1rem;
  }
  .header-contents .mobile-menu span {
    display: block;
    position: absolute;
    inset: 0;
    height: 1px;
    width: 100%;
    background: #fff;
    margin: auto;
  }
  .header-contents .mobile-menu::before, .header-contents .mobile-menu::after {
    content: "";
    position: absolute;
    display: block;
    margin: auto;
    height: 1px;
    width: 100%;
    background: #fff;
  }
  .header-contents .mobile-menu::before {
    top: 0.5rem;
  }
  .header-contents .mobile-menu::after {
    bottom: 0.5rem;
  }
  .header-contents .mobile-menu.__show span {
    display: none;
  }
  .header-contents .mobile-menu.__show::before, .header-contents .mobile-menu.__show::after {
    inset: 0;
  }
  .header-contents .mobile-menu.__show::before {
    transform: rotate(-45deg);
  }
  .header-contents .mobile-menu.__show::after {
    transform: rotate(45deg);
  }
}

/* ==========================================================================
   言語スイッチャー（functions.php で出力）
   ========================================================================== */
.lang-switcher {
  position: relative;
  inset: auto;
}

.lang-switcher-toggle {
  background: transparent;
  color: #fff;
  border-radius: 10px;
  padding-inline: 1em;
  font-size: 16px;
}

.lang-switcher-menu {
  background: #222;
  text-align: center;
}

.lang-switcher-menu{
  border-radius: 10px;
  padding-inline: 1em;
  font-size: 16px;
}

.lang-switcher-menu:hover {
  background: #333;
}
.lang-switcher-menu a:hover, .lang-switcher-menu a:focus {
  background: transparent;
  transform: none;
}

/* ==========================================================================
   フッター
   ========================================================================== */
footer {
  border-top: solid 1px #fff;
  padding-block: 150px;
  font-family: "Sen", sans-serif;
  background: #000;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  color: #ff0;
}
footer .copyright {
  width: min(100% - 1rem, 1550px);
  margin-inline: auto;
  text-align: right;
}

.footer-nav {
  width: min(100% - 1rem, 1550px);
  margin-inline: auto;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}
.footer-nav h3 {
  max-width: 520px;
}
.footer-nav ul li {
  padding-block: 0.5em;
  font-size: 30px;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
  }
  
  .footer-nav ul li {
    font-size: 22px;
  }
  
  .footer-nav h3 {
    max-width: 300px;
    margin-bottom: 2rem;
  }
}

#post-53 *, #post-46 *{
  font-family: "Sen", "Noto Sans JP", sans-serif;
}