@media(max-width:1000px){/*tb*/
.header_menu {
    display: none;
}
.pc_view {
    display: none;
  }
.burger-btn {
    z-index: 3;
    background-color: transparent;
    border: none;
    cursor: pointer;
    height: 30px;
    width: 90px;
    margin: 25px 30px 0 0;
    display: flex;
    align-items: center;
  }
  
  .bars {
    color: rgb(59,59,59);
    display:inline-block;
    width: 50%;
    padding:10px;
    vertical-align: middle;
  }
  
  .bar,.bar::before,.bar::after {
    content: "";
    display: block;
    background-color: rgb(59,59,59);
    height: 2px;
    width: 22px;
    border-radius: 1px;
  }
  
  .bar::before {
   transform: translateY(-5px);
  }
  
  .bar::after {
    transform: translateY(3px);
  }
  
  .menu {
    color: rgb(59,59,59);
    display:block;
    text-transform: uppercase;
    margin-top:1px;
    font-size:1rem;
  }
  .news-wrapper {
    width: 95%;
  }

  .footer-main {/*両端と均等配置*/
    display: block;
}
  .flex-box_start_f {
    justify-content: center;
}
    .footer-menu li:first-child {
        margin-left: 2.5rem;
    }
    .footer-logo {
        margin:0 auto;
        padding: 2rem 1rem 0 1rem;
    }

    .footer-menu {
        margin: 0 auto;
        padding: 2.5rem 0;
    }
    .footer-menu ul {
        margin: 0 auto;
        text-align: center;
    }
    .sub-contents-photo {
        display:flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media(max-width:768px){/*tb*/
    body {
        font-size: 1.4rem;/*メディアクエリで1.4remにすると便利。*/    
    }    
    .header-logo {
        width: 20rem;
        margin: 2.5rem 0 0 3rem;
    }
    .header-nav {
        width: 100%;
    }
    .copy-wrapper span {
        font-size: 3.2rem;
        letter-spacing: .5rem;
        line-height: 5rem;
        margin-bottom: 1.5rem;
        padding: 1rem 1.5rem 1rem 1.5rem;
    }
    .circle {
    padding: 0 2.5rem;
    }
    .flex-box_start_f {
        display:block;
    }
    .flex-box_start_f li {
        display:block;
        margin-bottom: 10px;
    }
    .flex-box_start_f li a {
        font-size: 1.6rem;
    }

    .footer-menu li:first-child {
        margin-left: 0;
    }
    .footer-menu li {
        margin-right: 0rem;
    }

    #page_top{
        width: 70px;
        height: 70px;
      }

    #page_top a {
        width: 70px;
        height: 70px;
    }
    .title span {
        display: inline-block;
    }

    .title-s span {
        display: inline-block;
    }

    .sub-con-p {
        width:95%;
        margin:10px auto;
    }
    .item-name {
        font-size: 1.2rem;
    }
    .contents-heading span{
        display:block;
    }
}

@media(max-width:520px){/*sp*/
    .header-logo {
        width: 18rem;
        margin: 2.5rem 0 0 1rem;
    }
    .burger-btn {
        margin: 2.5rem 1rem 0 0;
      }
    .copy-wrapper span {
    font-size: 2.6rem;
    letter-spacing: .5rem;
    line-height: 5rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem 1rem 1.5rem;
    }    
    .contents {
        width: 90%;
        margin: 30px auto;
     }

    .flex-box_rev {
        display: block;
    }
    .flex-box_ser {
        display: block;
    }
    .heading {
        padding: 4rem 0; 
    }
    .circle {
        padding: 0 4rem;
    }
    .contents-btn {
        display:flex;
        justify-content: center;
        margin-right: 0;
      }
    .flex-box_start_n {
        flex-direction: column;
    }
    .news li {
        padding: 10px 0 5px 0;
    }
    .text {
        margin:10px 0;
    }
    .list-item {
        font-size: 1.2rem;
    }
    .thead {
        display: none;
      }
    .data-name {
        background: #3A98D8;
        color: #fff;
      }
    td {
        display: block;
    }
    td::before {
        content: attr(data-label);
        font-size: .875rem;
        color: #666;
        display: block;
        margin-bottom: 0.25rem;
      }
      .function-list {
        width: 45%;
      }
      .copy-wrapper {
        padding: 2rem 2rem 2rem 1rem;
}
@media(max-width:400px){
    .copy-wrapper span {
        font-size: 2.2rem;
    }
    .contact-btn {
        display:flex;
        justify-content: center;
        margin-top: 30px;
    }
}