

@media screen and (max-width: 1199px){
  .header .gnav .gnav_link + .gnav_link {
    margin-left: 41px;
  }
  
  .sub_link_txt {
    padding: 8px 15px 8px 8px;
    font-size: 12px;
  }
  .sub_link_txt:after {
    font-size: 10px;
  }
  

  
  /********************************
  *　HOME
  ********************************/
  .mv {
    height: 55vw;
  }
  
  /********************************
  *　労務顧問
  ********************************/
  .pg_header {
    height: 35vw;
  }
}


@media screen and (max-width: 991px){
  .hdr_logo img{
    width: 180px;
  }
  .header .gnav .gnav_link + .gnav_link {
    margin-left: 21px;
  }
  .hdr_mail img{
    width: 120px;
  }
  .header .hdr_tel i {
    margin-right: 10px;
  }
  .header .hdr_reception {
    padding-left: 12px;
    margin-left: 12px;
  }
  .header .hdr_mail {
    margin-left: 15px;
    padding-left: 10px;
  }
  
  .ftr_links .ftr_links_right {
    margin-left: 36px;
  }
  .gnav .children, .gnav .sub_menu {
    top: 99px;
  }
  .sub_link_txt {
    line-height: 1.2;
  }
  .sub_link_txt:after {
    right: 5px;
  }
  
 .tb:not(.pc){
  display: block!important;
}
.pc:not(.tb){
  display: none!important;
}
  
  /********************************
  *　HOME
  ********************************/
  .pg_home .section.sec1 .col-lg-3{
    position: relative;
  }
  .home_news_link {
    position: absolute;
    right: 15px;
    top: 0;
  }
  .home_news_tt {
    margin-bottom: 20px;
  }
  .home_img_1 {
    width: auto;
    max-width: inherit;
  }
  .home_txt_1 {
    top: -30px;
    width: 550px;
  }
  .pg_home .section.sec3 {
    background: url(../img/home_bg_2.webp) no-repeat center 20px / auto 160px;
  }
  .home_service_en{
    width: 220px;
  }
  

  /********************************
  *　労務顧問
  ********************************/
  .pg_header .hdr_ttl {
    font-size: 34px;
  }
  .pg_header .hdr_en {
    font-size: 14px;
  }
  .service_menu .row > div:nth-child(n+3){
    margin-top: 15px;
  }
  
  /********************************
  *　助成金申請
  ********************************/
  .ga_sec3_txt {
    padding: 12px;
  }
  
  /********************************
  *　料金
  ********************************/
  .pg_price .other_works .row > div + div{
    margin-top: 50px;
  }
  .price_sec1_no2 {
    margin-top: 68px;
  }
  
  /********************************
  *　事業所案内
  ********************************/
  .office_sec1_th {
    width: 180px;
    padding: 5px 30px;
  }
  .office_sec1_td,
  .pg_office .section.sec3 .office_sec1_th:after{
    width: calc(100% - 180px);
  }


  /********************************
  *　お問い合わせ
  ********************************/
  .pg_contact .requiredText {
    width: 42px;
    padding: 0;
  }
  .pg_contact #city {
    width: 335px;
  }
  

  /********************************
  *　お知らせ
  ********************************/
  .pg_notice .webgene-blog .item .date {
    width: 125px;
  }
  .pg_notice .webgene-blog .item .title {
    width: calc(100% - 125px);
  }
}


@media screen and (max-width: 767px){
  
  body{
    padding-bottom: 60px;
  }
  
  .header .container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hdr_logo img,
  .ftr_logo img {
    width: 220px;
  }
  .header .hdr_info {
    text-align: center;
  }
  .header .hdr_reception {
    padding-left: 0;
    margin-left: 0;
    border-left: 0;
    width: 100%;
  }
  .header .hdr_contact {
    margin-top: 20px;
  }
  .header .hdr_mail{
    display: none;
  }
  
  .header .gnav{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFF;
    padding: 0;
    z-index: 99999;
    overflow-y: scroll;
    
    margin: 0;

    /*transition: all 0.2s;*/
    transform: translateX(100%);
    padding: 15px;
    margin: 0;
    display: block;
  }
  .header .gnav.active{
    transform: translateX(0%);
  }
  .header .gnav .gnav_link {
    padding: 15px 0;
    display: block;
  }
  .header .gnav .gnav_link + .gnav_link {
    margin-left: 0;
    border-top: 1px dashed #ddd;
  }
  .header .gnav .children, 
  .header .gnav .sub_menu{
    width: 100%;
    display: block;
    position: static;
  }
  .header .gnav .have_child:after{
    display: none;
  }
  .header .gnav .have_child >a{
    margin-bottom: 10px;
    display: block;
  }
  .header .gnav .sub_link:nth-child(n+3){
    margin-top: 10px;
  }
  
  .ftr_logo{
    display: block;
    text-align: center;
  }
  .ftr_links{
    display: none;
  }  
  .footer .ftr_2{
    margin-top: 20px;
  }
  .footer {
    padding: 30px 0 10px;
  }
  
  .footer_fix{
    display: flex;
  }
  /*.pagetop {
    font-size: 40px;
    right: 10px;
    bottom: 50px;
  }*/
  
  #chatbot-btn{
  	bottom: 60px!important;
  }
  
.tb:not(.sp){
  display: none!important;
}
  .sp{
    display: block!important;
  }
  
  /********************************
  *　HOME
  ********************************/
  .mv {
    padding: 10px;
  }
  .home_news_link {
    width: 150px;
    padding: 5px 20px 5px 5px;
  }
  .home_news_link p:after {
    right: -5px;
  }
  .webgene-blog .item .title {
    width: 100%;
  }
  .pg_home .section.sec2 {
    padding: 82px 0 0;
    background: url(../img/home_bg_pink1.webp) no-repeat left 70px, 
      url(../img/home_bg_1.webp) no-repeat right top / auto 150px;
  }
  .home_catch_txt br{
    display: none;
  }
  .home_catch_txt p{
    display: inline;
  }
  .home_img_1 {
    height: 115px;
  }
  .home_txt_1 {
    top: -10px;
    width: auto;
  }
  .home_service_en {
    width: 160px;
  }
  .pg_home .section.sec3 {
    background: url(../img/home_bg_2.webp) no-repeat center 20px / auto 220px;
  }
  .home_service_list {
    margin: 35px 0 0;
  }
  .home_service_list .row > div + div{
    margin-top: 15px;
  }
  .read_more {
    max-width: 235px;
    padding: 9px;
    margin: 25px auto 0;
  }
  .home_service_list .item + .item {
    margin-top: 35px;
    padding-top: 35px;
  }
  .home_service_list .item:nth-child(2) .row > div:first-child{
    order: 2;
    margin-top: 10px;
  }
  .home_service_list .item:nth-child(2) .row > div + div{
    order: 1;
    margin: 0;
  }
  .pg_home .section.sec3 {
    margin-bottom: 80px;
  }
  .home_msg_bg{
    display: none;
  }
  .pg_home .section.sec4{
    background: url(../img/home_bg_pink3.webp) no-repeat center top / cover;
  }
  .home_msg_tt {
    padding-left: 0;
  }
  .home_msg_bold {
    padding-left: 0;
  }
  .ftr_contact {
    margin-top: 85px;
    padding: 30px 0 55px;
    background: url(../img/contact_bg.webp) no-repeat 18% center / cover;
  }
  .ftr_contact .container {
    padding-right: 30px;
  }
  .ftr_contact .bg {
    padding: 42px 10px 20px 28px;
  }
  .ftr_contact .bg:before {
    left: 15px;
    top: 15px;
  }
  .ftr_contact_tel_link {
    margin-top: 15px;
  }
  .ftr_contact_tel_link i {
    margin-right: 18px;
  }
  
  /********************************
  *　労務顧問
  ********************************/
  .pg_header {
    margin-bottom: 85px;
  }
  .pg_header .hdr_ttl {
    font-size: 22px;
  }
  .pg_header .hdr_en {
    font-size: 12px;
  }
  .pg_labor .section.sec2 {
    padding: 55px 0 65px;
  }
  .labor_sec2_bg {
    padding: 30px 15px;
  }
  .service_th,
  .service_td{
    width: 100%;
    padding: 12px 15px;
  }
  .pg_labor .section.sec4 {
    padding: 35px 0 60px;
    margin: 80px 0 80px;
  }
  .tt2 {
    margin-bottom: 25px;
  }
  .tt2_tt {
    padding: 0;
  }
  .tt2:before, .tt2:after {
    width: calc(100% / 2 - 150px);
  }
  .labor_sec4_bg {
    padding: 20px 15px 30px;
  }
  .service_menu .row > div:nth-child(n+2) {
    margin-top: 10px;
  }
  .labor_sec2_list p {
    padding-left: 20px;
  }
  .labor_sec2_list p:before {
    font-size: 16px;
  }
  .labor_img_1{
    margin: 10px auto 0;
    display: block;
  }
  
  /********************************
  *　助成金申請
  ********************************/
  .pg_ga .section.sec2 {
    padding: 42px 0 82px;
  }
  .tt1 {
    padding-bottom: 10px;
    margin-bottom: 25px;
  }
  .ga_sec3_list .row > div:nth-child(n+2) {
    margin-top: 10px;
  }
  .pg_ga .section.sec3 {
    padding: 0 0 80px;
  }
  .pg_ga .section.sec4 {
    padding: 42px 0 60px;
  }
  .ga_schedule {
    margin: 55px 0 0;
  }
  .ga_schedule .tt3 {
    margin-bottom: 70px;
  }
  .ga_schedule_box {
    padding: 25px 10px 20px;
  }
  .ga_schedule_step {
    margin: -75px auto 10px;
  }
  .ga_schedule_box + .ga_schedule_box {
    margin-top: 65px;
  }
  .pg_ga .section.sec5 {
    padding: 74px 0 80px;
  }
  .pg_ga .section.sec5 .tt2 {
    margin-bottom: 40px;
  }
  .ga_faq_q {
    padding: 21px 0 21px 75px;
    margin-bottom: 15px;
    background: url(../img/ga_q.png) no-repeat left top / 55px auto;
    line-height: 1.2;
  }
  .ga_faq_item {
    padding-bottom: 25px;
  }
  .ga_faq_item + .ga_faq_item {
    margin-top: 35px;
  }

  /********************************
  *　就業規則・コンサルティング
  ********************************/
  .pg_header .hdr_ttl.consul{
    margin-right: 3px;
  }
  .pg_header .hdr_en.consul {
    margin-left: 0;
  }
  .consul_sec1_txt2 {
    margin-top: 20px;
  }
  .pg_consulting .section.sec2 {
    padding: 63px 0 70px;
  }
  .pg_consulting .section.sec3 {
    padding: 0 0 80px;
  }
  .pg_consulting .section.sec4 {
    padding: 30px 0 50px;
    margin-bottom: 70px;
  }
  
  /********************************
  *　その他業務
  ********************************/
  .tt4 {
    padding: 15px 18px;
    margin-bottom: 15px;
    background: url(../img/other_ttl_bg.webp) no-repeat 98% top / auto 50px #F05A83;
  }
  .other_works .ga_sec1_txt > p:first-child {
    margin-right: 0;
  }
  .other_works + .other_works {
    margin-top: 50px;
  }
  .pg_other .section.sec1 {
    margin-bottom: 70px;
  }
  
  /********************************
  *　料金
  ********************************/
  .price_sec1_box + .price_sec1_box {
    margin-top: 30px;
  }
  .price_sec1_no2 {
    margin-top: 48px;
  }
  .pg_price .section.sec2 {
    padding: 62px 0 66px;
  }
  .pg_price .tt4 {
    margin-bottom: 20px;
  }
  .price_sec2_txt {
    margin-bottom: 0;
  }
  .pg_price .section.sec3 {
    padding: 0 0 65px;
  }
  .pg_price .section.sec4 .price_tbl1 + .price_tbl1 {
    margin-top: 35px;
  }
  .sp_tbl{
    overflow-x: auto;
  }
  .sp_tbl .price_tbl1{
    min-width: 748px;
  }
  
  /********************************
  *　事業所案内
  ********************************/
  .office_sec1_th{
    width: 100%;
    padding: 5px 15px;
  }
  .office_sec1_td{
    width: 100%;
    padding: 10px 15px;
  }
  .office_sec1_box + .office_sec1_box {
    padding-top: 20px;
  }
  .pg_office .section.sec1 {
    padding: 0 0 50px;
  }
  .office_gallery .row > div:nth-child(n+2) {
    margin-top: 10px;
  }
  .pg_office .section.sec2 {
    padding: 0 0 60px;
  }
  .pg_office .section.sec3 .office_sec1_th:after {
    width: calc(100% - 120px);
  }

  /********************************
  *　お問い合わせ
  ********************************/
  .contact_info {
    padding: 17px 12px 12px;
    text-align: center;
  }
  .contact_info_1 {
    padding-left: 0;
    line-height: 1.5;
    display: inline-block;
    text-align: left;
  }
  .contact_info_txt1 {
    padding: 0 8px;
    margin-right: 10px;
  }
  .contact_info_txt3 {
    margin: 10px 0 0;
  }
  .pg_contact .section.sec2 {
    padding: 60px 0 82px;
  }
  .pg_contact .contact_tt {
    margin-bottom: 35px;
  }
  .pg_contact .formTh {
    padding: 10px;
  }
  .pg_contact .formTd {
    padding: 10px;
  }
  .pg_contact input#zip1 {
    width: 90px;
  }
  .pg_contact input#zip2 {
    width: 110px;
  }
  .pg_contact label.hipfen {
    width: 22px;
  }
  .addArea label {
    max-width: 100%;
  }
  .pg_contact #city {
    width: 100%;
  }
  .pg_contact #pref {
    width: 185px;
  }
  .form_privacy_accept {
    margin: 30px 0 32px;
  }
  .privacy_item {
    margin-top: 25px;
  }

  /********************************
  *　お知らせ
  ********************************/
  .pg_notice .webgene-blog .item .title {
    width: 100%;
  }
  .pg_notice .webgene-blog .item a {
    padding: 18px 1px 8px;
  }
  .webgene-pagination ul {
    margin: 50px 0 0;
  }
  
  #noticeDetail .webgene-item {
    padding: 22px 15px;
  }
  #noticeDetail .date {
    font-size: 13px;
  }
  #noticeDetail .title {
    font-size: 20px;
  }
  #noticeDetail .post_content{
    font-size: 14px;
  }
  .golist {
    margin: 35px auto 0;
  }
}