/* 🚨 このファイルは ptn_1.scss から書き出したもの。直すときは ptn_1.scss を直す */
p + .lw_mail_form,
h1 + .lw_mail_form,
h2 + .lw_mail_form,
h3 + .lw_mail_form,
h4 + .lw_mail_form,
h5 + .lw_mail_form,
h6 + .lw_mail_form {
    margin-top: 32px;
}
@container (max-width:600px) {
    p + .lw_mail_form,
    h1 + .lw_mail_form,
    h2 + .lw_mail_form,
    h3 + .lw_mail_form,
    h4 + .lw_mail_form,
    h5 + .lw_mail_form,
    h6 + .lw_mail_form {
        margin: 24px 0;
    }
}
@container (max-width:500px) {}

.lw_mail_form {
    margin: 64px 0;
}
@container (max-width:600px) {
    .lw_mail_form {
        margin: 48px 0;
    }
}
@container (max-width:500px) {
    .lw_mail_form {
        margin: 32px 0;
    }
}
.lw_mail_form .form_group {
    display: grid;
    grid-template-columns: 320px calc(100% - 320px);
}
@media (max-width: 800px) {
    .lw_mail_form .form_group {
        grid-template-columns: 1fr;
    }
}
.lw_mail_form .form_group + .form_group {
    margin-top: 24px;
}
@media (max-width: 600px) {
    .lw_mail_form .form_group + .form_group {
        margin-top: 16px;
    }
}
.lw_mail_form .form_group .label_in {
    padding-right: 16px;
}
@media (max-width: 800px) {
    .lw_mail_form .form_group .label_in {
        padding-right: 0;
    }
}
.lw_mail_form .form_group .label_in label {
    padding-top: 0.8em;
    display: flex;
    align-items: start;
    justify-content: space-between;
    line-height: 1.8;
    font-weight: 400;
}
.lw_mail_form .form_group .label_in label .required {
    margin-top: 0.1em;
    padding: 0.2em 0.5em;
    font-size: 12px;
    background: var(--color-main);
    color: #fff;
    border-radius: 2px;
    white-space: nowrap;
    font-weight: 400;
}
@media (max-width: 800px) {
    .lw_mail_form .form_group .label_in label .required {
        font-size: 11px;
    }
}
.lw_mail_form .form_group .label_in label .required.is-optional {
    background: #ddd;
    color: var(--color-black);
}
.lw_mail_form .form_group .form_in textarea {
    min-height: 200px;
}
.lw_mail_form .form_group .form_in .supplement_text {
    margin: 0;
    font-size: 0.9em;
}
.lw_mail_form .form_group .form_in .radio_in {
    padding-top: 0.6em;
}
.lw_mail_form .form_group .form_in .radio_in label {
    display: flex;
    align-items: center;
    gap: 4px;
}
.lw_mail_form .form_group .form_in .radio_in label + label {
    margin-top: 0.6em;
}
.lw_mail_form .form_group .form_in .radio_in + .supplement_text {
    margin-top: 1.5em;
}
.lw_mail_form .form_group .form_in .checkbox_in {
    padding-top: 0.8em;
}
.lw_mail_form .form_group .form_in .checkbox_in label {
    display: flex;
    align-items: center;
    gap: 4px;
}
.lw_mail_form .form_group .form_in .checkbox_in label + label {
    margin-top: 0.6em;
}
.lw_mail_form .form_group .form_in .checkbox_in label input {
    margin-top: 4px;
}
.lw_mail_form .form_group .form_in .checkbox_in + .supplement_text {
    margin-top: 1.5em;
}
.lw_mail_form .consent_set {
    margin-top: 56px;
}
.lw_mail_form .consent_set + .submit_wrap {
    /* margin-top: 24px; */
}
.lw_mail_form .consent_set .post_style {
    padding: 0;
    margin: 0;
}
.lw_mail_form .consent_set .post_style::after {
    display: none;
}
.lw_mail_form .consent_set .consent_text_wrap {
    margin-bottom: 12px;
    padding: 48px;
    height: 280px;
    resize: vertical;
    width: 100%;
    background: #eee;
    border: 1px solid #ddd;
    overflow-y: scroll;
}
.lw_mail_form .consent_set .consent_text_wrap .consent_title {
    font-size: 1.2em;
}
.lw_mail_form .consent_set .consent_text_wrap .consent_text_inner {
    font-size: 0.8em;
}
.lw_mail_form .consent_set .consent_text_wrap .consent_text_inner .first_content {
    padding: 0;
}
@media (max-width: 500px) {
    .lw_mail_form .consent_set .consent_text_wrap {
        padding: 40px 24px;
        height: 240px;
    }
}
.lw_mail_form .consent_set .consent_check_wrap > p {
    width: 100%;
}
.lw_mail_form .consent_set .consent_check_wrap.center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}
.lw_mail_form .form_group.last_form + .submit_wrap {
    margin-top: 0;
}
.lw_mail_form .submit_wrap {
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lw_mail_form .submit_wrap button {
    position: relative;
    padding: 0 24px;
    height: 72px;
    min-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-main);
    color: #fff;
    border: none;
    font-size: 18px;
    transition: 0.3s;
}
.lw_mail_form .submit_wrap button svg {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 16px;
    margin: auto;
    width: 20px;
    height: 20px;
    fill: #fff;
    transition: 0.3s;
}
.lw_mail_form .submit_wrap button:hover {
    opacity: 0.8;
}
.lw_mail_form .submit_wrap button:hover svg {
    transform: translate(4px, 0);
}

.body .post_style,
html:has(.lw_mail_send_completion_popup) .post_style {
    position: relative;
    z-index: 10000000000000000;
}

body:has(.lw_mail_send_completion_popup) {
    height: 100vh;
    overflow-y: hidden;
}

.lw_mail_send_completion_popup {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000000000000000000000000000000000;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
}
.lw_mail_send_completion_popup .in {
    padding: 48px;
    background: #ffffff;
    border-radius: 3px;
    line-height: 1.8em;
}
@media (max-width: 600px) {
    .lw_mail_send_completion_popup .in {
        padding: 32px;
    }
}
.lw_mail_send_completion_popup .in p {
    margin: 0;
}
.lw_mail_send_completion_popup .in a {
    position: relative;
    margin-top: 24px;
    width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-main);
    color: #fff;
    border-radius: 2px;
}
@media (max-width: 600px) {
    .lw_mail_send_completion_popup .in a {
        height: 56px;
        font-size: 14px;
    }
}
.lw_mail_send_completion_popup .in a svg {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 16px;
    margin: auto;
    width: 20px;
    height: 20px;
    fill: #fff;
    transition: 0.3s;
}
.lw_mail_send_completion_popup .in a:hover {
    opacity: 0.8;
}
.lw_mail_send_completion_popup .in a:hover svg {
    transform: translate(4px, 0);
}
