﻿@charset "utf-8";

@media screen and (max-width: 979px) {
  /*　画面サイズが979px以下　*/

  #wrapper{
    width: 100%;
  }

  #header{
    width: 100%;
  }

  #global ul{
    width: 768px;
  }

  #global a{
    width: 148px;
  }

  #relation .relation-inner{
    width: 100%;
  }

  #footer{
    width: 100%;
  }

  #footer-menu{
    width: 100%;
    font-size: 11pt;
  }

  #copyright{
    width: 100%;
  }

  form#mailformpro {
      padding: 10px 10px;
  }

  .sec-form form#mailformpro dl dt{
    padding-top: 15px;
    width: auto;
  }

  .sec-form form#mailformpro dl dd{
    padding-top: 0;
  }
}

@media screen and (max-width: 778px) {
  /*　画面サイズが778px以下　*/

  *{
    -webkit-box-sizing : border-box ;
    -moz-box-sizing : border-box ;
    box-sizing : border-box ;
  }

  a[href^="tel:"] {
    pointer-events: auto;
  }

  /* 文字サイズ */
  .txt9pt {font-size: 11pt;}
  .txt10pt {font-size: 12pt;}
  .txt11pt {font-size: 13.5pt;}
  .txt12pt {font-size: 14pt;}
  .txt13pt {font-size: 15pt;}
  .txt15pt {font-size: 16pt;}

  /* 行高 */
  .lh100e {line-height: 1.0;}
  .lh110e {line-height: 1.1;}
  .lh122e {line-height: 1.22;}
  .lh133e {line-height: 1.33;}
  .lh150e {line-height: 1.5;}
  .lh175e {line-height: 1.6;}
  .lh200e {line-height: 2.0;}

  .is-pc-inline{
    display: none;
  }

  .is-pc-block{
    display: none;
  }

  .is-sp-inline{
    display: inline;
  }

  .is-sp-block{
    display: block;
  }

  .sp-w100p{
    width: 100%;
    height: auto;
  }
  .sp-w90p{
    width: 90%;
    height: auto;
  }
  .sp-w80p{
    width: 80%;
    height: auto;
  }
  .sp-w70p{
    width: 70%;
    height: auto;
  }
  .sp-w60p{
    width: 60%;
    height: auto;
  }
  .sp-w50p{
    width: 50%;
    height: auto;
  }
  .sp-w40p{
    width: 40%;
    height: auto;
  }
  .sp-w30p{
    width: 30%;
    height: auto;
  }
  .sp-w20p{
    width: 20%;
    height: auto;
  }
  .sp-w10p{
    width: 10%;
    height: auto;
  }

  #main{
    margin-bottom: 0;
    padding: 15px 0 0;
    width: 100%;
    overflow: hidden;
  }

  #global ul{
    width: 700px;
  }

  #global a{
    width: 135px;
    font-size: 14px;
  }

  #footer-menu{
    padding-top: 15px;
  }

  #footer-menu li{
    margin: 6px 10px 6px 20px;
    padding-left: 0;
    width: 40%;
    min-width: 180px;
    border-left: none;
  }

  #right{
    margin: 0 2% 10px;
    width: 96%;
  }

  .bg-service{
    background-size: contain;
  }

  #service-menu {
    position: relative;
    margin: 0 2%;
    width: 96%;
    height: 80px;
    padding-left: 0;
    background-position: center bottom;
  }

  #service-menu li {
    position: absolute;
    width: 30%;
    height: 50px;
    margin-right: auto;
    float: none;
  }
  #service-menu li.selected {
    height: 62px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .2);
  }
  #service-menu .service01.selected,
  #service-menu .service02.selected,
  #service-menu .service03.selected{
    background-image: none;
  }
  #service-menu a {
    width: 100%;
  }
  #service-menu a:hover {
    text-decoration: none;
  }
  #service-menu li .tab-title{
    margin: 5px auto;
    text-align: center;
    line-height: 1.4;
    font-weight: bold;
    color: #333;
  }
  #service-menu li.selected .tab-title{
    color: #555;
  }
  #service-menu li .tab-title .text-s{
    font-size: 12px;
  }
  #service-menu li .tab-title .text-m{
    font-size: 18px;
  }

  #service-menu .service01 {
    background-image:none;
    background-color: #f9c6c5;
    border-left: 10px solid #ef9796;
    left: 5%;
  }
  #service-menu .service01 a,
  #service-menu .service01 a:hover {
    background-image:none;
  }

  #service-menu .service02 {
    background-image:none;
    background-color: #fbe484;
    border-left: 10px solid #f2c26e;
    left: 35%;
  }
  #service-menu .service02 a,
  #service-menu .service02 a:hover {
    background-image:none;
  }

  #service-menu .service03 {
    background-image:none;
    background-color: #d2f380;
    border-left: 10px solid #a4de63;
    left: 65%;
  }
  #service-menu .service03 a,
  #service-menu .service03 a:hover {
    background-image:none;
  }
  #right #service-pr{
    width: 86%;
  }

  #service-pr .pr-text{
    text-align: left;
    line-height: 1.5;
  }

  #service-merit{
    width: 90%;
    padding-bottom: 0;
  }

  #service-merit .case{
    float: none;
    background-size: 100%;
    margin: 10px auto;
    width: 100%;
    height: auto;
    max-width: 300px;
  }

  #service-merit .advantage{
    margin: 0 auto;
    width: 90%;
    background-image: none;
  }

  #service-merit .case p{
    width: 90%;
    height: auto;
    margin-top: 0;
    padding-top: 96px;
  }

  #service-merit .merit-blue-text{
    padding-top: 30px;
    font-size: 13px;
  }

  #service-next a{
    width: 90%;
  }

  #service-current{
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
  }

  #service-current .current-point-small{
    float: none;
    margin: 0 auto 10px;
    width: 100%;
    max-width: 313px;
  }

  #service-current .current-point-small:first-child{
    margin-right: auto;
  }

  #service-current .current-point-small .txt9pt{
    margin-top: 0;
    margin-left: 2px;
    margin-right: 3px;
    padding-top: 10px;
  }

  #service-current #current-point-large{
    margin-top: 15px;
    width: 100%;
    background-image: none;
  }

  #service-current #step{
    width: 100%;
    padding-left: 2%;
    padding-right: 2%;
    padding-bottom: 25px;
  }

  #service-current #step .current-step-title{
    border-left:  5px solid #2784bf;
    margin-bottom: 10px;
    padding-left: 10px;
    padding-bottom: 0;
    font-size: 16px;
    font-weight: bold;
  }

  #service-current #step p{
    padding-left: 0;
    padding-right: 0;
  }

  #service-current #problem{
    width: 100%;
    padding-left: 2%;
    padding-right: 2%;
    padding-bottom: 0;
  }

  #service-current #problem .current-problem-title{
    background-image: none;
    border-left:  5px solid #2784bf;
    margin-bottom: 10px;
    padding-left: 10px;
    padding-bottom: 0;
    font-size: 16px;
    font-weight: bold;
  }

  #service-current #problem p.txt9pt{
    margin: 10px auto;
  }

  #service-approach{
    /* display: flex; */
    width: 100%;
    margin-top: 0;
  }

  #service-approach #service-approach-detail{
    float: none;
    width: 100%;
    padding-left: 7%;
    padding-right: 7%;
  }

  #service-approach #service-approach-item{
    float: none;
    width: 100%;
    padding-left: 2%;
    padding-right: 2%;
    text-align: center;
  }


  #service-approach-item ul{
    margin: 0 auto;
    width: 100%;
  }

  #service-approach-item li{
    width: 100%;
    padding-bottom: 15px;
    text-align: left;
  }

  #service-approach .approach-copy{
    width: 100%;
    height: auto;
    max-width: 337px;
    margin-top: 5px;
    margin-bottom: 10px;
  }

  #service-approach #service-approach-detail .ls10p{
    margin-left: 0;
  }

  #service-approach #service-approach-detail .approach-sub-copy{
    width: 100%;
    height: auto;
    max-width: 340px;
  }

  .approach-item-title{
    box-sizing: content-box;
    margin: 20px auto 15px;
  }

  .bg-column{
    display: flex;
    flex-direction: column;
  }

  #right_column{
    float: none;
    padding: 25px 15px 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
  }

  #right_column a{
    content: url(../images/column/column_title_sp.png);
    width: 100%;
    max-width: 500px;
    height: auto;
  }

  #right_column h2 img{
    display: none;
  }

  #right_column .ts20p{
    display: none;
  }

  #right_column .date{
    margin-bottom: 8px;
  }

  .txt_date12pt{
    font-size: 9pt;
  }

  .column_index_title{
    width: 100%;
    height: auto;
    max-width: 553px;
  }

  #left_column{
    float: none;
    padding: 10px 15px 15px;
    width: 100%;
    overflow: hidden;
  }

  #left_column #left_list{
    width: auto;
    padding-top: 10px;
  }

  #left_column #column_main{
    width: 100%;
  }

  #column_main .image_left{
    max-width: 50%;
  }

  #column_main .image_left img{
    width: 100%;
  }

  #column_title1{
    font-size: 1.5rem;
  }

  #column_main #writer{
    width: auto;
  }

  #column_main #backnumber{
    width: auto;
  }

  .casestudy-head {
    padding: 30px 5%;
  }

  #casestudy{
    display: flex;
    flex-flow: row wrap;
    padding: 0 5%;
    width: auto;
  }

  #casestudy .sample{
    float: none;
    margin: 0 auto 30px;
    width: 50%;
  }

  #casestudy .sample-size01,
  #casestudy .sample-size02,
  #casestudy .sample-size03{
    height: auto;
  }

  #casestudy .comment{
    margin-top: 0;
    margin-bottom: 20px;
  }

  #faq_title{
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    padding-top: 25px;
    padding-bottom: 20px;
  }

  .faq_case{
    width: 100%;
    border-top: 10px solid #e5d7c3;
    margin-bottom: 0;
    padding-top: 20px;
  }

  .faq-comment{
    margin: 0;
    padding: 10px;
    width: 100%;
    border: none;
    border-top: 10px solid #e5d7c3;
  }

  .faq_question{
    float: none;
    padding-left: 5%;
    padding-right: 5%;
  }

  .faq_answer{
    float: none;
    padding-left: 5%;
    padding-right: 5%;
  }

  .faq_question{
    width: 100%;
    margin-bottom: 10px;
  }

  .faq_answer{
    width: 100%;
    margin-bottom: 20px;
  }

  .case-title{
    margin-left: 0;
    margin-right: 0;
  }

  .case-q-title::after{
    display: none;
  }

  .bg-faq{
    padding-bottom: 0;
  }

  #copyright .copyright{
    text-align: left;
    padding: 10px 20px 0;
  }

  #contact_title{
    margin-left: 5%;
    margin-right: 5%;
    padding-top: 25px;
    width: 90%;
  }

  #contact_body{
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
  }

  #contact_body th{
    width: 100%;
    display: block;
    text-align: left;
  }

  #contact_body td{
    width: 100%;
    display: block;
  }

  #contact_body .opinion{
    width: 100%;
  }

  #contact_body .box-input{
    width: 100%;
  }

  #company_title{
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
  }

  #company_body{
    margin-left: 5%;
    margin-right: 5%;
    padding-bottom: 0;
    width: 90%;
  }

  #company_body .location-info{
    width: auto;
    height: auto;
    padding: 15px 0;
  }

  #company_body .location-map{
    width: 100%;
    height: auto;
  }

  #company_body .company-name {
    display: block;
  }

  .location-map .map{
    width: 100%;
    height: 320px;
  }

  #sitemap_title{
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
  }

  #sitemap_body{
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
  }

  .sitemap-sub-title{
    width: 100%;
    max-width: 405px;
    height: auto;
  }

  #sitemap_body li{
    margin-left: 5%;
    margin-bottom: 15px;
    line-height: 1.4;
  }

  #sitemap_body .label-service,
  #sitemap_body .label-info,
  #sitemap_body .label-contact,
  #sitemap_body .label-link{
    background-position: -40px 0;
  }

  #news_title {
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
  }

  #news_body {
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
  }

  #news_body li{
    line-height: 1.5;
  }

  a.gotop {
    bottom: 20px;
    right: 20px;
  }

  a.gotop:link,
  a.gotop:hover,
  a.gotop:active,
  a.gotop:visited {
      background-color: rgba(204, 0, 0, 0.7);
  }

  .sec .inner{
    margin: 0 2%;
    padding-top: 30px;
    padding-bottom: 30px;
    width: 96%;
  }

  .sec-title{
    margin-bottom: 15px;
    padding: 0 2%;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
  }

  .sec-title::after{
    width: 40px;
    height: 3px;
  }

  .sec .inner .inner-50p{
    width: 100%;
  }

  .sec .inner .inner-60p{
    width: 100%;
  }

  .sec .inner .inner-40p{
    width: 100%;
  }

  .intro-li-title{
    font-size: 16px;
    margin-bottom: 6px;
  }

  .intro-li-text{
    font-size: 14px;
  }

  .sec-intro .sec-title{
    margin-bottom: 16px;
  }

  .intro-li-img{
    width: 160px;
    height: auto;
  }

  .word-img-wrap{
    margin-top: 20px;
    text-align: center;
  }

  .word-dl{
    margin-left: 2%;
    margin-right: 2%;
  }

  .word-dd{
    font-size: 14px;
  }

  .word-img{
    width: 50%;
    height: auto;
  }

  .flow-li::after{
    top: 30px;
    right: -28%;
    border-width: 10px 15px 10px 15px;
  }

  .flow-li-title{
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 20px;
  }

  .flow-li-text{
    width: 130px;
    height: 160px;
  }

  .flow-text-ul li{
    font-size: 13px;
  }

  .flow-li-text-4 .flow-text-ul{
    width: 100px;
  }

  .service-li{
    margin: 20px 2%;
    width: 21%;
  }

  .service-li-title{
    font-size: 16px;
    margin-bottom: 6px;
  }

  .sec-service .sec-title{
    margin-bottom: 16px;
  }

  .pj-inner{
    padding: 20px;
  }

  .pj-point{
    font-size: 22px;
  }

  .pj-img-wrap{
    text-align: center;
  }

  .sec-pj-2 .inner{
    padding-bottom: 50px;
  }

  .primary-btn-block.pj-btn-block{
    margin-top: 40px;
  }

  .sec-form .section-p{
    font-size: 16px;
  }

  #mfp_overlay_inner{
    font-size: 14px;
  }

  #mfp_overlay_inner h4{
    font-size: 18px;
  }

  .mfp_buttons .btn-primary[type="submit"] {
      width: 60%;
      font-size: 16px;
  }

  .sec-form #mailformpro dl{
    margin-bottom: 5px;
  }

  .sec-form textarea.opinion-textarea{
    margin-top: 5px;
    height: 20rem;
  }

  .sec-form form#mailformpro label{
    display: block;
  }

  .sec-form [type="radio"]:checked+span::before,
  .sec-form [type="radio"]:checked+span::after{
    margin: 4px 7px;
  }

}


@media screen and (max-width: 700px) {
  /*　画面サイズが700px以下　*/


  #bgheader{
      height: auto;
      background-image: none;
  }
  #header{
    background-color: #fff;
    overflow: hidden;
    box-shadow: rgba(128,128,128,0.1) 0 5px;
    padding-bottom: 0;
  }
  #header #rogo {
      overflow: hidden;
      text-align: center;
  }
  #header #rogo a{
      float: none;
      width: 150px;
      height: 42px;
      display: inline-block;
      background-size: 100%;
      background-repeat: no-repeat;
  }
  #header #bp{
      float: none;
      margin-top: 0;
      margin-left: 0;
      padding-top: 2px;
      text-align: center;
  }

  #header .sp-btn-block{
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    height: 55px;
  }
  #header .btn-contact{
    display: block;
    background-color: #ccc;
    background-image: url(../images/icon-contact.png);
    background-size: 32px 25px;
    background-position: center;
    background-repeat: no-repeat;
    width: 60px;
    height: 100%;
  }
  #header .btn-global{
    display: block;
    background-color: #aaa;
    background-image: url(../images/icon-global.png);
    background-size: 32px 24px;
    background-position: center;
    background-repeat: no-repeat;
    width: 60px;
    height: 100%;
  }
  #header .btn-global.btn-close{
    background-image: url(../images/icon-close.png);
  }
  #global{
    display: none; /* JSで表示 */
    position: fixed;
    top: 54px;
    z-index: 10;
    background-image: none;
    width: 100%;
    overflow: hidden;
  }
  #global ul{
    width: 96%;
    max-width: 530px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 6px;
  }
  #global li{
    margin-left: 3px;
    margin-right: 3px;
    float: none;
  }
  #global a{
    margin-top: 0;
    margin-bottom: 6px;
    padding-top: 13px;
    width: 152px;
    height: 38px;
  }

  #contact{
    width: 100px;
    height: 55px;
  }

}


@media screen and (max-width: 600px) {
  /*　画面サイズが600px以下　*/

  .btn-primary{
    padding: 0 15px;
    width: 70%;
    height: 45px;
    line-height: 46px;
    font-size: 16px;
  }

  .sec-pj .btn-primary{
    width: 74%;
  }

  .flow-li::after{
    top: 23px;
    right: -34px;
  }

  .flow-li-title{
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 18px;
  }

  .flow-li-text{
    width: 110px;
    border-width: 10px 15px 10px 15px;
  }

  .service-li{
    width: 40%;
  }

  #left_column #left_list li{
    width: 100%;
  }

}

@media screen and (max-width: 500px) {
  /*　画面サイズが500px以下　*/

  .flow-li{
    position: relative;
    display: inline-block;
    width: 90%;
    height: 100px;
  }

  .flow-li::after{
    top: auto;
    bottom: -26px;
    left: 0;
    right: 0;
    border-width: 6px 10px 6px 10px;
    border-color: #d9ae77 transparent transparent transparent;
    border-width: 15px 12px 15px 12px;
  }

  .flow-li-title{
    position: absolute;
    top: 10px;
    left: 0;
    margin-left: 0;
  }

  .flow-li-text{
    position: absolute;
    top: 0;
    left: 10%;
    padding-top: 25px;
    width: 85%;
    height: 90px;
    display: inline-block;
  }

  .flow-li-text.flow-li-text-1,
  .flow-li-text.flow-li-text-3{
    padding-top: 33px;
  }

  .flow-text-ul{
    margin: 0 auto 0 48px;
    width: auto;
    text-align: left;
  }

  .flow-li-text-4 .flow-text-ul{
    width: 80%;
  }

  .flow-text-ul li{
    display: inline-block;
    margin: 0 6px;
    font-size: 14px;
  }

  #casestudy .sample{
    width: 100%;
  }

  .service-li{
    width: 43%;
  }

}

@media screen and (max-width: 330px) {
  /*　画面サイズが330px以下　*/

  #service-merit .merit-blue-text{
    padding-top: 25px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .intro-li-img{
    width: 150px;
    height: auto;
  }

  .flow-li-text.flow-li-text-3{
    padding-top: 25px;
  }

  .service-li{
    width: 45%;
  }

}
