/* -------------------------------
mobile styling
------------------------------- */

/* Reusable Classes */
body {
  font-size: 14px;
}

h1 {
  font-size: 24px;
  margin-bottom: 24px;
}
h2 {
  font-size: 20px;
  margin-bottom: 16px;
}
h3 {
  font-size: 18px;
}
.container {
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 40px;
}
.btn_basic {
  padding: 12px 24px;
  width: 60%;
  margin-left: auto;
}
.triangle {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 12px solid #fff;
}
.separator {
  margin-top: 24px;
  margin-bottom: 24px;
}
/* Header */
header {
  background: var(--yellow);
  height: 70px;
  justify-content: space-between;
  padding: 0 20px;
  align-items: center;
}
header > a {
  font-size: 1.5em;
}
.header_hamburger {
  width: 40px;
  height: 40px;
}
.hamburger {
  height: 100%;
  z-index: 20;
  position: relative;
}
.hamburger span {
  display: block;
  position: relative;
  left: 50%;
  width: 30px;
  height: 1.5px;
  transform: translateX(-50%);
  background: #333;
  transition: all 0.4s;
}

.hamburger span:nth-of-type(1) {
  top: -8px;
}

.hamburger span:nth-of-type(2) {
  top: -3px;
}

.hamburger span:nth-of-type(3) {
  top: 3px;
}

.hamburger .hamburger_text {
  display: block;
  top: 8px;
  background: transparent;
  color: #333;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  width: fit-content;
  left: 50%;
  transform: translateX(-50%);
}

.hamburger.is-active span:nth-of-type(1) {
  top: 0;
  transform: translateX(-50%) rotate(225deg);
}

.hamburger.is-active span:nth-of-type(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-of-type(3) {
  top: -4px;
  transform: translateX(-50%) rotate(-225deg);
}

.header_nav {
  top: 0;
  right: -100%;
}

.header_nav.is-active {
  position: fixed;
  top: 0;
  right: 0;
  background: var(--yellow);
  opacity: 1;
  transition: 0.6s;
}

.nav {
  padding-top: 72px;
  padding-bottom: 72px;
}

.nav_list {
  display: block;
  width: 100%;
  padding-right: 20px;
  padding-left: 20px;
  background: var(--yellow);
}

.nav_item {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
}
.nav_list .nav_item:last-child {
  margin-bottom: 0;
}

/* Page - home */
/* Page - home - hero */
.hero {
  flex-direction: column-reverse;
  margin: 40px 0;
  padding: 0 20px;
  row-gap: 24px;
}
.hero_class_info,
.hero_class_info_detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero_class_info > p {
  color: var(--orange);
}
.hero_class_info h1 {
  font-size: 32px;
  line-height: 1.2;
}
.hero_class_info span {
  font-size: 12px;
}
.hero_class_info_address,
.hero_class_info_phone {
  column-gap: 16px;
}
#location,
#phone {
  fill: var(--blue);
  width: 30px;
  height: 30px;
}
.hero_class_info_detail p {
  line-height: 1.2;
}
/* Page - home - thought_intro */
.home_thought_intro_content p {
  margin-bottom: 1em;
}
.home_thought_intro {
  flex-direction: column;
  row-gap: 24px;
}

/* Page - home - ability */
.home_ability_circle_item {
  width: calc(100% / 4);
}
/* Page - home - feature */
.home_feature_items {
  margin-bottom: 24px;
}
.home_feature_items figure,
.home_feature_items_text h3 {
  margin-bottom: 16px;
}

/* page - thought */
.page_thought_intro {
  gap: 24px;
}
.page_thought_intro strong {
  font-size: 18px;
}
.benefits dl {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.benefits dt {
  padding: 8px 16px;
  margin-bottom: 12px;
}
.profile_content {
  flex-direction: column;
  gap: 24px;
}
.ranked {
  box-sizing: border-box;
  margin-top: 24px;
}
.ranked td {
  padding-right: 1em;
  line-height: 1.4;
  white-space: nowrap;
}
.profile_info strong {
  font-size: 20px;
  margin-bottom: 12px;
  display: block;
}
/* page - class */
.class_info_item {
  flex-direction: column-reverse;
  gap: 24px;
  margin-bottom: 40px;
}
.class_info_item:last-child,
.feature_item:last-child {
  margin-bottom: 0;
}
.feature_item {
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}
.class_info_item h3,
.feature_item h3 {
  margin-bottom: 12px;
}
.feature_item h3 {
  margin-left: auto;
  margin-right: auto;
}
/* page - plan */
h2.course_heading::after {
  width: 30px;
}
.plans_content {
  flex-direction: column;
  row-gap: 12px;
}
.plans_schedule,
.plans_price {
  padding: 20px;
  gap: 24px;
}
.plans .separator:last-child {
  display: none;
}

/* page - schedule */
.xo-month-wrap {
  width: 45%;
}
/* Footer */
footer {
  padding: 20px;
  flex-direction: column;
}
.footer_class_info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.class_name {
  font-size: 32px;
  line-height: 1.2;
}
.class_name span,
.footer_class_info_phone_number::after {
  font-size: 12px;
}
.footer_contact_info_phone span {
  text-align: right;
}
.footer_contact_info figure {
  width: 30px;
  height: 30px;
}
.footer_contact_info_phone p {
  font-size: 24px;
  font-weight: 900;
}
.footer_contact_info_phone,
.footer_contact_info_line {
  column-gap: 16px;
}
.footer_class_info_phone_number {
  padding-bottom: 14px;
}
.footer_contact_info_line p {
  font-size: 24px;
}
.footer_contact_info {
  gap: 24px;
  margin-bottom: 24px;
}
.copyright {
  text-align: center;
}
