@charset "utf-8";

/*-----
 contact_SP
-----  */


/*メインビジュアル_SP*/

.mv.contact-mv {
    background-image: url(../img/contact/contact_img01.jpg);
}

.mwform-checkbox-field.privacy_link-field {
    display: none !important;
}

.mw_wp_form_input .mwform-checkbox-field.privacy_link-field {
    display: flex !important;
}


/*-----
 contact01_SP
-----  */

.contact_sect {
    padding: 0 15px;
    margin-bottom: 70px;
}

.contact01_lead_txt {
    margin-bottom: 55px;
}

.contact01_lead_txt span {
    color: #1456C7;
}

.contact_area .main-h2_ttl {
    margin-bottom: 30px;
}

.contact01_form_map {
    margin-bottom: 60px;
}

.contact01_form_map>li {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #8E919E;
    padding: 10px 20px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: bold;
}

.contact01_form_map>li.is-active {
    background-color: #1456C7;
}

.contact01_form_map_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-color: #fff;
    color: #8E919E;
}

.contact01_form_map>li.is-active .contact01_form_map_icon {
    color: #1456C7;
}

.contact01_form_map>li:last-child {
    margin-bottom: 0;
}

.contact01_form_box {
    margin-bottom: 35px;
}

.contact01_form_box.privacy_link_box {
    margin-top: -15px;
}

.contact01_form_box .contact01_form_ttl {
    font-weight: bold;
    margin-bottom: 15px;
}

.contact01_form_box.u-required .contact01_form_ttl {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.contact01_form_box.u-required .contact01_form_ttl::before {
    position: absolute;
    content: "必須";
    right: -50px;
    padding: 4px 5px;
    height: 20px;
    width: 30px;
    color: #fff;
    background-color: #DF1C24;
    font-size: 10px;
    font-weight: bold;
}

.contact01_form_cont {
    position: relative;
}

.contact01_form_cont .error {
    position: absolute;
    bottom: -1.25em;
}

.contact01_form_cont .mwform-checkbox-field {
    display: block;
    margin-bottom: 10px;
}

.contact01_form_checkbox {
    display: none;
}

.mwform-checkbox-field.privacy_link-field {
    display: flex;
}

.mwform-checkbox-field.privacy_link-field .mwform-checkbox-field-text {
    padding-left: 170px;
}

.contact01_form_checkbox+.mwform-checkbox-field-text {
    display: inline-block;
    padding-left: 30px;
    position: relative;
    cursor: pointer;
}

.contact01_form_checkbox+.mwform-checkbox-field-text::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #8B8B8B;
}

.contact01_form_checkbox:checked+.mwform-checkbox-field-text::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    background: #1456C7;
    border: 1px solid #8B8B8B;
}

.contact01_form_input {
    border: 1px solid #8B8B8B;
    padding: 11.5px 1em;
    width: 100%;
}

.contact01_form_input_short {
    border: 1px solid #8B8B8B;
    padding: 11.5px 1em;
    width: 60px;
}

.contact01_form_txtarea {
    border: 1px solid #8B8B8B;
    padding: 11.5px 1em;
    width: 100%;
    min-height: 256px;
    max-height: 256px;
}

.contact01_form_link {
    text-decoration: underline;
    font-size: 14px;
    color: #1456C7;
    position: absolute;
    left: 30px;
    z-index: 10;
}

.form_input_btn_wrap {
    position: relative;
    max-width: 290px;
    transition: all ease-in-out .3s;
}

.form_input_btn_wrap .btn_link {
    transition: all ease-in-out .3s;
}

.form_input_btn_wrap::before {
    position: absolute;
    content: "";
    right: 20px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 14px;
    height: 2px;
    display: inline-block;
    background-color: #fff;
    margin-left: 1rem;
    z-index: 1;
    transition: all ease-in-out .3s;
}

.form_input_btn_wrap::after {
    position: absolute;
    content: "";
    right: 18px;
    top: 24px;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(-45deg);
    transform-origin: bottom;
    z-index: 1;
    transition: all ease-in-out .3s;
}

.form_cofirm_btn {
    position: relative;
    max-width: 290px;
    transition: all ease-in-out .3s;
}

.btn>.form_cofirm_btn.form_cofirm_back_btn {
    position: relative;
    max-width: 290px;
    background-color: #8e919e;
    border: 2px solid #8e919e;
}

.form_thanks_txt_wrap .common_txt {
    margin-bottom: 1em;
}

.form_thanks_txt_wrap .common_txt:last-child {
    margin-bottom: 0;
}

@media screen and (max-width:767px) {
    /*  SPのみ */
    .form_cofirm_btn_wrap:first-of-type {
        margin-bottom: 30px;
    }
    .contact01_form_map>li::after {
        position: absolute;
        content: "";
        width: 20px;
        height: 20px;
        border: none;
        border-right: 10px solid transparent;
        border-left: 10px solid transparent;
        border-top: 10px solid #1456C7;
        bottom: -25px;
        right: 0;
        left: 0;
        margin: auto;
    }
    .contact01_form_map>li:last-child::after {
        display: none;
    }
}

@media screen and (min-width:768px) {
    /*  TAB */
    .contact_sect {
        padding: 0 25px;
        margin-bottom: 60px;
    }
    /*-----
  contact01_TAB
  -----  */
    .contact01_form_map {
        margin-bottom: 50px;
        display: flex;
        align-items: center;
    }
    .contact01_form_map>li {
        width: calc((99% - 20px/ 3));
        padding: 15px 20px;
        padding-left: 50px;
        margin-bottom: 0;
        margin-right: 10px;
    }
    .contact01_form_map>li:first-child {
        padding-left: 20px;
    }
    .contact01_form_map>li:last-child {
        margin-right: 0;
    }
    .contact01_form_map>li:not(:last-child)::before {
        position: absolute;
        content: "";
        width: 30px;
        height: 50px;
        right: -35px;
        border: none;
        border-left: 30px solid #fff;
        border-top: 30px solid transparent;
        border-bottom: 30px solid transparent;
        z-index: 1;
        top: 0;
        bottom: 0;
        margin: auto;
    }
    .contact01_form_map>li:not(:last-child)::after {
        position: absolute;
        content: "";
        width: 15px;
        height: 50px;
        right: -24px;
        border: none;
        border-left: 25px solid #8E919E;
        border-top: 25px solid transparent;
        border-bottom: 25px solid transparent;
        z-index: 2;
        top: 0;
        bottom: 0;
        margin: auto;
    }
    .contact01_form_map>li.is-active:not(:last-child)::after {
        border-left: 25px solid #1456C7;
    }
    .contact01_form_box.privacy_link_box {
        margin-top: 0;
        margin-bottom: 60px;
    }
    .mw_wp_form_confirm .contact01_form_box.privacy_link_box {
        display: none !important;
    }
    .contact01_form_box {
        display: flex;
        align-items: center;
    }
    .contact01_form_box.contact01_form_checkbox_box,
    .contact01_form_box.contact01_form_txtarea_box {
        align-items: flex-start;
    }
    .contact01_form_box .contact01_form_ttl {
        margin-bottom: 0;
        min-height: 20px;
        width: calc(33% - 65px);
        padding-right: 25px;
        margin-right: 40px;
        text-align: right;
        align-items: center;
        justify-content: flex-end;
    }
    .contact01_form_box.u-required .contact01_form_ttl::before {
        right: -20px;
        height: 16px;
    }
    .contact01_form_cont {
        width: 68%;
    }
    .form_cofirm_btn_area {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 50px;
    }
    .form_cofirm_btn_area .form_cofirm_btn_wrap {
        width: calc((100% - 10px) / 2);
    }
    .mw_wp_form_input .form_cofirm_btn_area .form_cofirm_btn_wrap {
        margin: inherit;
    }
    .mw_wp_form_input .form_cofirm_btn_area .form_cofirm_btn_wrap:first-child {
        display: none;
    }
    .mw_wp_form_confirm .form_cofirm_btn_area .form_cofirm_btn_wrap:first-child {
        margin-right: 10px;
    }
    .mw_wp_form_confirm .form_cofirm_btn_area .form_cofirm_btn_wrap:first-child {
        margin-right: 10px;
    }
    .form_thanks_txt_wrap .common_txt {
        margin-bottom: 1em;
    }
    .form_thanks_txt_wrap .common_txt:last-child {
        margin-bottom: 0;
    }
}

@media screen and (max-width:1024px) {
    /*  SP/TAB のみ*/
}

@media screen and (min-width:1025px) {
    /* PC*/
    .contact_area {
        max-width: 1170px;
        margin: 0 auto;
    }
    .btn.form_input_btn_wrap:hover>.btn_link,
    .btn.form_cofirm_btn_wrap:hover>.btn_link {
        background-color: #fff;
        color: #1456C7;
    }
    .btn.form_input_btn_wrap:hover::before {
        background-color: #1456C7;
    }
    .btn.form_input_btn_wrap:hover::after {
        border-bottom: 2px solid #1456C7;
        border-right: 2px solid #1456C7;
    }
    .btn.form_cofirm_btn_wrap:hover>.btn_link.form_cofirm_back_btn {
        color: #8e919e;
    }
    /*-----
  contact01_PC
  -----  */
    #contact01 {
        margin-bottom: 50px;
    }
    .contact01_form_link:hover {
        cursor: pointer;
        text-decoration: none;
        opacity: 1;
    }
}

@media screen and (max-width: 360px) {
    /*  IPhone5 */
}

