.cert-top-banners {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 20px auto 0;
  padding: 0 20px;
}
.cert-top-banners a {
  flex: 1 1 0;
  min-width: 0;
  line-height: 0;
}
.cert-top-banners img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 640px) {
  .cert-top-banners {
    flex-direction: column;
    gap: 12px;
    padding: 0 16px;
  }
}

.cert-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 110px 20px 60px;
  background: #f4f4f1;
}
@media (max-width: 640px) {
  .cert-hero {
    padding: 80px 16px 40px;
  }
}

.cert-hero__boomerang {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: min(720px, 76vw);
  height: auto;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

.cert-hero__title {
  position: relative;
  z-index: 1;
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 68px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d93426;
  margin: 0;
  line-height: 1;
}
@media (max-width: 640px) {
  .cert-hero__title {
    font-size: 38px;
  }
}

.cert-hero__subtitle {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 500;
  color: #333;
  letter-spacing: 6px;
  margin: 22px 0 0;
}
@media (max-width: 640px) {
  .cert-hero__subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    margin-top: 14px;
  }
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 20px;
}
@media (max-width: 1080px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 640px) {
  .cert-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }
}

.cert-grid__empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 0;
  color: #666;
}

.cert-card {
  --cert-color: #d93426;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border: 6px solid var(--cert-color);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.cert-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cert-card .cert-card__bar {
  background: var(--cert-color);
}
.cert-card .cert-card__schedule ul li {
  color: var(--cert-color);
}
.cert-card .cert-card__trainer-label em,
.cert-card .cert-card__trainer-name {
  color: var(--cert-color);
}
.cert-card .cert-card__trainer-name {
  border-bottom-color: var(--cert-color);
}
.cert-card .cert-card__price-campaign {
  color: var(--cert-color);
}
.cert-card .cert-card__apply-btn {
  background: var(--cert-color);
}

.cert-card__dark {
  background: #0a0a0a;
}

.cert-card__bar {
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  padding: 8px 14px;
}

.cert-card__media {
  position: relative;
  line-height: 0;
}
.cert-card__media img {
  width: 100%;
  height: auto;
  display: block;
}

.cert-card__play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
  padding: 0;
}
.cert-card__play span {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  position: relative;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s, transform 0.25s;
}
.cert-card__play span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}
.cert-card__play:hover {
  background: rgba(0, 0, 0, 0.25);
}
.cert-card__play:hover span {
  opacity: 1;
  transform: scale(1);
}
@media (max-width: 640px) {
  .cert-card__play span {
    opacity: 1;
    transform: scale(0.85);
  }
}

.cert-card__schedule {
  text-align: center;
  padding: 18px 10px 20px;
  position: relative;
}
.cert-card__schedule::before {
  content: "";
  display: block;
  width: 70%;
  height: 2px;
  margin: 0 auto 18px;
  background: currentColor;
  opacity: 0.6;
}
.cert-card__schedule ul {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cert-card__schedule li {
  font-family: "Roboto", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}
.cert-card__schedule li span {
  display: block;
  font-size: 13px;
  font-weight: normal;
  color: #ccc;
  margin-top: 2px;
}
.cert-card__schedule li p {
  font-size: 12px;
  font-weight: normal;
  color: #ccc;
  margin: 4px 0 0;
}

.cert-card__light {
  background: #fff;
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.cert-card__trainer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cert-card__trainer-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}
.cert-card__trainer-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cert-card__trainer-text {
  flex: 1;
  min-width: 0;
}

.cert-card__trainer-label {
  display: block;
  overflow-wrap: break-word;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
}
.cert-card__trainer-label em {
  font-style: italic;
  margin-left: 4px;
}

.cert-card__trainer-name {
  font-size: 22px;
  font-weight: 900;
  margin: 4px 0 4px;
  padding-bottom: 6px;
  border-bottom: 2px solid #ccc;
}

.cert-card__trainer-name-en {
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #777;
  text-align: center;
  letter-spacing: 1px;
  margin: 0;
}

.cert-card__pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cert-card__pills dl {
  margin: 0 0 12px;
}
.cert-card__pills dt {
  display: inline-block;
  font-size: 11px;
  border: 1px solid #999;
  border-radius: 12px;
  padding: 2px 12px;
  color: #555;
  margin-bottom: 6px;
}
.cert-card__pills dd {
  margin: 0;
  font-size: 13px;
}

.cert-card__capacity-num {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 17px;
}

.cert-card__capacity-note {
  display: block;
}

.cert-card__price-strike {
  display: block;
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
}
.cert-card__price-strike small {
  font-size: 10px;
}

.cert-card__price-badge {
  display: inline-block;
  background: #d93426;
  color: #fff;
  font-size: 10px;
  border-radius: 2px;
  padding: 2px 6px;
  margin: 2px 0;
}

.cert-card__price-campaign {
  display: block;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 24px;
}
.cert-card__price-campaign small {
  font-size: 11px;
  font-weight: normal;
}

.cert-card__course-note {
  display: block;
  font-size: 12px;
  color: #333;
  margin-top: 4px;
}

.cert-card__mobile-banner {
  line-height: 0;
}
.cert-card__mobile-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
}

.cert-card__note {
  font-size: 11px;
  color: #777;
  line-height: 1.6;
  text-align: left;
  margin: 0;
}

.cert-card__cta {
  margin-top: auto;
  text-align: center;
}

.cert-card__apply-btn {
  display: inline-block;
  width: 100%;
  border: none;
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  padding: 14px 0;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

.cert-card__waiting,
.cert-card__closed {
  display: block;
  width: 100%;
  background: #444;
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  padding: 14px 0;
  border-radius: 4px;
  margin: 0;
  box-sizing: border-box;
}

.cert-card__ribbon {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 5px;
  margin: auto;
  transform: rotate(-25deg);
  height: auto;
  max-width: 70%;
}

.cert-dialog {
  border: none;
  border-radius: 6px;
  padding: 0;
  width: min(90vw, 640px);
  max-height: 85vh;
  overflow: auto;
}
.cert-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
}
.cert-dialog__close {
  position: sticky;
  top: 0;
  float: right;
  width: 36px;
  height: 36px;
  border: none;
  background: #000;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}

.cert-dialog--video {
  background: #000;
}
.cert-dialog--video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
}

.cert-dialog--form {
  --cert-color: #d93426;
  background: #fff;
  padding: 16px 24px 24px;
}

.cert-form-title {
  text-align: center;
  padding-top: 6px;
  padding-bottom: 6px;
}

.cert-form-title__main {
  font-size: 17px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.cert-form-title__sub {
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: #999;
  margin: 2px 0 0;
}

.cert-form-header {
  background: #fff;
  text-align: center;
  padding: 14px 16px 16px;
  margin: 0 0 16px;
  border-bottom: solid 4px var(--cert-color);
}
.cert-form-header img {
  display: block;
  max-width: 220px;
  max-height: 60px;
  width: auto;
  height: auto;
  margin: 0 auto;
}
.cert-form-header span {
  display: block;
  font-weight: bold;
  font-size: 18px;
  color: var(--cert-color);
}

.cert-dialog--form table {
  border-collapse: separate;
  border-left: solid 8px var(--cert-color, #d72621);
  width: 100%;
}
.cert-dialog--form table tr:first-child p {
  border: none;
}
.cert-dialog--form table th {
  background-color: #535252;
  color: #fff;
  font-size: 13px;
  vertical-align: top;
  width: 34%;
}
.cert-dialog--form table th p {
  position: relative;
  border-top: dashed 1px #fff;
  margin: 0 14px;
  padding: 14px 0 8px;
}
.cert-dialog--form table th p span {
  display: block;
  background-color: var(--cert-color, #d62722);
  font-size: 10px;
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  height: 13px;
  margin: auto;
  padding: 5px;
}
.cert-dialog--form table td {
  background-color: #fff;
  vertical-align: top;
}
.cert-dialog--form table td p {
  border-top: dashed 1px #999;
  margin: 0 14px;
  padding: 12px 0 8px;
}
.cert-dialog--form table input,
.cert-dialog--form table textarea {
  box-sizing: border-box;
  background-color: #f7f7f7;
  padding: 8px 3px;
  border: none;
}
.cert-dialog--form table .max input,
.cert-dialog--form table .max textarea {
  width: 100%;
}
.cert-dialog--form table .mwform-radio-field {
  display: block !important;
  margin: 0 !important;
}
.cert-dialog--form .Confirmation {
  text-align: center;
}
.cert-dialog--form .Confirmation input[type=submit] {
  display: block;
  margin: 16px auto 0;
  background-color: var(--cert-color, #d62722);
  color: #fff;
  font-size: 15px;
  padding: 12px 45px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.cert-dialog--form .Confirmation input[type=submit]:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
.cert-dialog--form .Confirmation input[name=submitBack] {
  background-color: transparent;
  color: #777;
  font-size: 13px;
  padding: 6px 10px;
  text-decoration: underline;
}
.cert-dialog--form .Confirmation input[name=submitBack]:disabled {
  background-color: transparent;
}
.cert-dialog--form .error {
  display: block;
  color: #d72621;
  font-size: 11px;
  font-weight: bold;
  margin-top: 4px;
}
@media screen and (max-width: 640px) {
  .cert-dialog--form table th,
  .cert-dialog--form table td {
    display: block;
    width: 100%;
  }
  .cert-dialog--form table th p,
  .cert-dialog--form table td p {
    border: none;
    margin: 0 14px;
  }
  .cert-dialog--form table th p {
    padding: 10px 0 4px;
  }
  .cert-dialog--form table td p {
    padding: 4px 0 10px;
  }
}

.cert-form-confirmation {
  max-height: 220px;
  overflow-y: auto;
  background: #f7f7f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px 16px;
  margin: 16px 0 14px;
  font-size: 12px;
  line-height: 1.7;
  color: #444;
}
.cert-form-confirmation h3 {
  font-size: 14px;
  margin: 0 0 10px;
}
.cert-form-confirmation dt {
  font-weight: bold;
  margin-top: 10px;
}
.cert-form-confirmation dt:first-child {
  margin-top: 0;
}
.cert-form-confirmation dd {
  margin: 0 0 2px;
}

.cert-form-agree {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 16px;
  cursor: pointer;
}
.cert-form-agree input[type=checkbox] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.cert-form-agree a {
  color: var(--cert-color, #d93426);
  text-decoration: underline;
  cursor: pointer;
}

/*# sourceMappingURL=certification.css.map */
