/* css edit head-nav */
.header-nav .outer.active {
    background: #222;
    border-radius: 3px;
    color: #fff;
    opacity: 1;
}

/* end css edit head-nav */
.sec-contact *,
.sec-login * {

    box-sizing: border-box;
    padding: 0;
}

.sec-contact select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("../img/arrow-select.svg");
    background-repeat: no-repeat;
    background-size: 36px auto;
    /* 画像のサイズ（幅 高さ）*/
    background-position: right 12px center;
    /* 画像の位置 */
}

.sec-contact .contact-steps__item-txt {
    font-weight: 700;
    color: #707070;
}

.sec-contact,
.sec-login {
    color: #222;
}

@media (max-width: 1200px) {

    .sec-contact .m-inner,
    .sec-login .m-inner {
        /* padding: 0 15px; */
    }
}

.contact-form {
    margin-bottom: 160px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    color: #222;
}

.contact-form button,
.contact-form input,
.contact-form select,
.contact-form textarea {
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;


}

.contact-form button:hover {
    opacity: 0.75;
    cursor: pointer;
}

header.header-nofixed {
    position: relative;
}

header.header-nofixed.open {
    position: fixed;
}

.sec-contact,
.sec-login {
    padding-top: clamp(50px, 10vw, 176px);
}

.ttl-cm>span {
    font-size: 30px;
    line-height: 2;
    font-weight: 700;
    padding-bottom: 25px;
    color: #222;
    margin-bottom: 0;
    margin-top: 0;
}

.ttl-cm {
    border-bottom: 1px solid #808080;
    margin-bottom: 40px;
    text-align: center;
    height: auto;
}

.contact-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 60px;
    margin-bottom: 50px;

}

.contact-steps .contact-steps__item {
    font-size: 16px;
    line-height: calc(21/16);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 14px;
    position: relative;
}

.contact-steps .contact-steps__item-number {
    width: 40px;
    height: 40px;
    background: #808080;
    border-radius: 4px;
    font-size: 16px;
    color: #fff;
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    font-weight: 700;

}

.contact-steps .contact-steps__item.active .contact-steps__item-number {
    background: #222;
}

.contact-steps .contact-steps__item:after {
    content: '';
    width: 100px;
    background: #808080;
    height: 1px;
    display: inline-block;
    margin-left: 46px;
}

.contact-steps .contact-steps__item:last-child::after {
    content: none;
}

.ttl-des {
    font-size: 18px;
    font-weight: 700;
    line-height: 2;
    text-align: center;
    margin-bottom: 19px;
    color: #222;
    padding: 0;
    font-family: YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
    height: auto;
}

.contact-des .contact-des__list .contact-des__item {
    display: inline-block;
    text-align: left;
}

.contact-des {
    text-align: center;
}

.contact-des .contact-des__list .contact-des__item::before {
    content: '・';
}

.contact-des .contact-des__list {
    text-align: left;
    display: inline-grid;
    margin: 0 0 62px 0;
    font-size: 14px;
}

.contact-form .contact-form_group {
    margin-bottom: 45px;
}

.form-control {
    width: 100%;
    height: 70px;
    padding: 0 24px;
    border: 1px solid #808080;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    padding: 24px 21px;
    border-radius: 4px;
    font-family: YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
}

.contact-form .contact-form__ttl {
    font-size: 18px;
    font-weight: 700;
    line-height: 2;
    margin-bottom: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 0 13px;
}

.request-cm {
    font-size: 13px;
    line-height: 1;
    color: #fff;
    font-weight: 700;
    padding: 5px 10px;
    background: #FF0000;
    border-radius: 2px;
    position: relative;
    top: -2px;
}

.form-control::placeholder {
    color: #808080;
}

.c-btn__02,
.buttons,
.login_status a {
    cursor: pointer;
    width: 360px;
    height: 70px;
    padding: 15px 15px;
    background: #222;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px !important;
    position: relative;
    max-width: 100%;
    border: none;

}

textarea.form-control {
    height: 200px;
    resize: none;
}

.c-btn__02:after {
    content: '';
    background: url('../img/common/img_arrowr.svg') no-repeat center center;
    height: 18px;
    width: 9px;
    position: absolute;
    top: calc(50% - 9px);
    right: 30px;
    display: inline-block;
}

.buttons,
.login_status a {
    background: #222 url('../img/common/img_arrowr.svg') no-repeat right 30px center;
    margin: 0 auto !important;
}

.buttons:hover {
    opacity: 0.75;
}

.c-btn__02.c-btn__02--back {
    background: #808080;

}

.c-btn__02.c-btn__02--back:after {
    right: auto;
    left: 30px;
    transform: rotate(180deg);
}

.contact-form__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 21px 0 0 0;
}

@media (max-width: 767px) {
    .ttl-cm>span {
        font-size: 20px;
    }

    .page-contact .m-inner {
        /* padding: 0 15px; */
    }

    .ttl-cm {
        font-size: 22px;
        padding-bottom: 15px;
        margin-bottom: 25px;
    }

    .contact-steps {
        gap: 0 10px;
    }

    .contact-steps .contact-steps__item:after {
        width: 20px;
        margin-left: 0;
    }

    .contact-steps .contact-steps__item-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .contact-steps .contact-steps__item {
        font-size: 12px;
    }

    .contact-steps {
        margin-bottom: 40px;
    }

    .contact-des .contact-des__list {
        margin: 0 0 40px 0;
        font-size: 13px;
    }

    .contact-form .contact-form__ttl {
        font-size: 16px;
    }

    .request-cm {
        font-size: 12px;
        padding: 5px 7px;
    }

    .form-control {
        height: 50px;
        padding: 5px 15px;
    }

    .contact-form_group {
        margin-bottom: 25px;
    }

    .c-btn__02,
    .buttons,
    .login_status a {
        height: 55px;
        font-size: 16px !important;
    }

    .contact-form {
        margin-bottom: 100px;
    }

    .contact-steps .contact-steps__item {
        gap: 0 8px;
    }
}

@media (max-width: 320px) {
    .ttl-cm>span {
        font-size: 19px;
    }

}

/* css for page thanks of contact */
.sec-contact--thanks {
    margin-bottom: 151px;
}

.sec-contact--thanks .contact-des__thanks {
    margin-bottom: 62px;
}

.sec-contact--thanks .contact-des__thanks p {
    margin: 0;
    text-align: center;
}

.sec-contact--thanks .contact-des__thanksnote {
    font-size: 14px;
}

.sec-contact--thanks .contact-des__links {
    text-align: center;
}

.sec-contact--thanks .link-underline {
    text-decoration: underline;
    font-size: 14px;
    line-height: calc(19/14);
}

.sec-contact--thanks .link-underline:hover {
    opacity: 0.75;
    cursor: pointer;
}

@media (max-width: 767px) {
    .sec-contact--thanks {
        margin-bottom: 100px;
    }

    .sec-contact--thanks .contact-des__thanks {
        margin-bottom: 50px;
    }

    .sec-contact--thanks .contact-des__thanks p {
        text-align: left;
    }

    .contact-form .contact-form__ttl {
        flex-wrap: wrap;
    }

    .sp {
        display: none;
    }
}

@media (min-width: 767px) {}

/* css for page login */
.c-ttl__03 {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 47px !important;
    color: #222;
    display: inline-block;
    width: 100%;

}

.login-wrap>* {
    width: 50%;
    padding: 0 44px;
}

.login-wrap {
    display: flex;
}

.login-wrap__r {
    text-align: center;
}

.page-login .c-ttl__03 {
    text-align: center;
    display: inline-block;
    line-height: normal;
    font-family: YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
    height: auto;
}

a.c-btn__02,
a.buttons {
    color: #fff;
}

.login-wrap__ct {
    text-align: center;
    display: inline-block;
    width: 100%;
}

.login-wrap__ct .c-btn__02 {
    margin: 0 auto;
}

.login-wrap__r-des {
    margin: 0 0 70px 0;
    font-size: 14px;
    line-height: 2;
}

.contact-form.contact-form--login .contact-form_group {
    margin-bottom: 35px;
}

.contact-form.contact-form--login {
    margin-bottom: 0;
}

.sec-login {
    margin-bottom: 175px;
}

/* .login-ttl{
    margin-bottom: 29px;
} */

@media (max-width: 1200px) {
    .login-wrap>* {
        padding: 0;
        margin-bottom: 50px;
    }

}

@media (max-width: 990px) {
    .login-wrap>* {
        width: 100%;
    }

    .login-wrap {
        display: block;
    }

    .login-wrap>* {
        margin-bottom: 50px;
    }

    .login-wrap>*:last-child {
        margin-bottom: 0;
    }

    .sec-login {
        margin-bottom: 100px;
    }

}

/* css for page new */
/* The container */
.contact-form_group-lbcheck,
#wpmem_register_form .div_checkbox label.checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-bottom: 23px;
    width: 100%;
}

/* Hide the browser's default checkbox */
.contact-form_group-lbcheck input,
#wpmem_register_form .div_checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.contact-form_group-lbcheck .checkmark {
    position: absolute;
    top: -3px;
    left: 0;
    height: 30px;
    width: 30px;
    background-color: transparent;
    border: 1px solid #222;
    border-radius: 4px;
}

#wpmem_register_form .div_checkbox label.checkbox:before {
    position: absolute;
    left: 0;
    height: 30px;
    width: 30px;
    background-color: transparent;
    border: 1px solid #222;
    border-radius: 4px;
}

#wpmem_register_form .div_checkbox label.checkbox:before,
#wpmem_register_form .div_checkbox label.checkbox:after {
    content: "";
}


/* Create the checkmark/indicator (hidden when not checked) */
.contact-form_group-lbcheck .checkmark:after,
#wpmem_register_form .div_checkbox .checkbox:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.contact-form_group-lbcheck input:checked~.checkmark:after,
#wpmem_register_form .div_checkbox input:checked+label .checkbox:after {
    display: block;
}

.contact-form_group-lbcheck input:checked~.checkmark,
#wpmem_register_form .div_checkbox input:checked+label .checkbox::before {
    background: #222;
}

/* Style the checkmark/indicator */
.contact-form_group-lbcheck .checkmark:after,
#wpmem_register_form .div_checkbox input:checked+label .checkbox::after {
    left: 10px;
    top: 4px;
    width: 5px;
    height: 13px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.contact-form__box-txt {
    font-size: 14px;
}

.contact-form__box-txt a {
    text-decoration: underline;

}

.contact-form__box-txt a:hover {
    opacity: 0.75;
    cursor: pointer;
}

/* css for checkbox wpcf7 */
.contact-form__checkwp {
    display: block;
    position: relative;
    font-size: 18px;
}

.contact-form__checkwp label .wpcf7-list-item-label {
    font-size: 18px;
}

@media screen and (max-width: 767px) {
    .contact-form__checkwp:after {
        width: 37px;
        padding: 3px 0 5px;
        font-size: 1.2rem
    }
}

@media screen and (max-width: 767px) {
    .contact-form__checkwp {
        margin-top: 30px;
        margin-bottom: 30px;
        max-width: -moz-max-content;
        max-width: max-content
    }

    .contact-form_group-lbcheck {
        font-size: 16px;
    }
}

.contact-form__checkwp label {
    position: relative;
    display: inline-block;
    padding: 0 0 0 40px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

@media screen and (max-width: 767px) {
    .contact-form__checkwp label {
        font-size: 1.4rem
    }
}

@media screen and (max-width: 359px) {
    .contact-form__checkwp label {
        font-size: 1.2rem
    }
}

.contact-form__checkwp label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    margin: 0
}

.contact-form__checkwp label .wpcf7-list-item-label:after {
    content: "";
    position: absolute;
    display: none
}

.contact-form__checkwp label input:checked~.wpcf7-list-item-label:after {
    display: block
}

.contact-form__checkwp label input:checked~.wpcf7-list-item-label::before {
    background: #222;
}

.contact-form__checkwp label .wpcf7-list-item-label:after {

    border: solid #fff;
    border-width: 0 2px 2px 0;
    left: 13px;
    top: 6px;
    transform: rotate(45deg);
    width: 5px;
    height: 13px;
}

@media screen and (max-width: 767px) {
    .contact-form__checkwp label .wpcf7-list-item-label:after {
        left: 10px;
        top: 12px;
    }
}

.contact-form__checkwp label .wpcf7-list-item-label:before {
    content: "";
    position: absolute;
    height: 30px;
    width: 30px;
    border: 1px solid #919699;
    background: #fff;
    /* top: 50%;
    transform: translateY(-50%); */
    top: 0;
    left: 0;
    border-radius: 4px;
}

@media screen and (max-width: 767px) {
    .contact-form__checkwp label .wpcf7-list-item-label:before {
        width: 26px;
        height: 26px;
        min-width: 26px;
        top: 8px;
    }

    .contact-form__checkwp label .wpcf7-list-item-label {
        font-size: 16px;
        text-align: left;
        display: inline-block;
    }
}

.contact-des.contact-des__small {
    font-size: 16px;
    margin-bottom: 50px;
}

.contact-form__note {
    font-size: 14px;
}

.contact-form_group-cbox {
    margin-top: 25px;
}

.contact-form_group-wrap {
    margin-top: 22px;
    display: inline-block;
    width: 100%;
    font-size: 14px;
    line-height: 2;
}

.contact-form__box {
    max-width: 1005px;
    background: #F5F5F5;
    text-align: center;
    padding: 32px 20px;
}

.contact-form--new .contact-form__btn {
    padding-top: 89px;
}

@media screen and (max-width: 767px) {
    .contact-form__box {
        text-align: left;
    }

    .contact-des.contact-des__small {
        text-align: left;
    }
}

/* css for page new confirm */
.contact-form--newconfirm .contact-form__btn-confirm {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0 15px;
}

.contact-form--newconfirm .contact-form__ct {
    border-bottom: 1px solid #D6D6D6;
}

@media screen and (max-width: 767px) {
    .contact-form--newconfirm .contact-form__btn-confirm {
        gap: 15px;
        flex-wrap: wrap;
    }
}

.c-txt__01 {
    font-size: 16px;
    line-height: calc(21/16);
}

.c-txt__02 {
    font-size: 14px;
    line-height: 2;
}

/* css fir page new thanks */
.page-newthanks .contact-des__thanksnumber {
    font-size: 30px;
    line-height: calc(40/30);
    text-align: center;
    margin-bottom: 38px;
}

.page-newthanks .contact-des__thanksinfo p>span::before {
    content: '※';
}

.page-newthanks .contact-des__thanksinfo p>span {
    display: flex;
    text-align: left;
}

.page-newthanks .contact-des__thanksinfo p {
    display: inline-block;
    margin: 0 auto;
}

.page-newthanks .contact-des__thanksinfo {
    text-align: center;
    margin-bottom: 53px;
}

.page-newthanks .contact-des__thanks--new {
    margin-bottom: 41px;
    text-align: center;
}

.page-newthanks .sec-contact {
    padding-bottom: 165px;
}

/* WP-Members */
.div_text {
    margin-bottom: 35px !important;
}

.div_text input {
    color: #222 !important;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100% !important;
    height: 70px;
    border: 1px solid #808080 !important;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    padding: 24px 21px !important;
    border-radius: 4px !important;
    font-family: YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
}

.div_text input::placeholder {
    color: #808080;
}

.div_text textarea {
    height: 200px;
    resize: none;
}

#wpmem_login,
#wpmem_msg,
#wpmem_reg,
.wpmem_msg {
    width: 100% !important;
}

#wpmem_login fieldset,
#wpmem_reg fieldset {
    margin: 0 !important;
}

#wpmem_login label,
#wpmem_reg label {
    display: inline-block !important;
    font-family: YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 2;
    margin-bottom: 10px !important;
}

#wpmem_login legend,
#wpmem_reg legend {
    display: none;
}

#wpmem_login .button_div label {
    text-align: center;
    display: none !important;
}

#wpmem_login .button_div input {
    display: none;
}

.login_status {
    text-align: center;
}

.login_status a {
    margin-top: 40px !important;
}


#wpmem_reg {
    padding-bottom: 80px;
}

#wpmem_reg label .req {
    color: transparent;
}

#wpmem_reg label .req::after {
    content: "必須";
    font-size: 13px;
    line-height: 1;
    color: #fff;
    font-weight: 700;
    padding: 5px 10px;
    background: #FF0000;
    border-radius: 2px;
    position: relative;
    top: -2px;
}

#wpmem_reg .button_div {
    margin-top: 50px;
}

#wpmem_reg .req-text {
    display: none;
}

.link-text a {
    text-decoration: underline;
    font-size: 14px;
}

.link-text-register {
    display: none;
}

.register_links {
    display: none;
}

.page-new,
.page-profile {
    padding-bottom: 80px;
}

@media (max-width: 767px) {
    .div_text input {
        height: 50px;
        padding: 15px !important;
    }

    #wpmem_login label,
    #wpmem_reg label {
        font-size: 16px;
    }
}

input[name="tos"] {
    display: none;
}

#wpmem_reg .div_text a {
    text-decoration: underline;
    white-space: nowrap;
}

#wpmem_reg .div_text p {
    margin: 0 !important;
}

#wpmem_reg .div_text:has(input[name="tos"]),
#wpmem_reg .div_checkbox:has(input[name="check_yes"]) {
    margin: 0 !important;
    background: #F5F5F5;
    text-align: center;
}

#wpmem_reg .div_text:has(input[name="tos"]) {
    padding: 30px 15px 0;
}

#wpmem_reg .div_checkbox:has(input[name="check_yes"]) {
    padding: 0 15px 10px;
}

#wpmem_login fieldset,
#wpmem_reg fieldset {
    min-width: 0;
}

.req {
    white-space: nowrap;
}