@charset "UTF-8";
/* CSS Document */

* {
	margin:0;
	padding:0;
}

body {
  font-family: 'Noto Sans JP', sans-serif !important;
	color: #4C4C4D;
	font-size:16px;
  background:#FFFFFF;
}

html {
  scroll-behavior: smooth;
}

:target {
    padding-top: 80px; /* ヘッダーの高さ分 */
    margin-top: -80px;  /* スクロール位置を調整 */
}

/* ------------------------------------------- ヘッダー ------------------------------------------  */

#header {
  background: #ffffffde;
  height:52px;
  width:100%;
  position: fixed;
  top:0;
  transition: color 0.4s ease-out;
  z-index: 999999;
}
@media screen and (max-width:1300px) {/* sp */
	#header { height:auto; background:none; }
}

/*　上に上がる動き　*/

#header.UpMove{
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 1;
  transform: translateY(0);
  }
  to {
    opacity: 0;
  transform: translateY(-100px);
  }
}

/*　下に下がる動き　*/

#header.DownMove{
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
    opacity: 0;
  transform: translateY(-100px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}




/* ------------------------------ PC -----------------------------  */
@media screen and (max-width:1300px) {
	.header-pc { display:none; }
}


.narabi,
.narabi-bogo {
  margin-top: 0;
}

/*　ロゴ　*/
.narabi-logo {
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.Header-Logo img {
  height:30px;
  margin-top:11px;
  margin-left:30px;
  margin-right:60px;
}
.Header-Logo img:hover {
  opacity: 0.8;
}

/*　並び　*/
.navi-wrap {
  display: flex;
  justify-content: flex-end; 
  align-items: center;      
  gap: 10px;              
  margin-right:160px;
}

/*　ナビ　*/
.navi-oya {
  display: flex;
  align-items: center;
}

.narabi {
  display: flex;
  align-items: center;
  margin-right: 10px;
  margin-top:-40px;
}

.navi-li {
  text-decoration: none;
}

.navi-moji {
  font-size: 16px;
  font-weight: 600;
  color: #00275B;
  margin-right:30px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.navi-moji:hover {
  color:#E3D14A;
}


/*-----------bogo 言語スイッチャー---------*/
.navi-bogo-pc {
  display: inline-block;
  margin-top:-40px;
}

/* ボタン配置 */
.bogo-btn {
  display: inline-block;
}

.hidden {
  display: none !important;
}

/* 言語切り替えリスト */
.bogo-language-switcher {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media screen and (max-width:1300px) {
  .bogo-language-switcher { gap: 8px; }
}


/* 丸型ボタン */
.bogo-language-switcher a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eeeeee;
  color: #00275B;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  font-size: 0; /* 文字は非表示にして::afterで表示 */
}
@media screen and (max-width:1300px) {
  .bogo-language-switcher a  {
    width: 35px;
    height: 35px;
   }
}


/* ホバー時 */
.bogo-language-switcher a:hover {
  background: #F2E063;
  color: #10295B;
}

/* アクティブ言語（currentクラスがaにある場合）を黄色に */
.bogo-language-switcher a.current {
  background-color: #E5D147 !important;
  color: #00275B !important;
}

/* 日本語リンクが current かつ、ページが日本語でない場合（非current状態）は白丸に */
.bogo-language-switcher .ja a {
  /* 普通は白丸 */
  background-color: #eeeeee !important;
}

/* これで日本語リンクが current だけ黄色になります */
.bogo-language-switcher .ja a.current {
  background-color: #E5D147 !important;
}

/* 言語コードだけ中央に表示（JP/EN/CN） */
.bogo-language-name a::after {
  font-size: 14px;
  font-weight: bold;
  color: #00275B;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (max-width:1300px) {
  .bogo-language-name a::after {
    font-size: 16px;
   }
}


/* 言語別の表示内容 */
.bogo-language-switcher .ja .bogo-language-name a::after {
  content: 'JP';
}
.bogo-language-switcher .en .bogo-language-name a::after {
  content: 'EN';
}
.bogo-language-switcher .zh .bogo-language-name a::after {
  content: 'CN';
}

/* フラグ非表示 */
.bogo-language-switcher .bogoflags {
  display: none !important;
  visibility: hidden !important;
}

/* 言語が1個だけなら非表示にする */
.bogo-language-switcher:has(li:only-child) {
  display: none;
}







/* 日本語ページの場合 */
body.ja-only .bogo-language-switcher .ja a {
  background-color: #E5D147 !important; /* 日本語の丸を黄色に */
  color: #00275B; /* 日本語の文字色を変更 */
}

/* 他の言語の文字色を赤に */
body.ja-only .bogo-language-switcher .en a,
body.ja-only .bogo-language-switcher .zh a {
  color: red !important; /* 英語・中国語の文字色を赤に */
}

/* 日本語がcurrentのとき（黄色の丸だけではなく、文字色も調整） */
body.ja-only .bogo-language-switcher .ja a.current {
  background-color: #E5D147 !important; /* 日本語の丸を黄色に */
  color: #00275B !important; /* 日本語の文字色を変更 */
}

/* 他の言語の文字色を赤に */
body.ja-only .bogo-language-switcher .en a.current,
body.ja-only .bogo-language-switcher .zh a.current {
  color: red !important; /* 英語・中国語の文字色を赤に */
}

/* その他の言語（非日本語）の丸は白に */
body.ja-only .bogo-language-switcher .en a,
body.ja-only .bogo-language-switcher .zh a {
  background-color: #eeeeee !important; /* 英語・中国語の丸を白に */
}

/* ホバー時の色（すべての言語） */
.bogo-language-switcher a:hover {
  background: #F2E063;
  color: #10295B;
}





/* ------------サブメニュー-------------*/
.navi-li {
    position: relative;
}

.submenu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 158%; 
    left: 0;
    background-color:#ffffffde;
    padding: 10px;
    width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.navi-li:hover .submenu {
    visibility: visible;
    opacity: 1; 
    transition: opacity 0.3s ease, visibility 0s 0s; 
}

.submenu a {
    color: #00275B;
    text-decoration: none;
    display: block;
    padding: 5px 10px;
}

.submenu a:hover {
    background-color: #E3D14A;
}

.navi-li:hover,
.submenu:hover {
    cursor: pointer; 
}




/* ------------------------------ SP -----------------------------  */
.header-sp {
  display: flex;
  align-items: center;   /* 高さを揃える */
  justify-content: space-between; /* 左右に分散 */
  padding: 0 20px;       /* 左右の余白 */
  position: fixed;
  background: #ffffffd8;
  height: 52px;
  width: 100%;
  top: 0;
  z-index: 99999999;
} 
@media screen and (min-width:1299px) {
	.header-sp { display:none; }
}


.header-back-sp {
  position: fixed;
  background:#ECECEF;
  height:100px;
  width:100%;
}

.siro-sp {
  background: none;
  height:43px;
  width:100%;
  position: fixed;
  z-index:10;
}

.narabi-sp {
  display:inline-block;
}

.narabi-sp-2 {
  display:inline-block;
}



/* --- 社名 ---  */
.logo-1-sp-top {
  height:28px;
}

.logo-1-sp-top.isSmall2{
  width:90px!important;
  margin-top:-10px!important;
  margin-left:-10px!important;
}

.logo-1-sp {
  width:90px;
  margin-top:-10px;
  margin-left:-10px;
}



/* ---------------- navi（hamburger） ----------------  */
a {
text-decoration: none;
color: #00275B;
}
.hamburger {
    display: block;
    height: 80px; /* アイコンの高さを大きく */
    width: 80px;  /* アイコンの幅を大きく */
    margin-left: auto;
    position: relative;
    z-index: 10;
    border: none;
    background-color: transparent;
    margin-right:-27px
}
.hamburger.-active .hamburger__line {
    background-color: transparent;
}
.hamburger.-active .hamburger__line::before {
    top: 0;
    transform: rotate(45deg);
}
.hamburger.-active .hamburger__line::after {
    top: 0;
    transform: rotate(-45deg);
}
.hamburger__line {
    display: block;
    height: 5px;
    position: absolute;
    top: 37px;
    left: 50%;
    transform: translateX(-50%);
    width: 37px;
    background-color: #00275B;
    transition: 0.4s;
}
.hamburger__line:before,
.hamburger__line:after {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    background-color:#00275B;
    transition: inherit;
}
.hamburger__line:before {
    top: -12px;
}
.hamburger__line:after {
    top: 12px;
}
.hamburger__text {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}
.hamburger__text::before {
    text-align: center;
    color: #00275B;
    font-size: 16px;
    font-weight: 900;
}
.header-navi-sp {

}
.header__nav-area {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 9;
    height: 100vh;
    width: 300px;
    visibility: hidden;
    padding-top: 60px;
    background-color: #ECECEF;
    transition: 0.4s;
}

html[lang^="en"] .header__nav-area {
  width: 350px;
}

.header__nav-area.-active {
    right: 0;
  visibility: visible;
}
.global-navigation {
    padding-top: 40px;
    padding-right: 25px;
    padding-bottom: 120px;
    padding-left: 25px;
    max-height: 100vh; 
    overflow-y: auto;
}
.global-navigation__list > li {
    padding-bottom: 20px;
    border-bottom: 1px solid rgb(218, 216, 216)
}
.global-navigation__list > li + li {
  margin-top: 20px;
}
.global-navigation__link {
  display: flex;
    align-items: center;
    justify-content: space-between;
    color: #00275B;
    transition: color 0.4s;
    font-size:18px;
    font-weight:bold;
}
.global-navigation__link.-accordion {
    position: relative;
    background: none;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 0;
}
.global-navigation__link.-accordion::after {
    content: '';
    display: block;
    height: 12px;
    position: absolute;
    top: 50%;
    right: 5px;
    width: 2px;
    background-color: #00275B;
    transform: translateY(-50%);
    transition: transform 0.4s;
}
.global-navigation__link.-accordion::before {
    content: '';
    display: block;
    height: 2px;
    position: absolute;
    top: 50%;
    right: 0;
    width: 12px;
    background-color: #00275B;
    transform: translateY(-50%);
    
}
.global-navigation__link.-active::after {
  transform: translateY(-50%) rotate(-90deg);
}
.accordion-header01 {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: 0.4s;
}
.accordion-header01.-active {
    height: auto;
    padding-top: 20px;
    visibility: visible;
}
.accordion__list li {
    font-size: 16px;
}
.accordion__list li + li {
     margin-top: 15px;
}
.accordion__link {
    color: #00275B;
}









/*-------------------------bogo-------------------------*/
.navi-bogo-sp {
  position: fixed;
  top:8px;
  right:62px;
  text-align: left;
  padding-left: 20px;
  margin-top:50px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navi-bogo-sp p {
  vertical-align: middle;
  margin-top: -13px;
}





/*-------------------------英語版（グーグル翻訳）-------------------------*/
/* ─── PC ヘッダーを隠す（英語ページ：幅 ≤1600px） ─── */
@media screen and (max-width: 1450px) {
  html[lang^="en"] .header-pc {
    display: none;
  }
}

/* ─── SP ヘッダーを隠す（共通：幅 ≥1300px） ─── */
@media screen and (min-width: 1300px) {
  .header-sp {
    display: none;
  }
}

/* ─── 英語ページのみ、幅 ≥1599px のとき SP ヘッダーも隠す ─── */
@media screen and (min-width: 1449px) {
  html[lang^="en"] .header-sp {
    display: none;
  }
}

/* ─── 追加：英語ページかつ 1300px ≤ 幅 ≤ 1598px のとき SP ヘッダーを表示 ─── */
@media screen and (min-width: 1300px) and (max-width: 1449px) {
  html[lang^="en"] .header-sp {
    display: flex; /* あるいは display: blockなど、SPヘッダーが本来使っているdisplay値に合わせる */
  }
}



/* --------------- google翻訳 --------------- */
.google-lang {
  position: fixed;
  top:0;
  right:30px;
  z-index: 999999999;
}
@media screen and (max-width: 1300px) {
.google-lang {
  top:0;
  right:62px;
  }
}

@media screen and (max-width: 1450px) {
html[lang^="en"] .google-lang {
  top:0;
  right:62px;
  }
}

.gt_float_switcher.notranslate {
  min-width: 150px !important;
  height: auto !important;
}
@media screen and (max-width: 757px) {
.gt_float_switcher.notranslate {
  min-width:125px !important;
  }
}
