@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");

:root {
  --color-gold: #ffd700;
  --color-silver: #c0c0c0;
  --color-bronze: #b87333;
}

#main {
  padding-top: 160px;
}
header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 9999;
}
.li_a {
  cursor: pointer;
  transition: 0.3s;
  line-height: 2;
}
.header-menu-area_li:hover .li_a:hover {
  color: blue;
}
.submenu-1_li a.li_a,
.submenu-2_li a.li_a {
  margin-left: 0.5em;
}
.submenu-1_li a.li_a.osusume-link{
  margin-left: unset;
}
.submenu-1_li a.li_a::before,
.submenu-2_li a.li_a::before {
  content: "▶";
}
.submenu-1_li a.li_a.osusume-link::before ,
  .submenu-1_li div.li_a::before {
  display: inline-block;
  content: "▼";
  transition: 0.3s;
}
.submenu-1_li.has-submenu-2.active div.li_a::before {
  transform: rotate(180deg);
}

.header-logo-area {
  display: flex;
  width: 100%;
  height: 80px;
  padding: 0 40px;
  background-color: white;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}
.logo {
  width: auto;
  height: 100%;
}
.header-logo_img {
  width: auto;
  height: 100%;
}
.header-logo-text {
  /* display: flex; */
  width: fit-content;
  justify-content: center;
}
.header-logo-text_p {
  /* display: block; */
  display: flex;
  width: 100%;
  position: relative;
  font-size: 20px;
  align-items: center;
  /* text-align: center; */
  color:#054656;
  letter-spacing: 0em;
  line-height: 1;
  z-index: 2;
}
.header-logo-text_p.logo-title{
  left: 0.5em;
  z-index: 2;
}
.header-logo-text_img{
  width: auto;
  height: 60px;
  position: absolute;
  top:50%;
  right:0.5em;
  transform: translateY(-50%);
  z-index: -1;
}
.header-logo-text_p.hirogeru {
  letter-spacing: 0.8em;
  font-family: "Noto Sans JP", system-ui;
  font-optical-sizing: auto;
  font-style: normal;
}
.text-darkblue{
  color:#054656;
}
.text-orange{
  color: #E45729;
}
.text-fw600{
  font-weight: 600;
}

.header-sns_a {
  transition: 0.3s;
}
.header-sns_a:hover {
  opacity: 0.5;
}
.header-sns {
  display: flex;
  width: fit-content;
  height: fit-content;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}
.header-sns_img {
  display: block;
  width: 40px;
  height: auto;
}

.header-menu-area {
  width: 100%;
  height: 80px;
  padding-left: 80px;
  background-color: #e6e6e6;
}
.header-menu-area_ul {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 20px;
}
.header-menu-area_li {
  display: flex;
  width: fit-content;
  height: 100%;
  padding: 0 0.5em;
  position: relative;
  list-style: none;
  align-items: center;
  z-index: 1;
}
.header-menu-area_li:hover::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 90%;
  border-radius: 10px 10px 0 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  cursor: pointer;
  transition: 0.3s;
}

.header-menu-area_li .li_a {
  position: relative;
  color: #161a25;
  font-size: 16px;
  text-decoration: none;
}
/* 下層メニュー1 */
.has-submenu-1 {
  position: relative;
}
.has-submenu-1 .submenu-1_ul {
  width: max-content;
  min-width: 100%;
  height: fit-content;
  position: absolute;
  left: 0;
  bottom: 1px;
  transform: translateY(100%);
  background-color: white;
  transition: 0.3s;
  -webkit-clip-path: inset(0 0 100% 0);
  clip-path: inset(0 0 100% 0);
}
.submenu-1_li {
  padding: 0.5em 1em;
}
.submenu-1_li:hover > .li_a {
  cursor: pointer;
  color: blue;
}
.has-submenu-1:hover .submenu-1_ul {
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
  /* animation: submenu-open 0.3s 1 both; */
}
@keyframes submenu-open {
  0% {
    -webkit-clip-path: inset(0 0 100% 0);
    clip-path: inset(0 0 100% 0);
  }
  100% {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
  }
}

/* 下層メニュー2 */
.submenu-2_li {
  padding-left: 1em;
  list-style: none;
}
.has-submenu-2 {
  position: relative;
}
.has-submenu-2 .submenu-2_ul {
  width: max-content;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: white;
  -webkit-clip-path: inset(0 0 100% 0);
  clip-path: inset(0 0 100% 0);
  transition: 0.3s;
}
.has-submenu-2.active {
  padding-bottom: 0;
}

.has-submenu-2.active .submenu-2_ul {
  position: relative;
  /* -webkit-clip-path: inset(0 0 0 0); */
  /* clip-path: inset(0 0 0 0); */
  transition: 0.3s;
  animation: submenu-open 0.3s 1 both;
}
.submenu-2_li {
  padding: 0.5em 1em;
}
.submenu-2_li:hover .li_a:hover {
  cursor: pointer;
  color: blue;
}
.submenu-2_li:hover {
  cursor: pointer;
  color: blue;
}

/* FXアイコン */
.submenu-1_li.icon-fx a.li_a,
  .submenu-2_li.icon-fx a.li_a{
  line-height: 2;
}
.submenu-1_li.icon-fx a.li_a::before,
  .submenu-2_li.icon-fx a.li_a::before {
  content: "";
  display: inline-flex;
  position: relative;

  width: 1.5em;
  height: 1.5em;
  margin-right: 0.5em;

  align-items: center;
  transform: translateY(-25%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.icon-bybit a.li_a::before{
background-image: url("../images/bybit.webp");
}
.icon-bitget a.li_a::before{
  background-image: url("../images/Bitget.webp");

}
.icon-mexc a.li_a::before{
  background-image: url("../images/MEXC.webp");

}
.icon-vantage a.li_a::before{
  background-image: url("../images/vantage.webp");

}
.icon-swift a.li_a::before{
  background-image: url("../images/swifttrader.webp");

}
.icon-fxgt a.li_a::before{
  background-image: url("../images/fxgt.webp");

}
.icon-zoomex a.li_a::before{
  background-image: url("../images/zoomex.webp");

}
.icon-fx.rank-1st::before {
  content: "①";
  color: var(--color-gold);
  position: relative;
  top:0.15em;
  /* background-color: var(--color-gold); */
  /* color: black; */
}
.icon-fx.rank-2nd::before {
  content: "②";
  position: relative;
  top:0.15em;
  /* background-color: var(--color-silver); */
  color: var(--color-silver);
  /* color: black; */
}
.icon-fx.rank-3rd::before {
  content: "③";
  position: relative;
  top:0.15em;
  color: var(--color-bronze);
  /* background-color: var(--color-bronze); */
  /* color: white; */
}
.icon-fx.rank-1st::before,
.icon-fx.rank-2nd::before,
.icon-fx.rank-3rd::before {
  font-size: 1.3rem;
  padding: 0 0.2em;
  border-radius: 50%;
}
