@charset "utf-8";

.under_header {
  padding-bottom: 0.80rem;
}
@media screen and (max-width: 640px) {
  .under_header {
      padding-bottom: 0.30rem;
  }
}

/*============================
お問い合わせ
============================*/
/* ページヘッダー ここから */
.mod_contact_wrap {
    padding: 0.8rem 0;
}
.mod_contact_wrap .in {
    width: 8.6rem;
    padding: 0;
}
@media screen and (max-width: 640px) {
    .mod_contact_wrap {
        padding: 0.4rem 0 0.3rem 0;
    }
    .mod_contact_wrap .in {
        width: 100%;
        padding-left: 0.2rem;
        padding-right: 0.2rem;
    }
}
/* ページヘッダー ここまで */

/* お問い合わせ ここから */
.contact {
    padding-top: 0.8rem;
    background-color: #F2EFE3;
}
.sec_title_wrap {
    position: relative;
    margin-bottom: 0.6rem;
}
.contact .sec_title_wrap::before {
    content: "";
    width: 1.66rem;
    height: 1.41rem;
    background-image: url(/img/contact/icon_contact.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 1.2rem;
    bottom: 0;
    z-index: 1;
}
.contact .sec_title_wrap::after {
    content: "";
    width: 1.66rem;
    height: 1.41rem;
    background-image: url(/img/contact/contact_cloud.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: -0.74rem;
    top: -0.55rem;
    z-index: 1;
}
.sec_title_wrap img {
    width: 0.31rem;
    padding-right: 0.16rem;
}
.sec_title {
    display: flex;
    justify-content: center;
    align-items: center;
}
.sec_title_wrap .sec_title {
    padding-bottom: 0;
}
@media screen and (max-width: 640px) {
    .contact {
        padding-top: 0.55rem;
        padding-bottom: 0.35rem;
    }
    .sec_title_wrap {
        margin-bottom: 0.31rem;
    }
    .contact .sec_title_wrap::before {
        width: 0.83rem;
        height: 0.7rem;
        left: -0.2rem;
        bottom: 0.24rem;
    }
    .contact .sec_title_wrap::after {
        width: 0.79rem;
        height: 0.56rem;
        left: inherit;
        top: inherit;
        right: -0.2rem;
        bottom: 0.24rem;
    }
    .sec_title_wrap img {
        width: 0.19rem;
        padding-right: 0.08rem;
    }
}
/* お問い合わせ ここまで */

/* フォーム ここから */
.form_wrap {
    font-size: 0.18rem;
    font-weight: bold;
}
.form_item {
    display: flex;
    padding-bottom: 0.3rem;
}
.form_list_title {
    display: flex;
    justify-content: space-between;
    width: 36.3%;
    line-height: 0.28rem;
}
.company_name .form_list_title {
    line-height: inherit;
}
.required, .optional {
    width: 0.8rem;
    height: 0.28rem;
    line-height: 0.28rem;
    margin-right: 0.2rem;
    text-align: center;
    color: #FFF;
    border-radius: 0.14rem;
}
.required {
    background-color: #7EBB19;
}
.optional {
    background: rgba(0, 0, 0, 0.5);
}
.contact_detail {
    width: 63.7%;
}
.input_item .form_list_title {
    height: 0.56rem;
    align-items: center;
}
.input_item textarea, .input_item input {
    width: 100%;
    padding: 0.2rem;
    box-sizing: border-box;
    border: none;
    border-radius: 0.06rem;
    resize: none;
}
.input_item textarea:focus, .input_item input:focus {
    box-shadow: 0 0 0.06rem rgba(0,0,0,.4);
    outline: none;
}
.input_item textarea {
    height: 2rem;
}
.input_item input {
    height: 0.56rem;
}

    /* チェックボックス */
    input[type="radio"], input[type="checkbox"] {
        display: none;
    }
    .radio_text {
        box-sizing: border-box;
        cursor: pointer;
        display: inline-block;
        padding-left: 0.31rem;
        position: relative;
        width: auto;
    }
    .radio_text::before {
        background: #fff;
        border: 1px solid #000;
        border-radius: 50%;
        content: '';
        display: block;
        height: 0.16rem;
        left: 0;
        position: absolute;
        top: 0;
        width: 0.16rem;
    }
    .radio_text::after {
        background: #7EBB19;
        border-radius: 50%;
        content: '';
        display: block;
        height: 0.08rem;
        left: 0.05rem;
        opacity: 0;
        position: absolute;
        top: 29%;
        width: 0.08rem;
    }
    input[type=radio]:checked + .radio_text::after {
        opacity: 1;
    }
    input[type="radio"],input[type="checkbox"]{
        position: relative;
        top: 2px;
    }

    .checkbox_text {
        box-sizing: border-box;
        cursor: pointer;
        display: inline-block;
        padding-left: 0.31rem;
        position: relative;
        width: auto;
    }
    .checkbox_text::before {
        background: #fff;
        border: 1px solid #000;
        content: '';
        display: block;
        height: 0.16rem;
        left: 0;
        position: absolute;
        top: 0;
        width: 0.16rem;
    }
    .checkbox_text::after {
        content: '';
        display: block;
        height: 0.12rem;
        left: 0.04rem;
        opacity: 0;
        position: absolute;
        top: -4%;
        width: 0.07rem;
        border-right: 3px solid #7EBB19;
        border-bottom: 3px solid #7EBB19;
        transform: rotate(45deg);
    }
    input[type=checkbox]:checked + .checkbox_text::after {
        opacity: 1;
    }

.contact_type label, .contact_service label {
    font-weight: 500;
    margin-right: 0.4rem;
}
.form_item .note {
    font-size: 0.14rem;
    font-weight: 400;
    line-height: 1.83;
    margin-top: 0.18rem;
}

.form_item .list {
    display: flex;
    flex-wrap: wrap;
}
.form_item .list .mwform-checkbox-field,
.form_item .list .mwform-radio-field {
    width: 33.3%;
    padding: 0.05rem 0;
}

@media screen and (max-width: 640px) {
    .form_item .list .mwform-checkbox-field,
    .form_item .list .mwform-radio-field {
        width: 50%;
    }
}

.form_item .list.full .mwform-checkbox-field,
.form_item .list.full .mwform-radio-field {
    width: 100%;
}

.mw_wp_form .horizontal-item + .horizontal-item {
    margin: 0;
}
.company_name {
    padding: 0.3rem 0;
    margin-bottom: 0.54rem;
    border-top: solid 0.02rem #000000;
    border-bottom: solid 0.02rem #000000;
}
.company_name dd {
    position: relative;
    margin-left: 0.4rem;
}
.company_name dd::before {
    content: "";
    display: inline-block;
    width: 0.02rem;
    height: 0.4rem;
    background-color: #000000;
    position: absolute;
    top: -0.11rem;
    left: -0.4rem;
}

.contact_type .contact_detail dd, .contact_service .contact_detail dd {
    margin-left: 0.4rem;
    margin-bottom: 0.24rem;
}

.form_border {
    background-image: linear-gradient(to right, rgb(0, 0, 0), rgb(0, 0, 0) 0.1rem, transparent 0.1rem, transparent 0.15rem);
    background-size: 0.15rem 0.02rem;
    background-position: left bottom;
    background-repeat: repeat-x;
    height: 0.02rem;
    margin-top: 0.25rem;
}

    /* プライバシーポリシーについて */
    .privacy_policy_container {
        text-align: center;
        padding-top: 0.6rem;
    }
    .privacy_policy_title {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-bottom: 0.3rem;
    }
    .privacy_policy_title h4 {
        font-weight: bold;
    }
    .privacy_policy_title .required {
        margin: 0 0 0 0.2rem;
    }
    .privacy_policy_title a {
        color: #000;
        text-decoration: underline;
    }
    .privacy_policy_title a:hover {
        text-decoration: none;
    }
    .privacy_policy_text {
        padding-bottom: 0.24rem;
    }
    .privacy_policy_text p {
        font-size: 0.15rem;
        font-weight: 500;
        text-align: left;
        width: 8.6rem;
        height: 2rem;
        border-radius: 0.06rem;
        margin: 0 auto;
        box-sizing: border-box;
        padding-right: 0.2rem;
        line-height: 1.73;
        border-top: 0.23rem solid #fff;
        border-bottom: 0.21rem solid #fff;
        border-left: 0.2rem solid #fff;
        border-right: 0.2rem solid #fff;
        overflow-y: scroll; 
        background-color: #fff;
        scrollbar-width: thin;
        scrollbar-color: #EA6E00 #ccc;
    }
    .privacy_policy_text p::-webkit-scrollbar {
        width: 0.05rem;
        margin: 0.2rem;
    }
    .privacy_policy_text p::-webkit-scrollbar-track {
        background-color: #ccc;
    }
    .privacy_policy_text p::-webkit-scrollbar-thumb {
        background-color: #EA6E00;
    }
    .confirm_area .checkbox_text {
        font-size: 0.16rem;
        font-weight: 500;
        margin-bottom: 0.6rem;
    }
    .confirm_area .checkbox_text::before, 
    .confirm_area .checkbox_text::after {
        top: -7%;
    }

    .confirm-btn {
        font-size: 0.2rem;
        font-weight: bold;
        border: none;
        outline: none;
        appearance: none;  
        color: #fff;
        padding: 0.14rem 1.1rem;
        border-radius: 0.3rem;
        background-color: #EA6E00;
        cursor: pointer;
    }
    
    .confirm-btn[disabled] {
        background-color: #ccc;
        cursor: default;
    }

@media screen and (max-width: 640px) {
    .form_wrap {
        font-size: 0.13rem;
    }
    .company_name {
        padding: 0.2rem 0;
        margin-bottom: 0.3rem;
    }
    .company_name dd {
        margin-left: 0.23rem;
    }
    .company_name dd::before {
        height: 0.18rem;
        top: -0.02rem;
        left: -0.23rem;
    }
    .company_name .form_list_title {
        width: 42%;
    }
    /* .form_item:not(:first-child) {
        display: block;
    } */
    .form_item {
        display: block;
    }
    /* .form_item:not(:first-child) .form_list_title {
        width: 100%;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 0.2rem;
        height: 0.2rem;
    } */
    .form_item .form_list_title {
        width: 100%;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 0.2rem;
        height: 0.2rem;
    }
    .contact_detail {
        width: 100%;
        font-size: 0.12rem;
    }
    .contact_type .contact_detail dd, .contact_service .contact_detail dd {
        margin-left: 0;
        margin-bottom: 0.2rem;
    }
    .contact_type .contact_detail dd:last-child, 
    .contact_service .contact_detail dd:last-child {
        margin-bottom: 0;
    }
    .contact_type label, .contact_service label {
        margin-right: 0.2rem;
    }
    .required, .optional {
        width: 0.6rem;
        height: 0.2rem;
        line-height: 0.2rem;
        margin-left: 0.1rem;
    }

    .radio_text, .checkbox_text {
        padding-left: 0.22rem;
    }
    .radio_text::before {
        width: 0.12rem;
        height: 0.12rem;
        top: -8%;
    }
    .radio_text::after {
        width: 0.06rem;
        height: 0.06rem;
        left: 0.038rem;
        top: 23%;
    }
    .checkbox_text::before {
        width: 0.12rem;
        height: 0.12rem;
        top: -8%;
    }
    .checkbox_text::after {
        width: 0.053rem;
        height: 0.09rem;
        left: 0.03rem;
        top: -12%;
    }

    .form_item.input_item .form_list_title {
        margin-bottom: 0.15rem;
    }
    .input_item textarea {
        height: 1.5rem;
    }
    .input_item input {
        height: 0.45rem;
    }
    .input_item textarea, .input_item input {
        padding: 0.15rem 0.2rem;
    }
    .contact_email .note {
        font-size: 0.11rem;
        line-height: 1.72;
        margin-top: 0.14rem
    }

    .form_border {
        background-image: linear-gradient(to right, rgb(0, 0, 0), rgb(0, 0, 0) 0.07rem, transparent 0.07rem, transparent 0.115rem);
        background-size: 0.115rem 0.02rem;
        margin-top: 0;
    }

    .privacy_policy_container {
        padding-top: 0.3rem;
    }
    .privacy_policy_title {
        padding-bottom: 0.15rem;
    }
    .privacy_policy_title .required {
        margin-left: 0.1rem;
    }
    .privacy_policy_text {
        padding-bottom: 0.14rem;
    }
    .privacy_policy_text p {
        width: 100%;
        font-size: 0.11rem;
        border-top: 0.15rem solid #fff;
        border-bottom: 0.15rem solid #fff;
        border-left: 0.1rem solid #fff;
        border-right: 0.1rem solid #fff;
        padding-right: 0.12rem;
    }
    .confirm_area .checkbox_text {
        font-size: 0.12rem;
        margin-bottom: 0.28rem;
    }
    .confirm_area .checkbox_text::before {
        top: -8%;
    }
    .confirm_area .checkbox_text::after {
        top: -12%;
    }
    .confirm-btn {
        font-size: 0.12rem;
        padding: 0.14rem 0.7rem;
    }
}
/* フォーム ここまで */

/* パンくず ここから */
/* .pankz {
    border-top: 0.02rem solid #000;
} */
/* パンくず ここまで */


/* 2023.9.4 */
header .contact {
    background-color: #FFF;
}
.under_header.review {
    padding-bottom: 0.60rem;
}

@media screen and (max-width: 640px) {
    .under_header.review {
        padding-bottom: 0.30rem;
    }
}

.contact_type label, .contact_service label {
    margin-right: 0;
}

.contact_type .contact_detail dd, .contact_service .contact_detail dd {
    margin-left: 0;
}

.form_item .list label {
    padding: 0.07rem 0;
}

input[type="radio"], input[type="checkbox"] {
    display: inline-block;
    top: -2px;
    margin-right: 0.06rem;
    height: 0.15rem;
}

@media screen and (max-width: 640px) {
    input[type="radio"], input[type="checkbox"] {
        margin-right: 0.03rem;
    }
}

.radio_text::before,
.radio_text::after {
    content: none;
}

.checkbox_text::before,
.checkbox_text::after {
    content: none;
}

.radio_text,
.checkbox_text {
    padding-left: 0.06rem;
}

.form_item select {
    width: 60%;
    padding: 0.2rem;
    box-sizing: border-box;
    border: none;
    border-radius: 0.06rem;
    resize: none;
    background-color: #FFF;
}

@media screen and (max-width: 640px) {
    .form_item select {
        width: 100%;
        padding: 0.15rem 0.2rem;
        -webkit-appearance: none;
    }
}

/* ボタン */
.confirm_area .btn_wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.confirm_area .btn_wrap .btn {
    width: 3.00rem;
    padding: 0 0.15rem;
}

.confirm_area .btn_wrap .btn input {
    display: block;
    width: 100%;
    text-align: center;
}

.confirm_area .btn_wrap .btn .confirm-btn {
    padding: 0.14rem 0;
}

/* 入力画面 */
.mw_wp_form_input .confirm_area .btn_wrap .btn.back {
    display: none;
}

.input_page_wrap .error_text {
    display: none;
}

/* 確認画面用 */
.mw_wp_form_confirm .note {
    display: none;
}

.mw_wp_form_confirm .form_item {
    align-items: flex-start;
}

.mw_wp_form_confirm .input_item .form_list_title {
    height: auto;
}

.mw_wp_form_confirm .input_item .contact_detail {
    padding-top: 0.04rem;
}

.mw_wp_form_confirm .input_item.contact_content .contact_detail {
    line-height: 1.875;
}

.mw_wp_form_confirm .contact_type .contact_detail dd,
.mw_wp_form_confirm .contact_service .contact_detail dd {
    margin-bottom: 0;
}

.confirm_text {
    text-align: center;
    font-size: 0.18rem;
    font-weight: 700;
    padding-bottom: 0.70rem;
}



@media screen and (max-width: 640px) {
    .confirm_text {
        font-size: 0.14rem;
        line-height: 1.65;
        padding-bottom: 0.40rem;
    }
    .mw_wp_form_confirm .contact_detail {
        font-size: 0.13rem;
        padding: 0.10rem;
        background-color: rgba(255,255,255,0.5);
        box-sizing: border-box;
        border-radius: 0.04rem;
    }
    .mw_wp_form_confirm .input_item .contact_detail {
        font-size: 0.13rem;
        padding: 0.10rem;
        background-color: rgba(255,255,255,0.5);
        box-sizing: border-box;
        border-radius: 0.04rem;
    }
}

.confirm_text.error {
    color: #B70000;
}

.error_page_wrap .error {
    display: block;
    padding-top: 0.15rem;
    font-size: 0.14rem;
    font-weight: 700;
    color: #B70000;
}

@media screen and (max-width: 640px) {
    .error_page_wrap .error {
        font-size: 0.12rem;
    }
}

.error_page_wrap .list .error {
    width: 100%;
}

.mw_wp_form_confirm .confirm_area .btn_wrap .btn .back_btn {
    font-size: 0.2rem;
    font-weight: bold;
    border: none;
    outline: none;
    appearance: none;  
    color: #fff;
    padding: 0.14rem 0;
    border-radius: 0.3rem;
    background-color: #666;
    cursor: pointer;
}

@media screen and (max-width: 640px) {
    .mw_wp_form_confirm .btn_wrap .btn.back {
        padding-bottom: 0.20rem;
    }
    .mw_wp_form_confirm .confirm_area .btn_wrap .btn .back_btn {
        font-size: 0.12rem;
    }
}

/* 完了画面 */
.thanks_text {
    text-align: center;
    font-size: 0.18rem;
    line-height: 2;
    padding-bottom: 0.50rem;
}

@media screen and (max-width: 640px) {
    .thanks_text {
        text-align: left;
        font-size: 0.14rem;
        letter-spacing: 0;
        padding-bottom: 0.40rem;
    }
}

.btn.thanks {
    width: 100%;
    max-width: 3.00rem;
    margin: auto;
}

.btn.thanks a {
    display: block;
    font-size: 0.2rem;
    font-weight: bold;
    color: #fff;
    padding: 0.14rem 0 0.16rem;
    border-radius: 0.3rem;
    background-color: #EA6E00;
    display: block;
    text-align: center;
}

@media screen and (max-width: 640px) {
    .btn.thanks a {
        font-size: 0.13rem;
    }
}