.sp_menu {
    display: none
}

@media screen and (max-width: 1024px) {
    #header .inner {
        width: 95%;
        padding: 20px 0
    }

    #header .inner #head_right {
        display: none
    }

    #navi {
        display: none
    }

    .slideshow {
        width: 95%
    }

    #footer .inner {
        width: 95%
    }

    .bg_contact .inner {
        padding: 30px 0
    }

    .contact_bnr li {
        margin: 0 5px
    }

    .contact_bnr li a,
    .contact_bnr li span {
        width: 210px
    }

    .single,
    .single_02 {
        width: 95%
    }

    .bg-greet {
        height: 240px;
        background-attachment: scroll
    }

    .column2_tab {
        display: block;
        margin-bottom: 0
    }

    .column2_tab .child {
        width: 100%;
        margin: 0 0 20px
    }

    .column2_tab .child:nth-child(2n) {
        margin: 0 0 20px
    }

    .column2_tab .child:last-child {
        margin: 0
    }

    .column5 .child {
        width: 31.3%;
        margin: 0 3% 3% 0
    }

    .column5 .child:nth-child(5n) {
        margin: 0 3% 3% 0
    }

    .column5 .child:nth-child(3n) {
        margin: 0 0 3% 0
    }

    .mtitle span {
        margin: 0 4.5em
    }

    .blog_list .blog_img p a:first-child {
        height: 150px
    }

    .works-area .before-img,
    .works-area .after-img {
        width: 45%
    }

    .works-area div img {
        width: 100%;
        height: auto;
        max-height: none
    }

    .list_flow {
        display: block
    }

    .list_flow li {
        width: 100%;
        margin: 0 0 20px
    }

    .list_flow li:nth-child(2n) {
        margin: 0 0 20px
    }

    .list_flow li dl {
        min-height: initial
    }

    .page_link li {
        width: 49.5%;
        margin: 0 1% 1% 0
    }

    .page_link li:nth-child(3n) {
        margin: 0 1% 1% 0
    }

    .page_link li:nth-child(2n) {
        margin: 0 0 1% 0
    }

    .w400 {
        width: 300px
    }

    .tbbr {
        display: block
    }

    #sp_navi {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(20, 118, 193, 0.8)
    }

    #sp_navi ul {
        display: table;
        width: 100%
    }

    #sp_navi ul li {
        display: table-cell;
        width: 33.3%;
        border-right: 1px solid #4f92cb
    }

    #sp_navi ul li:last-child {
        border-right: none
    }

    #sp_navi ul li a {
        display: block;
        padding: 10px 0;
        font-family: 'FontAwesome';
        text-align: center;
        color: #FFFFFF;
        font-size: 2.5rem
    }

    .sp_menu {
        display: block
    }

    .btn__box {
        position: relative;
        width: 500px;
        height: 40px;
        margin: 100px auto 0;
        font-size: 13px;
        cursor: pointer;
        -webkit-perspective: 500px;
        perspective: 500px
    }

    .btn__box a {
        position: absolute;
        display: block;
        width: 500px;
        height: 38px;
        line-height: 38px;
        color: rgba(255, 255, 255, 0);
        border: 1px solid rgba(255, 255, 255, 0);
        -webkit-transition: all .3s ease;
        transition: all .3s ease;
        -webkit-transform: rotateX(90deg);
        transform: rotateX(90deg);
        -webkit-transform-origin: 50% 50% -20px;
        -ms-transform-origin: 50% 50% -20px;
        transform-origin: 50% 50% -20px
    }

    .btn__box:after {
        position: absolute;
        display: block;
        width: 500px;
        height: 38px;
        line-height: 38px;
        color: rgba(255, 255, 255, 0);
        border: 1px solid rgba(255, 255, 255, 0);
        -webkit-transition: all .3s ease;
        transition: all .3s ease;
        -webkit-transform: rotateX(90deg);
        transform: rotateX(90deg);
        -webkit-transform-origin: 50% 50% -20px;
        -ms-transform-origin: 50% 50% -20px;
        transform-origin: 50% 50% -20px;
        top: 0;
        left: 0;
        width: 500px;
        height: 38px;
        line-height: 38px;
        color: #fff;
        border: 1px solid #fff;
        -webkit-transform: rotateX(0deg);
        transform: rotateX(0deg);
        content: ""
    }

    .btn__box:hover a {
        color: #fff;
        border: 1px solid #fff;
        -webkit-transform: rotateX(0deg);
        transform: rotateX(0deg);
        z-index: 2
    }

    .btn__box:hover:after {
        color: rgba(255, 255, 255, 0);
        border: 1px solid rgba(255, 255, 255, 0);
        -webkit-transform: rotateX(-90deg);
        transform: rotateX(-90deg);
        z-index: 1
    }

    .menu {
        position: fixed;
        display: table;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        -webkit-transition: all .5s;
        transition: all .5s;
        visibility: hidden;
        opacity: 0;
        z-index: 9999
    }

    .side-open .menu {
        -webkit-transition: all .5s;
        transition: all .5s;
        visibility: visible;
        opacity: 1
    }

    .menu ul {
        display: table-cell;
        vertical-align: middle
    }

    .menu li {
        width: 500px;
        margin: 0 auto;
        text-align: center;
        opacity: 0
    }

    .side-open .menu li {
        -webkit-transition: all .5s;
        transition: all .5s;
        visibility: visible;
        opacity: 1
    }

    .menu li a {
        display: block;
        height: 60px;
        line-height: 60px;
        -webkit-transition: all .5s;
        transition: all .5s;
        text-decoration: none;
        font-size: 14px;
        color: #3478b3
    }

    .menu li a:hover {
        opacity: 0.7
    }

    .menu-btn {
        position: fixed;
        top: 3%;
        right: 10px;
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 0.9rem;
        text-align: center;
        cursor: pointer;
        z-index: 99999;
        letter-spacing: 0;
        background: url(../img/bg_footer.png) repeat center center
    }

    .menu-btn span {
        color: #FFFFFF
    }

    .menu-btn span:after {
        content: attr(data-txt-open)
    }

    .side-open .menu-btn span:after {
        content: attr(data-txt-close)
    }

    .menu-btn:hover span:nth-child(1):after {
        -webkit-animation: anim .5s ease 0s forwards;
        animation: anim .5s ease 0s forwards
    }

    .menu-btn:hover span:nth-child(2):after {
        -webkit-animation: anim .5s ease .1s forwards;
        animation: anim .5s ease .1s forwards
    }

    .menu-btn:hover span:nth-child(3):after {
        -webkit-animation: anim .5s ease .2s forwards;
        animation: anim .5s ease .2s forwards
    }

    .menu-btn:hover span:nth-child(4):after {
        -webkit-animation: anim .5s ease .3s forwards;
        animation: anim .5s ease .3s forwards
    }

    .menu-btn:hover span:nth-child(5):after {
        -webkit-animation: anim .5s ease .4s forwards;
        animation: anim .5s ease .4s forwards
    }

    @-webkit-keyframes anim {
        0% {
            -webkit-transform: translateY(0px);
            transform: translateY(0px)
        }

        50% {
            -webkit-transform: translateY(-5px);
            transform: translateY(-5px)
        }

        100% {
            -webkit-transform: translateY(0px);
            transform: translateY(0px)
        }
    }
}

@media screen and (max-width: 667px) {
    body {
        font-size: 1.2rem
    }

    #header .inner {
        padding: 15px 0
    }

    #header .inner #logo {
        margin: 0;
        width: 220px
    }

    #footer {
        padding: 30px 0
    }

    #footer .inner .footer_contact {
        display: block
    }

    #footer .inner .footer_contact .contact_detail,
    #footer .inner .footer_contact .contact_navi {
        width: 100%
    }

    #footer .inner .footer_contact .contact_detail {
        margin-bottom: 20px;
        text-align: center
    }

    #footer .inner .footer_contact .contact_detail #footer_logo {
        margin: 0 auto 20px;
        width: 250px
    }

    #footer .inner .footer_contact .contact_navi .foot_navi li a {
        font-size: 1.2rem
    }

    #footer .inner .copyright {
        text-align: center;
        font-size: 1rem
    }

    .bg_contact {
        padding: 30px 0
    }

    .contact_bnr li {
        display: block;
        margin: 0 0 15px
    }

    .contact_bnr li:last-child {
        margin: 0
    }

    .contact_bnr li a,
    .contact_bnr li span {
        width: 100%;
        box-sizing: border-box
    }

    .contact_bnr li a {
        font-size: 1.6rem
    }

    .slideshow {
        margin-bottom: 30px
    }

    .swiper-slide {
        padding: 10rem 0
    }

    .single,
    .single_02 {
        width: 95%
    }

    .single {
        padding-bottom: 40px
    }

    .bg01 {
        margin-bottom: 30px;
        padding: 30px 0
    }

    .mbox {
        padding: 20px 15px
    }

    #main,
    #side {
        float: none;
        width: 100%
    }

    #main {
        margin-bottom: 20px
    }

    .column3 {
        display: block
    }

    .column3 .child {
        width: 100%;
        margin: 0 0 20px
    }

    .column3 .child:nth-child(3n) {
        margin: 0 0 20px
    }

    .column5 .child {
        width: 48.5%
    }

    .column5 .child:nth-child(3n) {
        margin: 0 3% 3% 0
    }

    .column5 .child:nth-child(2n) {
        margin: 0 0 3% 0
    }

    .column2 {
        display: block
    }

    .column2 .child {
        width: 100%;
        margin: 0 0 20px
    }

    .column2 .child:nth-child(2n) {
        margin: 0 0 20px
    }

    .column2 .child:last-child {
        margin: 0
    }

    .mtitle {
        margin-bottom: 20px;
        font-size: 1.3rem
    }

    .mtitle span {
        font-size: 2.5rem;
        margin: 0 2.5em
    }

    .mtitle_bnr {
        font-size: 1.8rem
    }

    .mtitle_middle,
    .mtitle-bll,
    .mtitle_category,
    .mtitle_flow {
        font-size: 1.6rem
    }

    .newsbox {
        display: block
    }

    .newsbox .news-ttl {
        width: 100%;
        text-align: center;
        border-right: none;
        margin-bottom: 20px;
        font-size: 2rem
    }

    .newsbox .news-ttl span {
        font-size: 1.2rem
    }

    .newsbox .news-bx {
        padding: 0
    }

    .blog_list {
        display: block
    }

    .blog_list .blog_img,
    .blog_list .blog_detail {
        width: 100%
    }

    .blog_list .blog_img {
        margin-bottom: 10px
    }

    .blog_list .blog_img p a:first-child {
        height: auto
    }

    .blog_list .blog_img p a:first-child img {
        position: static;
        -webkit-transform: translate(0%, 0%);
        -ms-transform: translate(0%, 0%);
        transform: translate(0%, 0%)
    }

    .tbl01 {
        display: block;
        border-top: 1px solid #295e8b;
        border-right: 1px solid #295e8b
    }

    .tbl01 th,
    .tbl01 td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        border: none;
        border-bottom: 1px solid #295e8b;
        border-left: 1px solid #295e8b
    }

    .company th {
        width: 30%
    }

    .concept-wrap {
        padding: 0
    }

    .concept-wrap.concept-wrap_top {
        margin-bottom: 30px
    }

    .concept-wrap .bg-back,
    .concept-wrap .figure {
        width: 100%
    }

    .concept-wrap .concept-inner {
        margin: 0 auto !important
    }

    .concept-wrap .concept-inner .in-wrap {
        float: none;
        width: 95%;
        margin: 0 auto
    }

    .concept-wrap .concept-inner .in-wrap .concept-box {
        width: 100%;
        padding: 5%;
        margin: auto;
        box-sizing: border-box
    }

    .concept-wrap .concept-inner .in-wrap .concept-box .conts-sub_ttl {
        width: 100%
    }

    .works-area,
    .before-img,
    .works-area p,
    .after-img {
        display: block;
        width: 100%
    }

    .works-area {
        margin-bottom: 40px
    }

    .works-area p {
        transform: rotate(90deg);
        padding: 0
    }

    .works-area div img {
        width: 100%;
        height: auto
    }

    .page_link {
        display: block
    }

    .page_link li {
        width: 100%;
        margin: 0 0 5px
    }

    .page_link li:nth-child(3n) {
        margin: 0 0 5px
    }

    .page_link li:nth-child(2n) {
        margin: 0 0 5px
    }

    .list_flow li dl {
        display: block
    }

    .list_flow li dl dt,
    .list_flow li dl dd {
        display: block
    }

    .list_flow li dl dt {
        width: 100%;
        box-sizing: border-box
    }

    .list_flow li dl dd {
        width: 100%;
        box-sizing: border-box;
        border-left: 1px solid #CCCCCC;
        padding: 10px 10px 20px 10px
    }

    .fleft0,
    .fleft1,
    .fleft2,
    .fright0,
    .fright1,
    .fright2 {
        display: block;
        float: none;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px
    }

    .w200,
    .w250,
    .w300,
    .w350,
    .w400 {
        width: 100%
    }

    .spbr {
        display: block
    }

    .pcbr {
        display: none
    }

    .sp-tcenter {
        text-align: center
    }

    .page-title {
        margin-bottom: 30px
    }

    .breadcrumb {
        margin-bottom: 20px;
        font-size: 1.1rem
    }

    .form {
        width: 100%
    }

    .form dl {
        margin: 10px 0
    }

    .form dl dt {
        float: none;
        width: 100%;
        /* height: 20px; */
        line-height: 20px;
        padding-top: 10px
    }

    .form dl dd {
        width: 100%;
        padding-left: 0;
        padding-bottom: 10px;
        padding-top: 10px;
        line-height: 20px
    }

    .form dl dd:last-child {
        border-bottom: 0px;
        margin-bottom: 0px
    }

    .form .textarea,
    .form textarea,
    .form .dropdown {
        width: 100%
    }

    .form .textarea02 {
        width: 48.5%
    }

    .form .textarea03 {
        width: 30%
    }

    .form button {
        width: 95%
    }

    .btn__box {
        width: 100%;
        -webkit-perspective: 200px;
        perspective: 200px
    }

    .btn__box a {
        width: 100%
    }

    .btn__box:after {
        width: 100%;
        width: 100%
    }

    .menu li {
        width: 100%
    }

    .menu li a {
        height: 50px;
        line-height: 50px
    }

    .menu-btn {
        top: 1.5%
    }

    .form .form-contents form dl dt:not(.pattern-exclusion) {
        width: 100%;
        margin-bottom: 0;
    }
    
    .form .form-contents form dl dd:not(.pattern-exclusion) {
        width: 100%;
    }
}
