:root {
  --point:  #50FF6D;
  --bg-bubble: #5EE4FF;
  --bg-color: linear-gradient(180deg, #000 44%, #454545 155%);
  --main-text-color: #fff;
  --black-12: #121212;
}
.contact_webinar ul {
  list-style: none;
}
.c_primary {
  color: var(--point);
}
.fw_400 {
  font-weight: 400;
}
.fw_700 {
  font-weight: 700;
}
.contact_webinar {
  position: relative;
  overflow: hidden;
  color: var(--main-text-color);
  background: var(--bg-color);
}
.contact_webinar .inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--padding-y) var(--padding-x);
  display: flex;
}
.contact_webinar .contact_header {
  position: relative;
  letter-spacing: 0;
  display: flex;
  flex-direction: column;
}
.contact_webinar .title_h2 {
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
  letter-spacing: -1px;
}
.contact_webinar .contact_bubble {
  position: relative;
  width: fit-content;
  height: 35px;
  font-weight: 700;
  line-height: 170%;
  color: var(--black-12);
  text-align: center;
  background-color: var(--bg-bubble);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 35px;
  order: -1;
}
.contact_webinar .contact_bubble::after {
  position: absolute;
  background: var(--bg-bubble);
  display: block;
  content: '';
  mask-repeat: no-repeat;
  mask-size: 100% auto !important;
}
.contact_webinar .contact_text {
  line-height: 1.7;
}
.contact_webinar .benefit_text {
  font-weight: 600;
  line-height: 1.5;
}
.contact_webinar .list_benefit {
  display: flex;
}
.contact_webinar .benefit_item {
  position: relative;
  padding: 20px 30px;
  color: var(--black-12);
  text-align: center;
  background: var(--point);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-radius: var(--border-radius);
  gap: 10px;
}
.contact_webinar .benefit_item::before {
  width: 100%;
  height: 46px;
  margin-top: auto;
  background-repeat: no-repeat; 
  background-position: center center; 
  background-size: 100% auto;
  display: block;
  content: '';
  aspect-ratio: 87 / 46;
}
.contact_webinar .benefit_item.benefit_01::before {
  background-image: url('/wp-content/themes/fastfive/assets/images/contact/icon_webinar_01.png');
}
.contact_webinar .benefit_item.benefit_02::before {
  background-image: url('/wp-content/themes/fastfive/assets/images/contact/icon_webinar_02.png');
}
.contact_webinar .notice_text {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
  color: #777;
}
/* leadform */
.contact_webinar .contact-box {
  width: 100%;
}
.contact_webinar .form-box {
  width: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: calc(var(--border-radius) * 2);
}
.contact_webinar .leadforms_box {
  width: 100%;
}
.contact_webinar .leadforms_box .wpforms-container {
  margin: 0 auto !important;
}
.contact_webinar .leadforms_box .wpforms-submit-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-top: 0 !important;
}
.contact_webinar .wpforms-field .wpforms-field-label {
  font-size: 18px;
}
.contact_webinar .check_small input:checked + label::after,
.contact_webinar .check_round input:checked + label::after {
  background-color: var(--black-12);
}
.contact_webinar .check_round input:checked + label::after {
  border-color: var(--black-12);
}
.contact_webinar div.wpforms-container-full .wpforms-form button[type=submit] {
  height: 56px;
  font-weight: 600;
  font-size: 18px !important;
  letter-spacing: 0;
  background: #aaa !important;
  border-radius: 8px;
}
.contact_webinar div.wpforms-container-full .wpforms-form button[type=submit]:not(:disabled),
.contact_webinar div.wpforms-container-full .wpforms-form button[type=submit]:not(:disabled):hover {
  background: var(--black-12) !important;
}
.contact_webinar ._cautions_box {
  font-size: 12px;
  line-height: 170%;
  color: var(--black-12);
  letter-spacing: 0;
}
.contact_webinar ._cautions_box {
  position: relative;
  width: fit-content;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  background: #F0F0F0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.contact_webinar ._cautions_box::after {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 14px;
  height: 8px;
  background-color: #F0F0F0;
  transform: translateX(-50%);
  display: block;
  content: '';
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='13' viewBox='0 0 15 13' fill='none'%3E%3Cpath d='M6.1977 0.499999C6.5826 -0.166668 7.54485 -0.166667 7.92975 0.5L13.9919 11C14.3768 11.6667 13.8957 12.5 13.1259 12.5H1.00154C0.231741 12.5 -0.249383 11.6667 0.135518 11L6.1977 0.499999Z' fill='%23F0F0F0'/%3E%3C/svg%3E") no-repeat center center / 100% auto;
}
/* leadform */
.contact_webinar input[type="text"],
.contact_webinar input[type="number"],
.contact_webinar input[type="email"] {
  border-radius: 0 !important;
}
.contact_webinar .div.wpforms-container-full .wpforms-form label.wpforms-error, 
.contact_webinar div.wpforms-container-full .wpforms-form em.wpforms-error {
  margin-top: 0 !important;
}
.contact_webinar .check_small input:checked + label::after {
  top: 2px;
}

/* desktop */
@media (min-width: 961px) {
  :root {
    --max-width: 1340px;
    --padding-x: 50px;
    --padding-y: 80px;
    --border-radius: 8px;
  }
  .hidden_pc {display: none;}
  .hidden_mo {display: block;}

  .contact_webinar .inner {justify-content: space-between;}
  .contact_webinar .contact_header {width: fit-content;padding-right: 30px;flex: 0 0 auto;}
  .contact_webinar .contact_header::before { position: absolute; right: 30px; bottom: 0; width: 135px; background: url('/wp-content/themes/fastfive/assets/images/contact/img_webinar_person.png') no-repeat center center / 100% auto; transform: translateY(var(--padding-y));  display: block; content: ''; aspect-ratio: 135 / 342;}
  .contact_webinar .title_h2 {margin-top: 16px;font-size: 52px;}
  .contact_webinar .contact_bubble {padding: 0 16px;font-size: 18px;border-radius: 18px;}
  .contact_webinar .contact_bubble::after {bottom: -10px; left: 20px; width: 12px; height: 10px;mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M6.85749 8.57084C6.46909 9.21818 5.53091 9.21818 5.14251 8.57084L8.74228e-07 -1.04907e-06L12 0L6.85749 8.57084Z' fill='%2318AA67'/%3E%3C/svg%3E");}
  .contact_webinar .contact_text {margin-top: 20px;font-size: 18px;}
  .contact_webinar .list_benefit {margin-top: 50px;gap: 18px;}
  .contact_webinar .benefit_text {font-size: 16px;}
  .contact_webinar .list_info {margin-top: 24px;}
  .contact_webinar .notice_text {margin-top: 16px;}

  /* leadform */
  .contact_webinar .check_round input + label,
  .contact_webinar .check_round input:checked + label {font-size: 16px !important;}
  .contact_webinar .check_small input + label,
  .contact_webinar .check_small input:checked + label {font-size: 14px !important;}
  .contact_webinar .contact-box {max-width: 626px;}
  .contact_webinar .form-box {padding-bottom: 56px;}
  .contact_webinar ._cautions_box {height: 31px; margin-top: 16px; padding: 0 8px; border-radius: 20px;}
}

/* mobile */
@media (max-width: 960px) {
  :root {
    --max-width: 375px;
    --padding-x: 20px;
    --padding-y: 40px;
    --border-radius: 8px;
  }
  .hidden_pc {display: block;}
  .hidden_mo {display: none;}

  .contact_webinar .inner {flex-direction: column; gap: 22px;}
  .contact_webinar .contact_header {text-align: center; align-items: center;}
  .contact_webinar .title_h2 {margin-top: 14px;font-size: 28px;border-radius: 13px;}
  .contact_webinar .contact_text {margin-top: 10px;font-size: 16px;}
  .contact_webinar .contact_bubble {padding: 0 12px;font-size: 16px;}
  .contact_webinar .contact_bubble::after {bottom: -8px; left: 50%; width: 10px; height: 8px;transform: translateX(-50%);mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M5 8L10 0H0L5 8Z' fill='%2318AA67'/%3E%3C/svg%3E");}
  .contact_webinar .contact_text {margin-top: 10px;font-size: 16px;}
  .contact_webinar .list_benefit {justify-content: center; width: 100%;margin-top: 40px;gap: 10px;}
  .contact_webinar .list_info {margin-top: 10px;}
  .contact_webinar .notice_text {margin-top: 14px;}

  /* leadform */
  .contact_webinar .wpforms-container .wpforms-field-container {padding: 30px 30px 52px !important;}
  .contact_webinar .has_error:not(.check_round), form .wpforms-error:not(input) { top: 16px !important;}
  .contact_webinar .form-box {padding-bottom: 37px;}
  .contact_webinar div.wpforms-container-full .wpforms-form .wpforms-field-label {font-size: 16px !important;}
  .contact_webinar div.wpforms-container-full .wpforms-form button[type=submit] {font-size: 16px !important; line-height: 1 !important;}
  .contact_webinar ._cautions_box {margin-top: 16px; padding: 0 8px; font-size: 11px; border-radius: 20px;}
  .contact_webinar .check_small label { font-size: 14px !important;}
  .contact_webinar .check_small input + label,
  .contact_webinar .check_small input:checked + label {padding-left: 24px !important;}

}