/* stylelint-disable selector-class-pattern -- kebab case class names are defined by wordpress */
body,
body.page-template-contact_form_2021 .site-header {
    background: #f8f8f8;
}

div#main {
    padding-top: 1rem;
}

.hero {
    background-image: none;
}

body.page-template-contact_form_2021 .site-header {
    position: static;
    z-index: 100;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1em 0 0 2.5vw;
}

body.page-template-contact_form_2021 .site-header.site-header-affix,
body.page-template-contact_form_2021 .site-header.visible {
    background-color: transparent;
    box-shadow: none;
}
/* stylelint-enable selector-class-pattern */

.wrapper-contact-form-2021 {
    max-width: 1200px;
    margin: 0 auto;
}

.wrapper-contact-form-2021 iframe {
    width: 100%;
    height: 860px;
    border: 0;
}

.hero-ml4sf::after,
.hero::after {
    background-image: none;
}

.form-embedded-white {
    background: #fff;
    box-shadow:
        -4px 0 5px -4px rgb(0 0 0 / 11%),
        4px 0 5px -4px rgb(0 0 0 / 11%),
        0 4px 5px -4px rgb(0 0 0 / 11%);
}

.wp-block-column:not(:first-child) {
    box-sizing: border-box;
    padding: 23px 36px;
    border: 1px solid rgb(0 0 0 / 15%);
    border-radius: 4px;
    margin-left: 0;
    background-color: #fff;
}

.wrapper-contact-form-2021 .form-column-left,
.form-column-left ul,
.form-column-left li {
    color: rgb(0 0 0 / 80%);
    font-size: 16px;
    letter-spacing: 0;
    line-height: 24px;
}

.form-column-left ul {
    padding-left: 24px;
}

.wrapper-contact-form-2021 .form-column-left h1 {
    margin: 0 0 16px;
    color: rgb(0 0 0 / 80%);
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 36px;
}

.what-you-can-ask {
    padding: 24px 12px;
    border-left: #ddd 4px solid;
    background: #fff;
    box-shadow:
        -4px 0 5px -4px rgb(0 0 0 / 11%),
        4px 0 5px -4px rgb(0 0 0 / 11%),
        0 4px 5px -4px rgb(0 0 0 / 11%);
    color: #000;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 28px;
}

.what-you-can-ask li,
.what-you-can-ask ul {
    margin-top: 0;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 28px;
}

.what-you-can-ask-small {
    margin: 0 5px;
    color: rgb(0 0 0 / 50%);
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0;
    line-height: 16px;
}

.form-column-left h2 {
    margin: 24px 0 16px;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 28px;
}

.wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1.75em;
}

.wp-block-column {
    flex: 0 1 48.5%;
}

@media (width <= 1240px) {
    .wrapper-contact-form-2021 {
        max-width: 963px;
    }
}

@media screen and (width <= 1030px) {
    .wrapper-contact-form-2021 .form-column-left h1 {
        margin-bottom: 0;
    }

    .wp-block-column:not(:first-child) {
        padding: 12px 18px;
    }
}

@media (width <= 1000px) {
    .wrapper-contact-form-2021 {
        max-width: 722px;
    }

    .wp-block-column:not(:first-child) {
        padding: 12px 8px;
    }
}

@media (width >= 771px) {
    .wp-block-columns {
        flex-wrap: nowrap;
    }

    .wp-block-column {
        flex: 0 1 48.5%;
    }
}

@media screen and (width <= 770px) {
    .wp-block-column:not(:only-child) {
        flex-basis: 100% !important;
    }

    .wp-block-columns {
        flex-wrap: wrap;
    }

    .wp-block-column {
        flex: 0 1 100%;
    }

    .site-header {
        background-color: transparent;
    }

    .wrapper-contact-form-2021 .form-column-left h1 {
        margin: 0 0 16px;
        font-size: 36px;
        font-weight: bold;
        line-height: 48px;
    }

    .hide-on-mobile {
        display: none;
    }

    .wrapper-contact-form-2021 {
        padding: 0 1rem;
    }
}

@media screen and (width <= 570px) {
    /* stylelint-disable-next-line selector-class-pattern -- kebab case class names are defined by wordpress */
    body.page-template-contact_form_2021 .site-header {
        display: block;
    }
}

@media screen and (width <= 503px) {
    .wrapper-contact-form-2021 .form-column-left h1 {
        font-size: 24px;
        line-height: 36px;
    }
}

#rev-form .wp-block-column:not(:first-child) {
    box-sizing: border-box;

    /* margin-left: 20px; */
    padding: 30px 36px;
    border: none;
    border-radius: 4px;
    margin-top: 8px;
    background-color: #fff;
    box-shadow: 0 0 8px 0 rgb(0 0 0 / 10%);
}

#rev-form img.contactformimg {
    display: block;
    max-width: 90%;
    margin: 0 auto;
    margin-top: 30px;
}

#rev-form img.formimg {
    display: block;
    width: 100%;
    margin: 0 auto;
}

#rev-form img {
    image-rendering: -webkit-optimize-contrast;
}

.wrapper-contact-form-2021 #rev-form .form-column-left h1 {
    margin: 0 0 16px;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 42px;
    text-align: center;
}

#rev-form .what-you-can-learn h2 {
    color: #3ea966;
    font-size: 24px;
    font-weight: bold;
    line-height: normal;
    text-align: center;
}

#rev-form .what-you-can-learn h2::before,
.what-you-can-learn h2::after {
    position: relative;
    display: inline;
    vertical-align: middle;
}

#rev-form .what-you-can-learn h2::before {
    padding-right: 0.5em;
    content: url('https://www.makeleaps.com/wp-content/uploads/2021/11/h2-left.png');
}

#rev-form .what-you-can-learn h2::after {
    padding-left: 0.5em;
    content: url('https://www.makeleaps.com/wp-content/uploads/2021/11/h2-right.png');
}

#rev-form .what-you-can-learn {
    padding: 0 12px 12px;
    border: solid 4px #d1ebda;
    border-radius: 1rem;
    margin-top: 1rem;
    background: #fff;
    box-shadow: none;
    color: #000;
}

#rev-form .what-you-can-learn ul {
    display: block;
    margin-left: 30px;
}

#rev-form .what-you-can-learn ul li {
    margin-bottom: 16px;
    color: rgb(0 0 0 / 80%);
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0;
    line-height: 28px;
    list-style-type: disc;
}

#rev-form .what-you-can-learn p {
    padding: 20px 10px 0;
}

#rev-form .what-you-can-learn p.form-notice {
    padding: 0 10px;
}

#rev-form .what-you-can-learn .form-notice-box {
    padding: 10px;
    border-radius: 8px;
    margin-top: 2rem;
    background-color: #f2f9f7;
}

/* Responsive 2021-12-21更新 */
@media (width <= 503px) {
    #rev-form .wrapper-contact-form-2021 {
        margin-top: 0;
    }

    #rev-form .wrapper-contact-form-2021 .form-column-left h1 {
        font-size: 24px;
        line-height: 36px;
    }

    #rev-form .br {
        display: none;
    }

    #rev-form .what-you-can-learn h2 {
        font-size: 20px;
        line-height: 24px;
    }

    #rev-form .what-you-can-learn h2::before,
    #rev-form .what-you-can-learn h2::after {
        display: none;
        padding: 0;
    }

    #rev-form .what-you-can-learn ul {
        margin-left: 4px;
    }

    #rev-form .what-you-can-learn ul li {
        margin-bottom: 10px;
        font-size: 16px;
        line-height: 24px;
    }

    #rev-form .what-you-can-learn {
        margin-bottom: 20px;
    }

    #rev-form .wp-block-column:not(:first-child) {
        margin-left: 0;
    }
}

@media (width <= 720px) and (width >= 504px) {
    #rev-form .wrapper-contact-form-2021 {
        margin-top: 0;
    }

    #rev-form .what-you-can-learn {
        margin-bottom: 20px;
    }

    #rev-form .what-you-can-learn h2::before,
    #rev-form .what-you-can-learn h2::after {
        display: none;
        padding: 0;
    }
}

@media (width <= 770px) and (width >= 720px) {
    #rev-form .wrapper-contact-form-2021 {
        margin-top: 0;
    }

    #rev-form .what-you-can-learn h2 {
        font-size: 20px;
        line-height: 24px;
    }

    #rev-form .what-you-can-learn h2::before,
    #rev-form .what-you-can-learn h2::after {
        display: none;
        padding: 0;
    }

    #rev-form .what-you-can-learn ul {
        margin: 0;
    }

    #rev-form .what-you-can-learn {
        margin-bottom: 20px;
    }
}

@media (width <= 1000px) and (width >= 771px) {
    #rev-form .what-you-can-learn h2 {
        font-size: 20px;
        line-height: 24px;
    }

    #rev-form .what-you-can-learn h2::before,
    #rev-form .what-you-can-learn h2::after {
        display: none;
        padding: 0;
    }

    #rev-form .what-you-can-learn ul {
        margin: 0;
    }

    #rev-form .br {
        display: none;
    }
}

@media (width <= 1240px) and (width >= 1001px) {
    #rev-form .what-you-can-learn h2 {
        font-size: 20px;
        line-height: 24px;
    }

    #rev-form .what-you-can-learn h2::before,
    #rev-form .what-you-can-learn h2::after {
        display: none;
        padding: 0;
    }

    #rev-form .what-you-can-learn ul {
        margin: 0;
    }

    #rev-form .br {
        display: none;
    }
}

@media screen and (width >=980px) {
    #rev-form .what-you-can-learn h2 {
        font-size: 22px;
        line-height: 28px;
    }
}
