/*

追加用CSS　SP表示

*/

@media screen and (max-width: 1355px) {
    .width1200 {
        padding: 0 15px;
    }

    .locon.flex {
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }

    .locon_item {
        margin-right: 15px;
    }

    .desktop.navigation .nav-content a {
        font-size: 15px;
        padding: 5px 0 5px 10px;
    }

    .navigation.desktop ul.nav li a:after {
        padding-left: 10px;
    }

    nav.row2 .logo .logo-img {
        width: 280px;
        padding: 5px 0 10px 15px;
    }

    .logo-img img {
        max-width: 280px;
        width: 100%;
    }

    nav.row2 .logo .logo-contact {
        width: calc(100% - 300px);
    }

    .tab {
        font-size: 20px;
    }

    nav.row2 .logo .logo-contact .locon.flex {
        padding-right: 15px;
    }
.sub-header {
    height: 315px;
}
.z-link-img img {
    height: 115px;
}

.z-link-img .caption {
    line-height: 115px;
}
}

@media screen and (max-width: 1000px) {
    .pcnone-1000 {
        display: block;
    }

    .spnone-1000 {
        display: none;
    }

    .width1000 {
        padding: 0 15px;
    }

    section.blog {
        width: 100%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 959px) {

    body.home {
        margin-top: 0 !important;
    }

    body {
        /*margin-top: 47px !important;*/
    }

    nav.row2 .logo-box {
        width: calc(100% - 80px);
    }

    .nav-button {
        margin-top: -5px;
        margin-right: 18px;
    }

    nav.row2 .logo-box {
        width: calc(100% - 50px);
        padding: 0;
        padding: 5px 0;
    }

    nav.row2 .logo .logo-img {
        width: 250px;
        padding: 0;
        margin: 0 0 0 8px;
    }

    .ic_list .img02 img {
        width: 40px;
    }

    nav.row2 .logo .logoArea_sp {
        width: 40px;
    }

    nav.row2 .logo .logo-contact .locon_item02 {
        width: 150px;
    }

    .logo-contact.sn {
        margin-right: 20px;
    }

    .p-link-list li {
        width: 50%;
    }

    .p-link-list li:nth-of-type(4),
    .p-link-list li:last-of-type {
        border-right: dotted 2px #51370e;
    }

    .p-link-list li:nth-of-type(2),
    .p-link-list li:nth-of-type(4),
    .p-link-list li:nth-of-type(6),
    .p-link-list li:last-of-type {
        border-right: none;
    }

    .p-link-list li:nth-of-type(1),
    .p-link-list li:nth-of-type(3),
    .p-link-list li:nth-of-type(5),
    .p-link-list li:last-of-type {
        border-left: none;
    }

    .p-link-block {
        padding: 25px 0;
    }
	/*------------------------navrow1に切替時に追記*/
	nav.flex.fixed{
		justify-content: space-between;
	}

/*section#concept {
    background: top 90px left / 30% no-repeat url(/wp-content/uploads/2022/01/page-bg-item-l.png), bottom 25px right / 30% no-repeat url(/wp-content/uploads/2022/01/page-bg-item-r.png);
}*/
}

@media screen and (max-width: 770px) {
    nav.row2 .logo .logo-img {
        width: 150px;
        padding: 0;
        margin: 0 0 0 8px;
    }

    .half {
        width: 100%;
        margin-bottom: 60px;
    }

    .left70,
    .right30,
    .left30,
    .right70 {
        width: 100% !important;
    }

    .sp-flex-turn {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
        -ms-flex-wrap: wrap-reverse;
        flex-wrap: wrap-reverse;
    }

    .sp-img-450 {
        max-width: 450px;
        margin: 0 auto 15px;
    }

    dl.topics.clearfix {
        width: 100%;
    }

    dl.topics dd a {
        display: block;
    }

    .formatt-child {
        width: calc(90%/2);
        padding: 15px;
        margin: 5px auto;
    }

    ul#menu-menu-2 li {
        width: calc(95%/2);
        padding: 15px 5px;
        margin: 5px auto;
    }

    .footer-info,
    .footer-map {
        width: 90%;
    }

    footer#footer .content {
        width: 100%;
    }

    ul#menu-menu-2 li a {
        font-size: 15px;
    }

    .single .content.padded.blog {
        padding-top: 80px;
    }

    .single .post-title h2 {
        padding-top: 0px;
    }

    .sub-header {
        height: 150px;
    }

    .sub-header h2 {
        font-size: 2em !important;
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
    }

    section.blog {
        width: 100%;
    }

    .blog-content {
        width: 100%;
    }

    .side-content {
        width: 100%;
        padding: 15px;
    }

    .blog-img-box a {
        width: calc(95%/3);
        margin: 5px auto;
    }

    .pager li {
        font-size: 14px;
    }

    .entry-btn {
        width: 100%;
    }

    p,
    a,
    li,
    td,
    .tablepress td a,
    dl.topics dd a {
        font-size: 14px;
    }

    .privacyBox ul.ullist01 li {
        font-size: 14px;
    }

    .logo {
        width: 45%;
    }

    .sub-header {
        height: 150px;
    }

    .sub-header h2 {
        font-size: 1.5em !important;
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
    }

    .pc-none {
        display: block !important;
    }

    .sp-none {
        display: none !important;
    }

    nav.row2 .logo {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .logo-img img {
        max-width: 180px;
        width: 100%;
        margin: 0;
    }

    nav.row2 .logo .logo-img {
        width: 180px;
        padding: 0px 0 0px 5px;
        margin: 0;
    }

    .ic_list li {
        width: 40px !important;
    }

    .ic_list li img {
        width: 100% !important;
    }

    .nav-button {
        margin-right: 10px;
    }

    nav.row2 {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .content.padded {
        padding-bottom: 80px;
    }

    .title h2 {
        font-size: 22px;
        margin-bottom: 5px;
    }

    .f-logo {
        width: 90%;
        margin: 0 auto 20px auto;
    }

    .f-logo img {
        margin: 0 auto;
    }

    footer#footer .content {
        padding: 50px 0 0;
    }

    table.defTable01 tr:first-of-type td {
        border-top: none;
    }

    table.defTable01 td.cen input.wpcf7-confirm,
    table.defTable01 td.cen input.wpcf7-submit {
        margin-right: auto;
    }

    .sub-header h2 {
        padding: 0 15px;
        width: 100%;
        text-align:left;
        left: 50%!important;
    }
body.page-id-3119 .sub-header h2 {
    text-align: right;
}
    dt,
    dd {
        font-size: 16px;
    }

    .ab-block-head {
        max-width:300px;
    }

    #about {
        padding-bottom: 0px;
    }

    #news {
        padding-bottom: 0px;
    }

    .news-block01 .half {
        padding: 30px 20px;
    }

    .com-catch {
        font-size: 20px;
        margin-bottom: 60px;
    }

    .com-b2-inner .half,
    .com-block03 .half {
        margin-bottom: 0;
    }

    .v-list-txt {
        font-size: 14px;
    }

    .v-list-txt:before {
        width: 18px;
        height: 14px;
    }

    #place .half {
        width: 100%;
    }

    .place-box .half {
        margin-bottom: 20px;
    }

    .performance-list li {
        width: 47%;
        margin-bottom: 40px;
    }

    .p-a-title a {
        font-size: 16px;
    }

    .single-p {
        padding: 30px 0 0px;
    }

    .s-p-box {
        width: 100%;
        margin: 0 0 10px;
    }

    .s-p-content {
        margin-top: 0;
    }

    .s-p-title {
        font-size: 20px;
    }

    .request-block01 p {
        font-size: 14px;
    }
/*ヘッダー高さ変更、プロフィール変更*/
	.sub-header{height:130px;}
	.half.prof-img {
    width: 100%;}

.pagetop-icon {
    margin-bottom: 25px;}

.pagetop-icon img {
    width: 100px;}

/*TOPリンクバナー変更*/
.z-link-list li {
    width: 100%;
}

.z-link-block {
    padding: 5px;
}

.z-link-img img {
    height: 90px;
}

.z-link-img .caption {
    line-height: 90px;
}
.z-link-list li .txt-btn p {
    margin: 5px auto;
    width: 100%;
    text-align: left;
}

.z-link-inner {
    padding-top: 5px;
    width: 38%;
}

    .z-link-list li .txt-btn {
    width: 60%;
}

.z-link-list li h4 {
    font-size: 20px;
}
/*----------------LINE---------------------*/
    .line-head {
        font-size: 16px;
    }
    .line-foot {
        font-size: 16px;
    }
    .fee-list li {
        width: 100%;
    }
    .fee-title {
        font-size: 18px;
    }
    .line-block {
        padding: 15px;
    }
    .line-title {
        font-size: 18px;
    }
h3.ab-block-head.top {
    max-width: 300px;
}
}

@media screen and (max-width: 600px) {

    .sp-flex-turn02 {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
        -ms-flex-wrap: wrap-reverse;
        flex-wrap: wrap-reverse;
    }
/*プロフィール変更*/
	    .sp-flex-turn02 {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .pcnone-600 {
        display: block;
    }

    .spnone-600 {
        display: none;
    }

    .lb-back-to-top {
        right: 1em;
        bottom: 1em;
        opacity: 0.9;
    }

    #splash_logo img {
        max-width: 200px !important;
    }

    .state-title02 {
        font-size: 20px;
    }

    .state-title01,
    .tablepress-table-name {
        width: 100%;
        font-size: 16px;
        letter-spacing: 0;
        margin-bottom: 15px;
    }

    .post {
        margin-top: 0px;
    }

    .ui-accordion .ui-accordion-header {
        font-size: 14px !important;
    }

    .tab-group {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .tab {
        width: 40%;
        font-size: 18px;
    }

    .tab span {
        display: inline;
        width: auto;
    }

    .title {
        margin-top: 0px;
        margin-bottom: 20px;
    }

    section#login_form form {
        width: 100%;
    }

    #blog-category {
        padding-top: 0;
    }

    .tablepress td,
    .tablepress th {
        font-size: 14px !important;
    }

    .tablepress td a {
        font-size: 14px;
    }

    .shortcode {
        margin-top: 20px;
    }

    h2.block-h2 {
        font-size: 22px;
    }

    h3.block-h3 {
        font-size: 20px;
    }
	
	h3.com-catch.logotoonajimurasaki {
    font-size: 25px;
	}
	
    #accordion dt,
    #accordion dd {
        font-size: 14px;
    }

    .custom-table td {
        font-size: 14px;
        display: block !important;
        width: 100% !important;
        text-align: center;
    }

    .post-meta h6,
    .post-meta a {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .post-meta a {
        margin-left: 5px;
    }

    table.defTable01 th {
        font-size: 18px;
    }

    #contact {
        padding-bottom: 0;
    }

    .single .content.padded.blog {
        padding-top: 0px;
    }

    .p-link-list li {
        margin-bottom: 20px;
        padding: 0 10px 0;
    }

    .p-link-img .caption {
        display: none;
    }

    .p-link-img img {
        height: 25vw;
    }

    .p-link-list li h4 {
        font-size: 20px;
    }

    .p-link-inner {
        padding-top: 10px;
    }

    .about-block01,
    .about-block02 {
        margin-bottom: 20px;
    }

    .half {
        margin-bottom: 40px;
    }

    .com-catch {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .btn01 {
        font-size: 16px;
    }

    #comcept,
    #experience,
    #place,
    #profile,
    #performance,
    #request,
    #contact {
        padding-top: 0;
        padding-bottom: 0;
    }

    .g-calendar-wrap {
        padding: 5px;
    }

    .ex-block01,
    .ex-block02 {
        margin-bottom: 30px;
    }

    .pro-txt,
    .pro-img {
        width: 100%;
    }

    .pro-img img {
        max-width: 200px;
        margin: 0 auto 20px;
    }

    .s-p-img-list li {
        width: 100%;
        margin: 0 0 10px;
    }

    .privacyBox .ttl-01 {
        font-size: 16px;
    }

    .privacyBox .ttl-01 span {
        font-size: 12px;
    }
}

@media screen and (max-width: 450px) {

    .table-wrap01 .tablepress td,
    .table-wrap01 .tablepress th {
        display: block;
        width: 100% !important;
        text-align: center;
        border-top: none !important;
    }

    .table-wrap01 .tablepress tbody tr:last-of-type td.column-2 {
        border-bottom: none;
    }

    .border {
        display: block;
        width: 80%;
    }

    .state-title01 {
        margin-bottom: 15px;
    }

    .performance-list li {
        width: 100%;
        margin-bottom: 40px;
    }
}
