@charset "utf-8";

/* CTA in drawer menu */
#drawer_menu .cta-btn-wrap {
  display: none;
  opacity: 0;
  position: fixed;
  bottom: 48px;
  left: calc(50% - 2px);
  z-index: 100;
  width: fit-content;
  padding-left: 16px;
  box-sizing: border-box;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  #drawer_menu .cta-btn-wrap {
    display: block;
  }
  html.open_menu #drawer_menu .cta-btn-wrap {
    opacity: 1;
  }
}
#drawer_menu .cta-btn-balloon {
  display: inline-block;
  position: absolute;
  top: -10px;
  left: 0;
  z-index: 2;
  width: 65px;
  height: 65px;
  padding: 0 5px;
  border: medium solid #000;
  border-radius: 50%;
  box-sizing: border-box;
  background-color: #fff;
  color: #000;
  font-weight: 700;
  font-size: 18px;
  line-height: 60px;
  text-align: center;
}
#drawer_menu .cta-btn-balloon::before {
  position: absolute;
  right: -16px;
  bottom: 9px;
  border: 9px solid transparent;
  border-left: 9px solid #000;
  transform: rotate(17deg);
  content: "";
}
#drawer_menu .cta-btn-balloon::after {
  position: absolute;
  right: -19px;
  bottom: 4px;
  border: 15px solid transparent;
  border-left: 15px solid #fff;
  transform: rotate(17deg);
  content: "";
}
#drawer_menu a.cta-btn {
  display: inline-block;
  position: relative;
  z-index: 1;
  width: 336px;
  padding: 20px 10px 20px 60px;
  border-bottom: 4px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  box-sizing: border-box;
  background-color: #ef9423;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 27px;
  text-decoration: none;
}
@media screen and (max-width: 375px) {
  #drawer_menu .cta-btn-wrap {
    padding-left: 4.2666666667vw;
  }
  #drawer_menu .cta-btn-balloon {
    top: -2.6666666667vw;
    width: 17.3333333333vw;
    height: 17.3333333333vw;
    font-size: 4.8vw;
    line-height: 16vw;
  }
  #drawer_menu a.cta-btn {
    width: 89.6vw;
    padding: 5.3333333333vw 2.6666666667vw 5.3333333333vw 16vw;
    font-size: 4.2666666667vw;
  }
}
#drawer_menu a.cta-btn:hover {
  opacity: 0.8;
}
#drawer_menu a.cta-btn::after {
  display: inline-block;
  color: #fff;
  padding-left: 5px;
  font-size: 20px;
  content: "»";
}
#drawer_menu a.cta-btn.animation {
  background-image: linear-gradient(280deg, #ef9423 45%, #fff 50%, #ef9423 55%);
  background-size: 500% 100%;
  animation: shine 3s infinite;
}
@keyframes shine {
  100% {
    background-position: 0% 50%;
  }
  0% {
    background-position: 100% 50%;
  }
}

/* sp global menu */
@media screen and (max-width: 767px) {
  #global_menu li a[href^="/contact_lesson"] {
    display: none;
  }
  #global_menu li a[href="/goabroad"],
  #global_menu li a[href="/column"] {
    font-size: 0.75rem;
  }
  #global_menu li a[href="/goabroad"] {
    border-top: 2px solid #fff;
  }

  /* 20250526追加 校舎案内・講師紹介・スケジュールを2列にする */
  #menu-item-160759 .child_menu .sub-menu,
  #menu-item-160757 .child_menu .sub-menu,
  #menu-item-160780 .child_menu .sub-menu{
    display: flex;
  }
  #menu-item-160759 .child_menu .sub-menu li,
  #menu-item-160757 .child_menu .sub-menu li,
  #menu-item-160780 .child_menu .sub-menu li{
    width: 50%;
  }
  #menu-item-160759 .child_menu .sub-menu li:nth-child(odd) a,
  #menu-item-160757 .child_menu .sub-menu li:nth-child(odd) a,
  #menu-item-160780 .child_menu .sub-menu li:nth-child(odd) a{
    border-right: 1px solid #fff;
  }
}
