@charset "utf-8";

/* header */
.logo {
  width: 200px;
}

#top-head {
  top: -100px;
  position: absolute;
  width: 100%;
  margin: 100px auto 0;
  padding: 12px 0 0;
  line-height: 1;
  z-index: 100;
}

#top-head a,
#top-head {
  color: #000;
  text-decoration: none;
}

#top-head .inner {
  position: relative;
}

#top-head .logo {
  font-size: 36px;
}

#top-head .forB {
  width: 100%;
  text-align: right;
  margin-bottom: 8px;
}

#top-head .forB {
  display: flex;
  justify-content: flex-end;
}

#top-head .forB span {
  width: 20%;
  max-width: 120px;
  font-size: 14.8px;
  font-weight: bold;
  letter-spacing: 0.08em;
  color: #333;
  border-left: 6px solid #D92332;
  text-align: left;
  padding-left: 16px;
}

#top-head .forB> :last-child {
  margin-right: 68px;
  /* width: 26vw;
  max-width: 280px;
  border-left: 0px solid #D92332; */
}

#global-nav {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: 1498px;
  margin: 0 auto;
}

.g-nav-wrap {
  width: 100%;
}

#global-nav ul {
  width: 60%;
  font-size: clamp(12px, 1.3vw, 16.8px);
  padding-top: 12px;
}

#global-nav ul {
  font-size: 16.8px;
  font-weight: bold;
  letter-spacing: 0.1em;
  display: flex;
  margin: 0 0 0 auto;

}

#global-nav ul li {
  height: 30px;
  width: 100%;
  max-width: 168px;
  border-left: 6px solid #999;
  transition: .3s ease;
  background: inherit;
  position: relative;
  padding-top: 5px;
  padding: 5px 20px 0 18px;
  z-index: 1;
}

#global-nav ul li a {
  padding: 5px 0 0 12px;
  transition: .3s ease;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 3;
}

#global-nav ul li .BG {
  background: inherit;
  width: 0%;
  transition: .3s ease;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  height: 30px;
  border-radius: 0 20px 20px 0;
}

#global-nav ul li:nth-of-type(1) {
  border-left: 6px solid #0580e7;
  color: #0580e7;
}

#global-nav ul li:nth-of-type(1) a {
  color: #0580e7;
}

#global-nav ul li:nth-of-type(2) {
  border-left: 6px solid #04b445;
  color: #04b445;
}

#global-nav ul li:nth-of-type(2) a {
  color: #04b445;
}

#global-nav ul li:nth-of-type(3) {
  border-left: 6px solid #039b3c;
  color: #039b3c;
}

#global-nav ul li:nth-of-type(3) a {
  color: #039b3c;
}

#global-nav ul li:nth-of-type(4) {
  border-left: 6px solid #ff7700;
  color: #ff7700;
}

#global-nav ul li:nth-of-type(4) a {
  color: #ff7700;
}

#global-nav ul li:nth-of-type(5) {
  border-left: 6px solid #e78005;
  color: #e78005;
}

#global-nav ul li:nth-of-type(5) a {
  color: #e78005;
}

#global-nav ul li a:hover {
  color: #fff;
  transition: .1s ease;
}

#global-nav ul li a:hover+.BG {
  width: 100%;
  background: rgba(233, 171, 18, 1);
}

#global-nav ul li:nth-of-type(1) a:hover+.BG {
  background-color: #0580e7;
}

#global-nav ul li:nth-of-type(2) a:hover+.BG {
  background-color: #04b445;
}

#global-nav ul li:nth-of-type(3) a:hover+.BG {
  background-color: #039b3c;
}

#global-nav ul li:nth-of-type(4) a:hover+.BG {
  background-color: #ff7700;
}

#global-nav ul li:nth-of-type(5) a:hover+.BG {
  background-color: #e78005;
}


/* Fixed */
#top-head.fixed {
  margin-top: 0;
  top: 0;
  position: fixed;
  padding-top: 10px;
  height: 55px;
  background: #fff;
  background: rgba(255, 255, 255, .7);
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
}


#top-head #global-nav .loginBTNs {
  position: relative;
  margin-top: 10px;
  padding-bottom: 24px;
  /* top: -8px;
  right: 12px; */
}

#top-head #global-nav .BtnLogin {
  width: 126px;
  height: 36px;
  border: 3px solid #D92332;
  color: #D92332;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .24s ease;
  background: #fff;
  margin-bottom: 0px;
  margin-top: -12px;
}

#top-head #global-nav .BtnLogin:hover {
  background: #D92332;
  border: 3px solid #D92332;
  color: #fff;
}

/* sp_head_menu */

header .sp_head_menu {
  background-color: #ffc73b!important;
}

header .no_icon_logo {
  width: 100%;
  padding: 24px;
  max-width: 240px;
}

.sp_head_menu .list{
  width: 100%;
  padding: 24px;
  background-color: #fff;
  position: relative;
  top: inherit;
  left: inherit;
  transform: inherit;
}

.sp_head_menu .list2 {
  display: flex;
  padding: 24px;
  gap: 24px;
  position: relative;
  top: inherit;
  left: inherit;
  transform: inherit;
}


.sp_head_menu .list li {
  height: 30px;
  width: 100%;
  max-width: 300px;
  min-height: 44px;
  border-left: 6px solid #999;
  transition: .3s ease;
  background: inherit;
  position: relative;
  padding-top: 5px;
  padding: 10px 20px 10px 18px;
  z-index: 1;
  margin-bottom: 8px;
}

.sp_head_menu .list li a {
  padding: 12px 0 0 12px;
  transition: .3s ease;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 3;
}

.sp_head_menu .list li .BG {
  background: inherit;
  width: 0%;
  transition: .3s ease;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  border-radius: 0 20px 20px 0;
}

.sp_head_menu .list li:nth-of-type(1) {
  border-left: 6px solid #0580e7;
  color: #0580e7;
}

.sp_head_menu .list li:nth-of-type(1) a {
  color: #0580e7;
}

.sp_head_menu .list li:nth-of-type(2) {
  border-left: 6px solid #04b445;
  color: #04b445;
}

.sp_head_menu .list li:nth-of-type(2) a {
  color: #04b445;
}

.sp_head_menu .list li:nth-of-type(3) {
  border-left: 6px solid #039b3c;
  color: #039b3c;
}

.sp_head_menu .list li:nth-of-type(3) a {
  color: #039b3c;
}

.sp_head_menu .list li:nth-of-type(4) {
  border-left: 6px solid #ff7700;
  color: #ff7700;
}

.sp_head_menu .list li:nth-of-type(4) a {
  color: #ff7700;
}

.sp_head_menu .list li:nth-of-type(5) {
  border-left: 6px solid #e78005;
  color: #e78005;
}

.sp_head_menu .list li:nth-of-type(5) a {
  color: #e78005;
}

.sp_head_menu .list li a:hover {
  color: #fff;
  transition: .1s ease;
}

.sp_head_menu .list li a:hover+.BG {
  width: 100%;
  background: rgba(233, 171, 18, 1);
}

.sp_head_menu .list li:nth-of-type(1) a:hover+.BG {
  background-color: #0580e7;
}

.sp_head_menu .list li:nth-of-type(2) a:hover+.BG {
  background-color: #04b445;
}

.sp_head_menu .list li:nth-of-type(3) a:hover+.BG {
  background-color: #039b3c;
}

.sp_head_menu .list li:nth-of-type(4) a:hover+.BG {
  background-color: #ff7700;
}

.sp_head_menu .list li:nth-of-type(5) a:hover+.BG {
  background-color: #e78005;
}




.sp_myinfo { 
  visibility: hidden;
  height: 90px;
}

@media screen and (max-width: 640px) {

  .logo {
    width: 150px;
  }

  #top-head,
  .inner {
    width: 100%;
    padding: 0;
  }

  #top-head {
    top: 0;
    position: absolute;
    margin-top: 0;
  }

  /* Fixed reset */
  #top-head.fixed {
    padding-top: 0;
    background: transparent;
  }

  #mobile-head {
    background: transparent;
    width: 100%;
    height: 56px;
    /* z-index: 999; */
    position: relative;
  }

  #top-head.fixed .logo,
  #top-head .logo {
    position: absolute;
    left: 13px;
    top: 13px;
    color: #333;
    font-size: 26px;
  }

  #global-nav {
    position: absolute;

    /* 開いてないときは画面外に配置 */
    top: -500px;
    background: transparent;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
  }

  #global-nav ul {
    list-style: none;
    position: static;
    right: 0;
    bottom: 0;
    font-size: 14px;
  }

  #global-nav ul li {
    position: static;
  }

  #top-head #global-nav ul li a,
  #top-head.fixed #global-nav ul li a {
    width: 100%;
    display: block;
    color: #fff;
    padding: 18px 0;
  }

  #nav-toggle {
    display: block;
  }

  /* #nav-toggle 切り替えアニメーション */
  .open #nav-toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }

  .open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }

  .open #nav-toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }

  /* #global-nav スライドアニメーション */
  .open #global-nav {
    /* #global-nav top + #mobile-head height */
    -moz-transform: translateY(556px);
    -webkit-transform: translateY(556px);
    transform: translateY(556px);
  }

  /* SP login button */

  .loginBTNs {
    width: 100%;
    max-width: 240px;
    margin: 24px 0 24px 24px;
  }

  .sp_myinfo .wrapper .loginBTNs {
    transform: scale(.8);
    max-width: 60px;
    margin: 0px auto;
  }

  .GsapMenu .menu .BtnLogin {
    width: 126px;
    height: 36px;
    border: 3px solid #D92332;
    color: #D92332;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .24s ease;
    background: #fff;
    margin-bottom: 0px;
    margin-top: -12px;
  }

  .GsapMenu .menu .BtnLogin:hover {
    background: #D92332;
    border: 3px solid #D92332;
    color: #fff;
  }

  .sp_myinfo {
    display: block;
    height: 120px;
    width: 100%;
    padding: 24px;
    font-size: 14px;
    padding-top: 60px;
    visibility: visible;
  }

  .sp_myinfo .wrapper {
    display: flex;
    justify-content: space-between;
  }

  .sp_myinfo .wrapper ul li {
    padding-left: 4.8px;
    margin-bottom: 4.8px;
  }
}