/*
Theme Name: BusinessPress Child
Template: BusinessPress
Version: 1.0.0
*/
a {
  color: #FF0302;
}

.site-footer {
  margin-top: 6em;
}

.site-footer .site-bottom {
  border: none;
  background-color: #000;
  color: #fff;
}

.site-footer .site-bottom a {
  color: #fff;
}

.site-footer .site-bottom a:hover {
  color: #fff;
  opacity: 0.7;
}

.back-to-top {
  display: none !important;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.step[hidden] {
  display: none;
}

.main-header {
  padding: 4px 0;
}
.main-header .main-header-content {
  padding: 0 10px;
}

/* Hero */
.home .home-header {
  width: 100vw !important;
  height: 63vw;
  min-height: 63vw !important;
  background-size: cover !important;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}
@media screen and (min-width: 980px) {
  .home .home-header {
    height: 600px;
    min-height: 600px !important;
  }
}
.home .home-header .home-header-overlay {
  background-color: rgba(0, 0, 0, 0);
}
.home .home-header .home-header-overlay .home-header-content {
  padding: 0;
  display: block;
  width: 100vw;
  height: 63vw;
  min-height: 63vw;
  position: relative;
}
@media screen and (min-width: 980px) {
  .home .home-header .home-header-overlay .home-header-content {
    height: 600px;
    min-height: 600px !important;
  }
}
.home .home-header .home-header-overlay .home-header-content .home-header-text {
  position: absolute;
  left: 5vw;
  bottom: 7vw;
}
@media screen and (min-width: 980px) {
  .home .home-header .home-header-overlay .home-header-content .home-header-text {
    left: 0;
    bottom: 48px;
  }
}
.home .site-header {
  margin-bottom: 1.5rem;
}
.home h2 {
  margin-top: 1.5em;
}
@media screen and (min-width: 980px) {
  .home h2 {
    margin-top: 2.5em;
  }
}

.copy {
  display: inline-block;
  background: #fff;
  color: #000;
  font-weight: 600;
  padding: 0.3em 0.5em 0.2em;
  font-size: 6.5vw;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-shadow: none;
  margin-bottom: 0;
}
@media screen and (min-width: 980px) {
  .copy {
    font-size: 48px;
  }
}

/* .copy span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.1em;
}
.copy span::before, .copy span::after {
  content: "";
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  background-image: url('images/left-line.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom center;
  flex-shrink: 0;
}
.copy span::after {
  background-image: url('images/right-line.svg');
} */
.hero__headline {
  margin: 14px 0 0;
  font-size: 24px;
  font-weight: 800;
}

/* Steps */
.steps {
  padding: 4vw 0 0;
  margin: 10vw auto;
}
@media screen and (min-width: 980px) {
  .steps {
    padding: 36px 0 0;
    margin: 80px auto;
  }
}

.steps__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.steps__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-bottom: 8px;
  width: 8vw;
  overflow: visible;
}
@media screen and (min-width: 980px) {
  .steps__item {
    width: 64px;
  }
}

.steps__item::before {
  content: "STEP";
  position: absolute;
  top: -4vw;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3vw;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #bdbdbd;
  z-index: 2;
}
@media screen and (min-width: 980px) {
  .steps__item::before {
    font-size: 24px;
    line-height: 1;
    top: -36px;
  }
}

.steps__item.steps__item--active::before {
  color: #5D5D5D;
}

.steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #d7d7d7;
  transform: translateX(12px);
  z-index: 0;
}

.steps__num {
  width: 8vw;
  height: 8vw;
  border-radius: 999px;
  background: #d7d7d7;
  color: #fff;
  font-weight: 800;
  font-size: 4vw;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 1;
}
@media screen and (min-width: 980px) {
  .steps__num {
    width: 64px;
    height: 64px;
    font-size: 32px;
  }
}

.steps__label {
  margin-top: 1vw;
  font-size: 2vw;
  color: #D7D7D7;
  font-weight: 600;
  white-space: nowrap;
}
@media screen and (min-width: 980px) {
  .steps__label {
    font-size: 14px;
    margin-top: 10px;
  }
}

.steps__item--active .steps__num {
  background: #5D5D5D;
  color: #fff;
}

.steps__item--active .steps__label {
  color: #5D5D5D;
}

/* Forms */
.form-wrap {
  padding: 14px 16px 22px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
}

.wpcf7-form label {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
}
.wpcf7-form .wpcf7-list-item {
  margin: 1em auto;
  display: block;
}
.wpcf7-form .wpcf7-list-item label {
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}
.wpcf7-form .wpcf7-form-control.wpcf7-acceptance label {
  display: flex;
  flex-wrap: nowrap;
}
.wpcf7-form .wpcf7-form-control.wpcf7-acceptance label .wpcf7-list-item-label {
  width: calc(100% - 34px);
  max-width: calc(100% - 34px);
}
.wpcf7-form .bg-gray {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  background-color: #FAFAFA;
  padding: 0.5em 1em;
}
.wpcf7-form .wpcf7-form-control-wrap {
  width: 100%;
}
.wpcf7-form p {
  margin-bottom: 0;
}
.wpcf7-form .field__help {
  display: block;
  font-size: 12px;
  color: #9a9a9a;
  margin-bottom: 2em;
}

.field__label {
  font-size: 14px;
  color: #333;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.required-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #C80000;
  border: 1px solid #C80000;
  border-radius: 3px;
  padding: 4px 8px;
  margin: 0 1.5em;
  line-height: 1;
}

input {
  height: 3em;
  border-radius: 5px;
  border: 1px solid #D9D9D9;
  background: #f7e4e4;
  padding: 0 1em;
  font-size: 16px;
  outline: none;
  color: #000;
  width: 100%;
  margin: 1em auto 0.5em;
}

button, input[type=button], input[type=reset], input[type=submit],
.wp-block-button .wp-block-button__link {
  width: auto;
  min-width: 10em;
  margin: 2em auto;
  background-color: #000;
  border-radius: 0;
  color: #fff;
}

.wp-block-button a:hover {
  color: #fff;
}

.drawer-hamburger {
  margin: 0;
}

input::-moz-placeholder {
  color: #999;
}

input::placeholder {
  color: #999;
}

/* Agreement */
.agreement__text {
  border: 1px solid #d2d2d2;
  padding: 12px;
  border-radius: 2px;
  background: #fff;
  font-size: 12px;
  color: #666;
  line-height: 1.75;
  max-height: 140px;
  overflow: auto;
  margin-bottom: 3em;
}

.agreement__text p {
  margin: 0 0 10px;
}

.agreement__text p:last-child {
  margin-bottom: 0;
}

.agreement__check {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #333;
  font-weight: 700;
}

input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: #000;
  border: 1px solid #5D5D5D;
  margin: 0 1em 0 0;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

/* Buttons */
.btn {
  border: none;
  width: 260px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
}

.btn--primary {
  background: #0b0b0b;
  color: #fff;
}

.btn--secondary {
  background: #9b9b9b;
  color: #fff;
}

.confirm-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn--youtube {
  position: relative;
  background: #e00018;
  color: #fff;
  height: 60px;
  border-radius: 10px;
  width: 290px;
  padding-left: 62px;
}

.btn--youtube::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  background: #ff0000;
  border-radius: 12px;
}

.btn--youtube::after {
  content: "";
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translate(-50%, -35%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}

/* Confirm */
.confirm-wrap {
  padding: 18px 16px 24px;
}

.confirm-wrap h3 {
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  margin: 12px 0 22px;
}

.confirm-list {
  margin: 0;
  padding: 0;
}

.confirm-list__row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin-bottom: 26px;
}

.confirm-list__label {
  font-size: 14px;
  color: #333;
  font-weight: 800;
}

.confirm-list__value {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

/* Done */
.done-wrap {
  padding: 38px 16px 26px;
  text-align: center;
}

.done-wrap h3 {
  margin: 10px 0 26px;
  font-size: 28px;
  font-weight: 900;
}

.done-lead {
  margin: 0 0 12px;
  font-size: 14px;
  color: #333;
  font-weight: 700;
}

.done-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.welcome {
  display: block;
  margin: 2em auto;
  text-align: center;
}
.welcome img {
  margin: 1em atuo;
  width: 80%;
}
@media screen and (min-width: 980px) {
  .welcome img {
    max-width: 640px;
  }
}
.welcome p {
  text-align: center;
  font-size: 13px;
  display: block;
  margin: 2em auto;
}
@media screen and (min-width: 980px) {
  .welcome p {
    font-size: 16px;
  }
}

main h3 {
  font-size: 2rem;
}

.icon-color, .icon-black {
  display: flex;
  align-items: center;
}

.icon-color::before {
  content: url("images/course_color.svg");
  display: inline-block;
  line-height: 21px;
  margin-right: 0.5em;
}

.icon-black::before {
  content: url("images/course_black.svg");
  display: inline-block;
  line-height: 21px;
  margin-right: 0.5em;
}

/* page-course */
button.course-image-button {
  display: block;
  width: 100%;
  max-width: 640px;
  background-color: #000;
  color: #fff;
  font-weight: bold;
  border-radius: 12px;
  font-size: 18px;
  line-height: 1.4;
  padding: 1em 0.8em;
  text-align: left;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
button.course-image-button .course-image-button-card-title {
  display: block;
  width: 100%;
  margin: 2em auto 2em 20px;
  padding-left: 66px;
  background-image: url("images/icon_white48-34.svg");
  background-repeat: no-repeat;
  background-position: center left;
}
button.course-image-button .course-image-button-card-title span {
  display: block;
  width: 100%;
}
button.course-image-button .course-image-button-card-title .course-image-button-card-title-sub {
  font-weight: normal;
  font-size: 12px;
  line-height: 1.4;
}
button.course-image-button .course-image-button-card-price {
  display: block;
  width: 100%;
  text-align: right;
  font-size: 32px;
  line-height: 1.4;
}

button.course-image-button.standard {
  background-color: #FFCC00;
}

button.course-image-button.expert {
  background-color: #FF0302;
}

button.course-image-button.premiere {
  background-color: #999999;
}

.course-submit-hidden {
  display: none;
  opacity: 0;
}
.course-submit-hidden button {
  display: none;
  opacity: 0;
}

.course-form-error:not(:empty) {
  margin: 8px 0 16px;
  color: #d63638;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.acceptance-error:empty {
  display: none;
}

.acceptance-error:not(:empty) {
  padding: 8px 12px;
  border: 1px solid #d63638;
  border-radius: 6px;
  background: #fff5f5;
}

.page-course-contents .wpcf7 form .wpcf7-response-output:empty {
  display: none;
}
.page-course-contents .wpcf7 form .wpcf7-response-output:not(:empty) {
  position: fixed;
  display: block;
  background: #fff;
  width: 94%;
  max-width: 800px;
  margin: 0 auto;
  font-size: 110%;
  line-height: 1.2;
  padding: 0.6em 0.8em;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.custom-field-error {
  margin: 8px 0 16px;
  color: #d63638;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.custom-error-target {
  padding: 8px 12px;
  border: 1px solid #d63638;
  border-radius: 6px;
  background: #fff5f5;
}