/* contact page phone field fix */
.contactpage__form .mwform-tel-field{
    width: 100%;
    display: block;
}
.contactpage__form .mwform-tel-field input{
    width: 31.9%;
}
@media only screen and (max-width:991px){
    .contactpage__form .mwform-tel-field input{
        width: 31.8%;
    }
}
@media only screen and (max-width:953px){
    .contactpage__form .mwform-tel-field input{
        width: 31.7%;
    }
}
@media only screen and (max-width:919px){
    .contactpage__form .mwform-tel-field input{
        width: 31.6%;
    }
}
@media only screen and (max-width:889px){
    .contactpage__form .mwform-tel-field input{
        width: 31.4%;
    }
}
@media only screen and (max-width:838px){
    .contactpage__form .mwform-tel-field input{
        width: 31%;
    }
}
@media only screen and (max-width:396px){
    .contactpage__form .mwform-tel-field input{
        width: 28%;
    }
}

/* wysiwyg */
.blogcard--3 .blogcard__details .contents img{
    height: auto;
    width: 100%;
}

.blogcard__details img{
    height: auto;
    width: 100%;
}
.blogcard--1 .blogcard__details h3 a {
    line-height: 1.4;
}
.pagination{
    margin-bottom: 0;
}
.pagination__item a{
    padding: 5px 10px 10px;
    border-radius: 50%;
    color: #B3B3B3;
    border: 0px;
    font-size: 30px;
    display: inline-block;
    line-height: 1;
    text-decoration: none;
}
.pagination__item.is-active a{
    color: #fff;
    background-color: #0abccf;
    padding: 5px 14px 10px;
    margin: 0 10px;
}
.pagination-sm__next, .pagination-sm__prev {
    display: none;
}
.pagination-space{
    height: 70px;
}

/* prev and next  */
.pagination__item.prev,
.pagination__item.next{
    margin: 0 10px;
}
.pagination__item.prev a,
.pagination__item.next a{
    width: 20px;
    height: 30px;
    overflow: hidden;
    background-color: #fff;
    position: relative;
    margin-top: 10px;
}
.pagination__item.prev a:after,
.pagination__item.next a:after{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #fff;
}
.pagination__item.prev a:after{
    content: url(./img/icons/prev.svg);
}
.pagination__item.next a:after{
    content: url(./img/icons/next.svg);
}

/* for sp */
@media only screen and (max-width: 575px){
    .pagination-lg {
        display: block;
        /* margin-bottom: 145px */
    }
    .pagination {
        flex-direction: column-reverse;
    }
    .pagination__item--pagnum{
        display: none;
    }   
    .pagination__item.prev,
    .pagination__item.next{
        display: block;
        color: #666;
        font-size: 21px;
        font-weight: 600;
        text-align: center;
        border: 1px solid #666;
        margin-bottom: 20px;
        position: relative;
    }
    .pagination__item.prev a,
    .pagination__item.next a{
        width: 100%;
        height: 100%;
        overflow: visible;
        margin-top: 0px;
        padding: 14px 0;
    }
    .pagination__item.prev a:after{
        content: '前のページ';
    }
    .pagination__item.next a:after{
        content: '次のページ';
    }
    .pagination__item.prev a:after,
    .pagination__item.next a:after{
        color: #666;
        top: 0;
        bottom: 0;
        line-height: 2;
        font-size: 21px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .pagination__item.prev a:before,
    .pagination__item.next a:before{
        position: absolute;
        z-index: 4;
        width: 24px;
        top: 18%;
    }
    .pagination__item.prev a:before{
        content: url(./img/icons/page-prev.svg);
        left: 10px;
    }
    .pagination__item.next a:before{
        content: url(./img/icons/page-next.svg);
        right: 10px;
    }
    .pagination-sm__next, .pagination-sm__prev {
        display: block;
        color: #666;
        font-size: 21px;
        font-weight: 600;
        text-align: center;
        padding: 14px 0;
        border: 1px solid #666;
        margin-bottom: 20px;
        position: relative;
    }
    .pagination-space{
        height: 145px;
    }
}
.header .current-menu-ancestor{
    border-bottom: 5px solid #0ABCCF;
}
.header .current-menu-ancestor .current-menu-item{
    border-bottom: none;
    background-color: #f1f1f1;
}

.contactpage__form .contactconfirm .form__input--2 .innerinput label {
    margin-bottom: 0;
    text-align: left;
}

.mw_wp_form.mw_wp_form_send_error{
    text-align: center;
    margin-bottom: 105px;
}
.inquiryconfirm__title p{
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}
.btn-complete{
    margin-top: 30px;
    margin-bottom: 105px;
    text-align: center;
}
.btn-complete a{
    padding: 10px 30px;
    color: #FFFFFF;
    border-radius: 25px;
    background-color: #0ABCCF;
    border-color: none !important;
    font-size: 16px;
    font-weight: 600;
    outline: none !important;
} 
.btn-complete a:hover{
    opacity: 0.8;
    text-decoration: none;
} 
/* contact confirm  */
@media only screen and (max-width:767px){
    .contactpage__form .contactconfirm .form__input{
        padding-left: 20px;
    }
}
@media only screen and (max-width: 575px){
    .contactpage__form .form__input {
        text-align: center;
    }
    .contactpage__form .form__input--2 .innerinput{
        justify-content: center;
    }
}
@media only screen and (max-width: 991px){
    .contactpage__form .form__btn .btn {
        width: 300px;
    }
}
@media only screen and (max-width: 643px){
    .contactpage__form .form__btn .btn.btn-cfback {
        margin-bottom: 20px;;
    }
}




/* contact error bug */
.contactpage__form .form__input--2 .innerinput {
    flex-wrap: wrap;
}
.contactpage__form  .mw_wp_form .form__input--2 .innerinput .error {
    padding-left: 50px;
}
@media only screen and (max-width: 987px){
    .contactpage__form .form__input--2 .innerinput input {
        width: calc(85% - 20px);
    }
}
@media only screen and (max-width: 860px){
    .contactpage__form .form__input--2 .innerinput input {
        width: calc(85% - 30px);
    }
}
@media only screen and (max-width: 767px){
    .contactpage__form .form__input--2 .innerinput input {
        width: calc(85% - 40px);
    }
}


/* header fix   */
@media only screen and (max-width: 767px){
    .header__nav-wrapper.is-opened{
        background-color: transparent;
        overflow: scroll;
    }
    .header .mynav{
        min-height: 100vh;
        background-color: rgba(0,0,0,0.7);
    }
    header .mynav li{
        background-color: #fff;
    }
    .header .mynav__link a {
        padding: 15px 25px;
        width: 100%;
    }
   
}



/* headings wysiwyg  */
.contents h3{
    font-size: 1.75rem!important;
}



/*css fixes */
.shop__steps-row img{
	max-width: 100%!important;
}
@media only screen and (max-width: 767px){
	.shop__demo-img img {
	    max-width: 50%;
	}
}


/*tags*/
.mytags--single{
	margin-bottom: 10px;
}
.mytags a {
	color: #333;
    display: inline-block;
    font-size: 10px;
    padding-left: 13px;
    padding-right: 10px;
    position: relative;
}
.mytags a:before{
	content: '#';
    position: absolute;
    left: 0;
    top: 0;
    color: #0abccf;
}