@media screen and (min-width:1201px){
    .top{
        padding-top:200px;
    }

    .top h1{
        font-size: var(--font-a);
    }
}


@media screen and (max-width:1000px){


    /* 
    ===================

    common

    ===================
    */

    .title{
        padding-bottom: 70px;
    }

    .pc{
        display: none;
    }

    .sp{
        display: block;
    }

        /* 
    ===================

    header

    ===================
    */

    header{
        height: 80px;
        padding: 0;
    }

    .header-wrap-sp{
        padding: 1vw 0;
        height: 80px;
    }

    .header-logo{
        width: 100px;
        margin: 0;
        margin-left: 10%;
    }

    .header-logo img{
        width: 70%;
        margin-top: 10px;
    }

    .spnav .header-nav-p{
        width: 100%;
    }

    /* 
    ===================

    nav

    ===================
    */



    .navwrap__sp{
    display: block;
    }

    .sp-ctabtn{
    width: 100%;
    }

    .nav-list{
    flex-direction: column;
    color: var(--blue);
    }

    .sp-ctabox{
    display: flex;
    }

    .cta-btn-box {
    display: flex;
    }

    .cta-btn-box > li:first-child {
    margin-right: 10px;
    }


    .cta-btn-box li:first-child{
    padding-bottom: 4%;
    }






    .hamburger {
    position: absolute;
    right: 20px;
    top: 18px;
    width: 5rem;
    height: 4rem;
    cursor: pointer;
    z-index: 1001;
    }

    .ham_line {
    position: absolute;
    width: 2rem;
    height: 3px;
    right: 0;
    background-color: var(--blue);
    transition: all 0.5s;
    }

    .ham_line-1 {
    top: 5px;
    }

    .ham_line-2 {
    top: 18px;
    }

    .ham_line-3 {
    top: 31px;
    }


    .open .ham_line-1 {
    transform: rotate(-45deg);
    top: 11px;
    }

    .open .ham_line-2 {
    opacity: 0;
    }

    .open .ham_line-3 {
    transform: rotate(45deg);
    top: 11px;
    }


    /* 
    spnav(ナビ)
    =================================== */


    .spnav {
    position: fixed;
    right: -100%;
    top: 0;
    width: 50%;
    height: 100vh;
    background-color: #fff;
    transition: all 0.5s;
    z-index: 1000;
    overflow-y: auto;
    }

    .sp-contact-box{
        width: 100%;
        display: block;
        margin: 6px auto 24px;
    }

    .spnav .cta-box{
        display: flex;
        flex-direction: column;
    }

    .open .spnav {
    right: 0;
    }

    .black-bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 5;
    background-color: var(--blue);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
    cursor: pointer;
    z-index: 100;
    }

    .open .black-bg {
    opacity: 0.3;
    visibility: visible;
    }

    .spwrap {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    padding: 0 4rem;
    }

    .nav-list {
    width: 100%;
    margin-bottom: 6%;
    }

    .header-wrap-sp {
        display: flex;
    }

    .header-middle{
        display: flex;
        align-items: center;
        width: 50%;
        font-size: var(--font-d);
    }


    .nav-list li{
    padding: 10% 0 4%;
    border-bottom: 1px solid var(--blue);
    }

    .nav-list li a{
    display: flex;
    }

    .sp-menu-line  {
    display: flex;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--gray);
    transition: .2s;
    }

    .sp-menu-link{
    display: flex;
    padding: 0 0 16px 0;
    width: 100%;
    }


    .sp-menu-arrow{
    display: block; 
    margin-left: auto;
    font-weight: bold;
    font-size: var(--font-bs);
    }

    .sp-menu-line:hover {
    color: var(--accent-color);
    border-bottom: 1px solid #fff;
    }


    /* 
    ===================

    top

    ===================
    */

    .top{
        padding-top: 140px;
        height: 650px;
    }

    .top h1{
        font-size: 48px;
    }



    


    /* 
    ===================

    service

    ===================
    */

    .service-content{
        width: 100%;
    }

    .service-text{
        width: 100%;
    }

    .service-img{
        top: 0;
        width: 100%;
    }

    .scts01{
        margin-bottom: 80px
    }


        /* 
    ===================

    works

    ===================
    */

    .works{
        padding-top: 100px;
    }

    


    /* 
    ===================

    contact

    ===================
    */



    .form-tr{
        flex-direction: column;
        margin-bottom: 8%;
    }

    .form-tr th{
        width: 100%;
        align-items: center;
        margin-bottom: 8px;
    }

    .required{
        margin-left: 10px;
    }


    .td-box{
        flex-direction: column;
    }

    .td-box li{
        width: 100%;
        margin-bottom: 1%;
    }

    .td-box li{
        width: 100%;
    }


    .attention
    {
        margin-left: 0;
        line-height: 1.2em;
    }


    
    input[type="text"],
    textarea
    {
    padding: 4%;
    font-size: 16px;
    }


}





@media screen and (max-width:800px){

    /* 
    ===================

    nav

    ===================
    */ 

    .spnav{
        width: 100%;
    }

    .spnav .header-nav-p{
        padding: 30px;
        margin-bottom: 10px;
    }

    .spmenu{
        width: 100%;
    }

    .nav-list li {
        padding: 40px 0 10px;
    }

    .sp-contact-box{
        width: 60%;
    }


    /* 
    ===================

    works

    ===================
    */

    .works .title{
        padding-bottom: 70px;
    }

    .works-items{
        flex-direction: column;
    }

    .works-items figure{
        width: 100%;
    }

    .works-items figure:not(:last-child){
        margin-bottom: 32px;
    }

    .works-items figure figcaption{
        padding: 14px;
    }

    .scts01{
        margin-top: 40px;
    }

    .works-h2{
        width: 20%;
    }

    ._wc01 {
        margin-bottom: 50px;
    }

    ._wc02 .works-h2{
        width: 35%;
    }



    /* 
    ===================

    service

    ===================
    */

    .number{
        height:120px;
    }


    /* 
    ===================

    about

    ===================
    */

    .about-box{
        padding-bottom: 28px;
    }

    .about-item:nth-child(2n) dd {
        text-align: center;
        display: block;
    }



    

}


@media screen and (max-width:500px){

    
    /* 
    ===================

    nav

    ===================
    */ 


    .spnav .header-nav-p{
        padding: 20px;
        margin-bottom: 0;
    }

    .nav-list {
        margin-bottom: 0;
    }

    .header-middle{
        font-size: 12px;
        width: 40%;
    }


    .sp-contact-box{
        width: 100%;
        margin-top: 40px;
    }


    /* 
    ===================

    top

    ===================
    */ 

    .top h1{    
        font-size: var(--font-b);
    }

        /* 
    ===================

    service

    ===================
    */

    .number{
        height:100px;
        left: -20px;
    }

    /* 
    ===================

    works

    ===================
    */

    .works-h2{
        width: 25%;
    }

    ._wc02 .works-h2{
        width: 35%;
    }

    /* 
    ===================

    about

    ===================
    */


    .about-details{
        padding-bottom: 60px;
    }
    
    /* 
    ===================

    contact

    ===================
    */

    .required{
        padding: 3px 8px;
    }



}


@media screen and (max-width:400px){

   /* 
    ===================

    nav

    ===================
    */

    .tel-font {
        font-size: var(--font-c);
    }

    .header-tel-ul img, .tel-ul img{
        width: 25px;
    }



    /* 
    ===================

    common

    ===================
    */

    .title h2{
        font-size: 42px;
    }

        /* 
    ===================

    top

    ===================
    */

    .top{
        height: 600px;
    }


    /* 
    ===================

    service

    ===================
    */

    .circulate-img img{
        padding-bottom: 60px;
    }

    .service-content{
        padding: 28px 30px 60px;
    }

    .number{
        height:90px;
    }


        /* 
    ===================

    works

    ===================
    */



    ._wc02 .works-h2 {
        width: 55%;
    }

    ._wc01 {
        margin-bottom: 60px;
    }
}
