@charset "utf-8";
.p-contact-form__form {
    margin: 60px auto 0;
    max-width: 640px;
    font-size: 13px;
}
.p-form__block {
    
    position: relative;
    margin-bottom: 40px;
    text-align: left;
}
.p-form__block__header {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #232323;
}
.p-form .is-required {
    font-size: 14px;
    font-weight: 400;
    color: #ef2c47;
}
p {
    overflow-wrap: break-word;
}
.p-form input[type=text], .p-form input[type=password], .p-form input[type=url], .p-form input[type=tel], .p-form input[type=email] {
    margin-bottom: 5px;
    padding: 20px;
    font: inherit;
    line-height: inherit;
    background: 0 0;
    border: 1px solid #dfdfdf;
    outline: none;
    -webkit-appearance: none;
}
.p-form .is-full {
    width: 100%;
}
.p-form select {
    padding: 20px 50px 20px 20px;
    width: 300px;
    max-width: 100%;
    font: inherit;
    line-height: inherit;
    background: url(https://nextsurprise.jp/wp-content/themes/twentytwentyone/asset/css/../img/icon_select.svg) no-repeat top 50% right 23px;
    border: 1px solid #dfdfdf;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.p-form textarea {
    width: 100%;
    padding: 20px;
    font: inherit;
    line-height: inherit;
    background: 0 0;
    border: 1px solid #dfdfdf;
    outline: none;
    -webkit-appearance: none;

}
.p-form__privacy {
    margin-bottom: 40px;
    padding: 16px 20px;
    max-height: 170px;
    border: 1px solid #999;
    background: #fcfcfc;
    overflow-y: scroll;
    font-size: 13px;
    line-height: 2;
}
.p-form__privacy>* {
    margin-bottom: 15px;
}
section.news .p-form__privacy>h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #232323;
    width: 100%;
    margin: 0 0 5px;
}
section.news ul.news_list.single .p-form__privacy li {
    min-height: unset;
    position: relative;
    padding: 0;
    text-align: left;
    font-size: 13px;
    border-bottom: 0px dotted #CCCCCC;
    list-style: decimal;
    margin-left: 18px;
}
.p-form__privacy>h2>.num {
    margin-right: 8px;
    color: #cd2f2f;
    font-size: 24px;
    font-family: "alternate-gothic-no-3-d";
    font-weight: 500;
    line-height: 1;
}
.p-form__submit-block {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    text-align: center;
}
.c-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 360px;
    height: 73px;
    color: #232323;
    background: #fff;
    font-family: BrandonTextWeb-Medium;
    font-size: 13px;
    letter-spacing: .1em;
    text-decoration: none;
    transition: all .4s cubic-bezier(.78,.07,0,1) .2s;
    border: 1px solid #ccc;
    cursor: pointer;
}
.c-button--primary {
    background-color: #fef85f;
}
.p-form__submit-block__body>* {
    margin: 1em;
}
.c-button:before {
    content: '';
    display: block;
    position: absolute;
    left: auto;
    right: -1px;
    top: -1px;
    width: 0;
    height: calc(100% + 2px);
    background-color: #232323;
    transition: inherit;
}
.p-form input[type=checkbox] {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    border: none;
    -webkit-appearance: none;
}
.p-form input[type=checkbox]+span, .p-form input[type=checkbox]+input[type=hidden]+span {
    padding-left: 32px;
}
.p-form input[type=checkbox]+span, .p-form input[type=checkbox]+input[type=hidden]+span {
    position: relative;
    font-size: 13px;
}
.p-form input[type=checkbox]+span:before, .p-form input[type=checkbox]+input[type=hidden]+span:before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 1px solid #dfdfdf;
    transition: all .1s ease;
}
.p-form input[type=checkbox]+span:after, .p-form input[type=checkbox]+input[type=hidden]+span:after {
    content: '';
    position: absolute;
    top: 4px;
    left: 5px;
    width: 6px;
    height: 6px;
    background: #274a9d;
    opacity: 0;
    -webkit-transform: scale(.1);
    transform: scale(.1);
    transition: all .1s ease;
}
.p-form input[type=checkbox]+span:after, .p-form input[type=checkbox]+input[type=hidden]+span:after {
    top: 3px;
    left: 0;
    width: 16px;
    height: 16px;
    background: #444 url(https://nextsurprise.jp/wp-content/themes/twentytwentyone/asset/css/../img/icon_check.svg) no-repeat 50% 40%;
    background-size: 10px 10px;
}
.p-form input[type=checkbox]:checked+span:after, .p-form input[type=checkbox]:checked+input[type=hidden]+span:after {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}
.p-contact-form__thanks {
    margin-bottom: 60px;
    text-align: center;
    line-height: 2.28571
}

.p-contact-form__thanks__header {
    font-size: 20px;
    font-weight: normal;
    line-height: 2.05263;
    color: #000000;
    padding: 20px 0;
}

.p-contact-form__thanks__text {
    font-size: 15px;
    margin-bottom: 45px;
}

body.page-template-page-tmpl-contact-thanks-php .p-contact-form__thanks {
    display: block
}
@media (max-width: 780px) {
span.mwform-radio-field.horizontal-item {
    display: block;
    margin-bottom: 5px;
}
.mw_wp_form .horizontal-item + .horizontal-item {
    margin-left: 0 !important;
    margin-bottom: 5px;
}
.p-form input[type=text], .p-form input[type=password], .p-form input[type=url], .p-form input[type=tel], .p-form input[type=email] {
    padding: 20px 0;
}
.p-form textarea {
    padding: 20px 0;
}
}