/* アコーディオン用キャレットアイコン */
.accordion-toggle {
  position: relative;
  padding-right: 22px;
}
.accordion-toggle::after {
  content: '';
  display: inline-block;
  position: absolute;
  right: 0;
  top: 70%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-left: 2.5px solid #888;
  border-bottom: 2.5px solid #888;
  transform: translateY(-50%) rotate(-45deg);
  pointer-events: none;
}
.left-nav2 a,.c_btn_1,.cta-button,.menu-entry{color: #222;}
.left-nav2 a:hover,.c_btn_1:hover,.cta-button:hover,.menu-entry:hover {color: #222;}
.left-nav2 a:visited,.c_btn_1:visited,.cta-button:visited,.menu-entry:visited {color: #222;}
/* BitLending メニューバー */
.bl-header-menu {
  display: flex;
  align-items: center;
position:fixed;
max-width:1400px;
  justify-content: space-between;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 12px 32px;
  height: 70px;
	width:100%;
top:30px;
	left: 50%;         
  transform: translateX(-50%);
z-index:9999;
}
.bl-header-menu nav a {
  padding-top: 17px;
}
.bl-header-menu__logo img {
  height: 32px;
  width: auto;
  display: block;
}
.bl-header-menu__nav.flex-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.left-nav2 ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.right-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.bl-header-menu__nav ul ul {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 200px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 12px 0;
  z-index: 100;
}
.bl-header-menu__nav li {
  position: relative;
}
.bl-header-menu__nav li.has-submenu:hover > ul,
.bl-header-menu__nav li.has-submenu:focus-within > ul {
  display: block;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.bl-header-menu__nav ul ul li {
  padding: 0;
  margin: 0;
  width: 100%;
}
.bl-header-menu__nav ul ul a {
  display: block;
  padding: 10px 24px;
  color: #222;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 0;
  transition: background 0.2s, color 0.2s;
}
.bl-header-menu__nav ul ul a:hover {
  background: #f2f6fa;
  color: #007aff;
}
.bl-header-menu__nav a {
  color: #222;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 700;
  font-size: 12px;
}
.bl-header-menu__nav a:hover {
  color: #007aff;
}
.bl-header-menu__nav > ul > li > a {
  padding: 8px 0;
  display: block;
  position: relative;
}
.bl-header-menu__nav > ul > li.has-submenu > a::after {
  content: '';
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  border-top: 6px solid #888;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  width: 0;
  height: 0;
}
.bl-header-menu__nav .login-btn {
  background: #007aff;
  color: #fff;
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: bold;
  transition: background 0.2s;
}
.bl-header-menu__nav .login-btn:hover {
  background: #005bb5;
}
/* 新規登録・ログインボタン用 */
.bl-header-menu__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-left: 32px;
}
.bl-header-menu__actions .register-btn {
  background: #fff;
  color: #007aff;
  border: 2px solid #007aff;
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}
.bl-header-menu__actions .register-btn:hover {
  background: #007aff;
  color: #fff;
}
.bl-header-menu__actions .login-btn {
  background: #007aff;
  color: #fff;
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: bold;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.bl-header-menu__actions .login-btn:hover {
  background: #005bb5;
}

/* --- スマホ用ヘッダー・メニュー --- */
#sp-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 10px 16px;
  height: 48px;
  position: relative;
  z-index: 1001;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.sp-header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: 10px;
}
.login{left:15px;}
.sp-header-actions .butt0 {
  width: 88px;
  height: 36px;
  font-size: 11px;
  padding: 0 8px;
  border-radius: 4px;
  line-height: 36px;
}
.sp-logo img {
  height: 32px;
  width: auto;
}
.sp-menu-button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.sp-menu-bar {
  display: block;
  width: 24px;
  height: 3px;
  background: #222;
  border-radius: 2px;
  transition: all 0.3s;
}
#sp-menu {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #031A46;
  z-index: 2000;
  flex-direction: column;
  padding: 24px 16px 40px 16px;
  overflow-y: auto;
  transition: left 0.3s;
}
#sp-menu.open {
  display: flex;
}
.sp-back-button {
  background: none;
  border: none;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 32px;
  height: 32px;
  z-index: 10;
}
.sp-menu-list {
  list-style: none;
  padding: 0;
  margin: 48px 0 0 0;
  width: 100%;
}
.sp-menu-list > li {
  margin-bottom: 12px;
}
.sp-menu-list > li > a {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: block;
  padding: 12px 0 8px 0;
  transition: opacity 0.2s;
}
.sp-menu-list > li > a:hover,
.sp-menu-list .has-submenu > ul li a:hover,
.sp-menu-actions a:hover {
  opacity: 0.7;
}
.sp-menu-list .has-submenu > ul {
  display: none;
  background: #02102a;
  border-radius: 8px;
  margin: 4px 0 8px 0;
  padding: 4px 0 4px 16px;
}
.sp-menu-list .has-submenu > ul.open {
  display: block;
}
.sp-menu-list .has-submenu > ul li a {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 400;
  padding: 8px 0;
  display: block;
}
.sp-menu-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sp-menu-actions a {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

.menu-expand {
  width:5px;
  height:8.26px;
  top:18.87px;
  right:14px;
}
/* 新規登録ボタン（オレンジ） */
.shinki {
  background: #EE5D1C;
  color: #fff !important;
}
.login {
  color: #222222;
}
/* 新規登録・ログイン共通ボタン */
.butt0 {
  width: 130px;
  height: 46px;
  text-align: center;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.yajirushi{
  width:5px;
  height:8.26px;
  top:18.87px;
  right:14px;
}
/* サブメニューの親liにマウスが乗った時、親リンクの色を変える */
.bl-header-menu__nav li.has-submenu:hover > a,
.bl-header-menu__nav li.has-submenu:focus-within > a {
  color: #007aff;
}
/* サブメニューの矢印色も変化 */
.bl-header-menu__nav li.has-submenu:hover > a::after,
.bl-header-menu__nav li.has-submenu:focus-within > a::after {
  border-top-color: #007aff;
}

/* --- PC/スマホ切替 --- */
@media (max-width: 1200px) {
  .bl-header-menu {
    display: none !important;
  }

  #sp-header {
	  display:flex;
	  
    position: fixed;
	max-width:1400px;
	   top: 0;            /* 上端に配置 */
  left: 0;           /* 左端に配置 */
  width: 100%;       /* 横幅いっぱい */
  z-index: 1000; 
  }
.sp-logo img {
  height: 25px;
  width: auto;
}
  .bl-header-menu__nav.flex-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .left-nav2 ul {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .right-nav {
    margin-top: 12px;
    justify-content: flex-start;
  }
  .bl-header-menu__actions {
    margin-left: 0;
    margin-top: 12px;
    justify-content: flex-start;
  }
  .bl-header-menu {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 8px;
  }
  .bl-header-menu__nav > ul {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .bl-header-menu__nav ul ul {
    position: static;
    min-width: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    background: #f8fafd;
  }
  .bl-header-menu__nav ul ul a {
    padding: 10px 16px;
  }
  .yajirushi{
    width:5px;
    height:8.26px;
    top:15px;
    right:5px;
  }
}
@media (min-width: 1201px) {
  #sp-header, #sp-menu {
    display: none !important;
  }
}
/* 固定ヘッダーのフェード用（PC/SP共通） */
.bl-header-menu,
#sp-header {
  transition: opacity 0.25s ease;
  will-change: opacity;
}

/* ほぼ透明になったらクリックを通さない */
.bl-header-menu.is-faded,
#sp-header.is-faded {
  pointer-events: none;
}

/* 低減動作ユーザー向け：トランジション無効化 */
@media (prefers-reduced-motion: reduce) {
  .bl-header-menu,
  #sp-header {
    transition: none;
  }
}
