@charset "utf-8";

:root {
  --color-gold: #ffd700;
  --color-silver: #c0c0c0;
  --color-bronze: #b87333;
}
/* PC用 */
@media screen and (min-width: 768px) {
  #main {
    padding-top: 160px;
  }
  header {
    width: 100%;
    position: fixed;
    top: 0;
    font-family: "meiryo", "メイリオ", "Hiragino Kaku Gothic Pro", "メイリオ",
      Meiryo, "ＭＳ Ｐゴシック", sans-serif;
    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: 1.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 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: flex;
    width: 100%;
    position: relative;
    /* font-size: 32px; */
    font-size: 20px;
    /* text-align: center; */
    align-items: center;
    color: #054656;
    letter-spacing: 0em;
    z-index: 2;
  }
  .header-logo-text_p.logo-title{
    left: 0.5em;
    z-index: 2;
  }
  .header-logo-text_img {
    width: auto;
    height: 68px;
    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;
  }
  .sp-menu-btn {
    display: none;
  }

  .header-menu-area {
    width: 100%;
    height: 80px;
    padding-left: 20px;
    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;
  }
  .sp-only-sns {
    display: none;
  }
}

/* スマホ用 */
@media screen and (max-width: 767.98px) {
  #main {
    padding-top: 160px;
  }

  body#main.active {
    overflow: hidden; /* スクロールを無効にする */
  }

  header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 9999;
  }

  .li_a {
    cursor: pointer;
    transition: 0.3s;
    line-height: 2;
  }
  .header-menu-area_li a.li_a,
  .header-menu-area_li div.li_a,
  .submenu-1_li a.li_a,
  .submenu-2_li a.li_a {
    margin-left: 1em;
  }

  .header-menu-area_li a.li_a::before,
  .submenu-1_li a.li_a::before,
  .submenu-2_li a.li_a::before {
    /* content: "▶"; */
  }
  .header-menu-area_li div.li_a.osusume-link::after,
  .header-menu-area_li a.li_a.osusume-link::after,
  .header-menu-area_li div.li_a::after,
  .submenu-1_li div.li_a::after {
    display: inline-block;
    content: "▼";
    margin-left: 0.5em;
    transition: 0.3s;
  }
  .has-submenu-1.active > div.li_a.osusume-link::after,
  .has-submenu-1.active > a.li_a.osusume-link::after,
  .has-submenu-1.active > div.li_a::after,
  .submenu-1_li.has-submenu-2.active div.li_a::after {
    transform: rotate(180deg);
  }

  .header-logo-area {
    display: flex;
    position: relative;
    width: 100%;
    height: 60px;
    padding: 0 16px;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    background-color: white;
  }
  .logo {
    width: auto;
    height: 100%;
  }
  .header-logo_img {
    width: auto;
    height: 100%;
  }
  .header-logo-text {
    /* display: flex; */
    /* position: absolute; */
    /* left: 50%; */
    /* top: 8px; */
    /* transform: translateX(-50%); */
    /* width: max-content; */
    width: fit-content;
    /* height: 60px; */
    justify-content: center;
  }
  .header-logo-text_p {
    display: flex;
    width: 100%;
    position: relative;
    font-size: 14px;
    /* text-align: center; */
    color: #054656;
    align-items: center;
    letter-spacing: 0em;
    z-index: 2;
  }
  .header-logo-text_p.logo-title{
    left: 0.25em;
    z-index: 2;
  }
  .header-logo-text_img {
    width: auto;
    height: 46px;
    position: absolute;
    top:50%;
    right:0.25em;
    transform: translateY(-50%);
    z-index: -1;
  }
  .header-logo-text_p.hirogeru {
    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 {
    display: none;
  }
  .sp-menu-btn {
    display: flex;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: solid #161a25 2px;
    align-items: center;
    justify-content: center;
  }
  .sp-menu-btn span {
    position: absolute;
    width: 30px;
    height: 2px;
    border-radius: 1px;
    background-color: #161a25;
    transition: 0.3s;
  }
  .sp-menu-btn.active span {
    width: 0;
  }
  .sp-menu-btn span::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);

    border-radius: 1px;
    background-color: #161a25;
    transition: 0.3s;
  }
  .sp-menu-btn.active span::before {
    width: 30px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .sp-menu-btn span::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    background-color: #161a25;
    transition: 0.3s;
  }

  .sp-menu-btn.active span::after {
    width: 30px;
    height: 2px;
    top: 50%;
    bottom: unset;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .header-menu-area {
    position: absolute;
    width: 100%;
    height: calc(100dvh - 60px);
    padding: 2em 0 2em 1em;
    /* background-color: #e6e6e6; */
    background-color: #161a25;
    right: 0;
    transform: translateX(100%);
    transition: 0.3s;
    overflow-y: scroll;
    overflow-x: hidden;
  }
  .header-menu-area.active {
    transform: translateX(0%);
  }

  .header-menu-area_ul {
    display: block;
    width: 100%;
    /* height: 100%; */
    /* gap: 20px; */
  }
  .header-menu-area_li {
    /* display: flex; */
    width: fit-content;
    height: 100%;
    padding: 1em 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; */
    background-color: #161a25;
    cursor: pointer;
    transition: 0.3s;
  }

  .header-menu-area_li .li_a {
    position: relative;
    /* color: #161a25; */
    color: white;
    font-size: 16px;
    text-decoration: none;
  }
  /* 下層メニュー1 */
  .has-submenu-1 {
    width: 100%;
    position: relative;
  }
  .has-submenu-1 .submenu-1_ul {
    /* width: max-content; */
    width: 100%;
    height: 0;
    /* height: min-content; */

    position: absolute;
    position: relative;
    left: 0;
    bottom: 0;
    /* top:0; */
    /* transform: translateY(100%); */
    /* background-color: white; */
    background-color: #161a25;
    transition: 0.3s;
    -webkit-clip-path: inset(0 0 100% 0);
    clip-path: inset(0 0 100% 0);
  }
  .submenu-1_li {
    padding: 1em 1em 1em 1em;
  }
  .submenu-1_li:hover > .li_a {
    /* cursor: pointer; */
    /* color: blue; */
  }
  .has-submenu-1.active .submenu-1_ul {
    position: relative;
    height: auto;
    transform: none;
    -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);
    }
  }

  .submenu-1_li-sns_img {
    display: inline;
    width: auto;
    height: 1.6em;
    margin-right: 0.5em;
    padding: 0.1em;
    border-radius: 6px;
    background-color: white;
  }
  .li_a.submenu-1_li-sns_a {
    display: flex;
    height: auto;
    align-items: center;
  }

  /* 下層メニュー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; */
    background-color: #161a25;
    -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: 1em 1em 1em 2em;
  }
}

/* FXアイコン */
.submenu-1_li.icon-fx a.li_a,
.submenu-2_li.icon-fx a.li_a {
  line-height: 2;
  margin-left: 0.5em;
}
.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-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: "②";
  color: var(--color-silver);
  position: relative;
  top:0.15em;
  /* background-color: var(--color-silver); */
  /* color: black; */
}
.icon-fx.rank-3rd::before {
  content: "③";
  color: var(--color-bronze);
  position: relative;
  top:0.15em;
  /* 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.3em;
  border-radius: 50%;
}
@media screen and (max-width: 767.98px) {
  .icon-fx.rank-1st::before,
  .icon-fx.rank-2nd::before,
  .icon-fx.rank-3rd::before {
    font-size: 3rem;
  }
}

.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"); */
  background: url("../images/swifttrader.webp"), white;
  border-radius: 4px;
}
.icon-fxgt a.li_a::before {
  background-image: url("../images/fxgt.webp");
}
.icon-zoomex a.li_a::before {
  background-image: url("../images/zoomex.webp");
}
