@charset "utf-8";

.inner {
  max-width: 1130px;
}

/* product */
.productList{
  display: flex;
  justify-content: center;
  /* justify-content: space-between; */
}
.products{
  width: 49%;
  max-width: 566px;
}
.products a{
  text-decoration: none;
}
.products h3{
  background: #3e3a39;
  color: #FFF;
  font-size: 26px;
  padding: 18px 20px;
}
.products .pimg{
  margin-bottom: 25px;
}
.products a .pttl{
  color: #cf0027;
  /* Arialの代替フォント */
  font-family: "Lato", sans-serif;
  font-size: 34px;
  font-weight: bold;
}
.products a .pttl span{
  color: #3e3a39;
  font-size: 24px;
  font-weight: bold;
}

/* qmatic */
#qmaticpage{
  padding-top: 0;
}
.qmaticHeader{
  padding: 40px 0;
  position: relative;
}
.qmaticHeader::before{
  background: url("../img/qmatic_mainimg.jpg") no-repeat top center;
  background-size: cover;
  content: "";
  display: block;
  width: 50%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.qmaticHeader .inner{
  display: flex;
  justify-content: flex-end;
}
.qmaticHeader h1 span{
  background: #3e3a39;
  color: #FFF;
  display: block;
  font-size: 26px;
  padding: 15px 15px 15px 60px;
  margin-left: -20px;
}
.qmaticHeader h1 .qtitle{
  font-size: 24px;
  color: #3e3a39;
  padding: 40px;
}
.qmaticHeader h1 .qtitle strong{
  color: #cf0027;
  font-family: "Lato", sans-serif;
  font-size: 34px;
  font-weight: bold;
}
.qmaticHeadinner{
  position: relative;
  width: 50%;
  z-index: 1;
}
.qmaticHeaderinfo{
  font-size: 20px;
  line-height: 160%;
  padding: 30px 40px;
}

/*detail*/
#detail{

}
.detaillink{
  background: #FFF;
  padding: 0 0 80px;
}
.detaillinks{
  display: flex;
  justify-content: space-between;
  padding:0 20px;
  max-width: 1130px;
  margin-left: auto;
  margin-right: auto;
}
.detaillinks a{
  background: url("../../common/img/arw_down.svg") no-repeat center right;
  background-size: 28px 16px;
  background-position: right 20px center;
  border: 1px solid #3e3a39;
  display: inline-block;
  font-size: 24px;
  font-weight: bold;
  width: 32.2%;
  /* width: 23.2%; 4ボタン */
  padding: 20px;
  text-align: center;
}
.flexlist{
  border-bottom: 1px solid #3e3a39;
  display: flex;
  margin-top: 40px;
  padding-bottom: 50px;
  flex-wrap: wrap;
}
.flexlist.one_part{
  flex-wrap: wrap;
  border: none;
  padding-bottom: 0;
}
.flexlist.one_part .flexcontents{
  width: 100%;
}
.flexlist.one_part .flexcontents:first-child{
  margin-bottom: 30px;
}
.flexlist.two_part{
  border-bottom: 0;
  padding-bottom: 0px;
  flex-wrap: wrap;
}
.flexlist.two_part .flexcontents{
  width: 49%;
  max-width: 540px;
  margin-bottom: 40px;
  margin-right: 2.2%;
}
.flexlist.two_part .flexcontents:nth-of-type(2n){
  margin-right: 0;
}
.flexlist.two_part .flexcontents:nth-of-type(n+3){
  margin-top: 20px;
}
.flexlist.two_part .flexcontents p{
  font-size: 20px;
  margin-top: 20px;
}
.flexlist.three_part .flexcontents{
  width: 31%;
  max-width: 350px;
  margin-right: 3.5%;
}
.flexlist.three_part .flexcontents:nth-of-type(3n){
  margin-right: 0;
}
.flexlist.three_part .flexcontents:nth-of-type(n+4){
  margin-top: 20px;
}
.flexcontents .pimg{
  position: relative;
  margin-bottom: 15px;
}
.flexcontents .pimg span{
  background: #FFF;
  font-size: 20px;
  padding: 10px 15px;
  top: 20px;
  left: 20px;
  position: absolute;
}
.flexcontents h4{
  font-size: 20px;
  margin-bottom: 10px;
}
.flexlist.four_part{
  border-bottom: 0;
  padding-bottom: 0px;
  flex-wrap: wrap;
}
.flexlist.four_part .flexcontents{
  width: 22.5%;
  max-width: 250px;
  margin-bottom: 40px;
}
.flexlist.four_part .flexcontents p{
  font-size: 20px;
}
.ptext{
  margin-top: 40px;
}
.flexlist.four_part.fonts .flexcontents p{
  font-size: 16px;
}
.steplist{
  border: 1px solid #dcdddd;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  margin-bottom: 10px;
  padding: 25px 30px;
  overflow: hidden;
}
.stepcontents{
  position: relative;
}
.fourstep .stepcontents{
  width: 22%;
}
.sixstep .stepcontents{
  width: 12%;
}
.stepcontents::before{
  background: url("../../common/img/steparw.svg") no-repeat center center;
  content: "";
  display: block;
  width: 16px;
  height: 32px;
  position: absolute;
  right: -10%;
  top: calc(35%);
}
.sixstep .stepcontents::before{
  right: -30%;
}
.laststep::before{
  display: none;
}
.stepcontents p{
  font-size: 16px;
}
.stepnote p{
  font-size: 16px;
  text-align: right;
}
.flexcontents .pimg span.clb,.flexcontents .pimg span.clr{
  color: #FFF;
  font-size: 18px;
  padding: 15px 30px;
  top: 0;
  left: 0;
}
.flexcontents .pimg span.clb{
  background: #3e3a39;
}
.flexcontents .pimg span.clr{
  background: #cf0027;
}

/* case */
#case{}
.case_entry{
  margin-top: 40px;
}
.case_entry a{
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
  display: flex;
}
.case_entry a:hover{
  text-decoration: none !important;
}
.ce_img{
  background: #DBDBDB;
  position: relative;
  width: 35%;
  max-width: 385px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ce_img span{
  background: #3e3a39;
  color: #FFF;
  padding: 10px 15px;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}
.ce_img img {
  object-fit: cover;
  height: 100%;
  width: auto;
}
.ce_img img.noimg{
  object-fit:none;
  height: auto;
  width: auto;
}
.ce_info{
  padding: 40px 40px 80px 40px;
  flex: 1;
  position: relative;
}
.ce_head{
  margin-bottom: 30px;
}
.ce_info h3{
  border-bottom: 1px solid #dcdddd;
  font-size: 22px;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.ce_head p{
  text-align: right;
}
.ce_tag{
  background: url("../../common/img/ico_tag.svg") no-repeat left center;
  background-size: 25px auto;
  bottom: 40px;
  font-size: 0;
  right: 40px;
  padding-left: 20px;
  position: absolute;
  text-align: right;
}
.ce_tag span{
  border-left: 1px solid #000;
  color: #2885ed;
  font-size: 16px;
  margin-left:8px;
  padding-left:8px;
}
.ce_tag span:first-child{
  border-left: none;
}
#case .arwlink{
  margin: 40px 0 80px;
}
.note{
  margin-top: 40px;
  font-size:14px;
  width:100%;
}
.note_products{
  margin-top: 20px;
  font-size:14px;
  text-align:right;
}
.anchor{
  padding-top: 100px;
  margin-top: -100px;
}

@media screen and (max-width: 767px){
  p{
    font-size: 14px;
  }
  .qmaticHeader {
    padding: 0;
  }
  .qmaticHeader h1 span{
    font-size: 18px;
    padding: 15px 20px;
    margin-left: 0;
  }
  .qmaticHeader::before {
    display: none;
  }
  .qmaticHeadinner {
    width: 100%;
  }
  .qmaticHeader .inner {
    width: 100%;
  }
  .qmaticHeader h1{
    font-size: 24px;
  }
  .qmaticHeader h1 .qtitle {
    font-size: 18px;
    padding: 40px 20px 20px;
  }
  .qmaticHeaderinfo {
    font-size: 14px;
    line-height: 160%;
    padding: 20px 20px 0;
  }
  .detaillinks a {
    background: url("../../common/img/arw_down.svg") no-repeat center right;
    background-size: 13px auto;
    background-position: right 10px center;
    font-size: 14px;
    width: 48%;
    padding: 8px;
    margin-bottom: 15px;
  }
  .detaillinks {
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
  }
  .detaillink {
    padding: 0 0 30px;
  }
  
  /* product */
  .productList {
    display: block;
  }
  .products {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }
  .products h3 {
    font-size: 16px;
    padding: 10px;
  }
  .products a .pttl{
    font-size: 20px;
  }
  .products a .pttl span{
    font-size: 14px;
  }
  .products .pimg {
    margin-bottom: 10px;
  }
  .flexlist{
    flex-wrap: wrap;
  }
  .flexlist.three_part .flexcontents {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .flexlist.three_part .flexcontents:nth-of-type(3n) {
    margin-right: unset;
  }
  .flexlist.three_part .flexcontents:nth-of-type(3n) {
    margin-top: unset;
  }
  .flexcontents .pimg{
    text-align: center;
  }
  .flexcontents h4 {
    font-size: 16px;
  }
  .flexcontents p{
    font-size: 14px;
  }
  .flexlist {
    margin-top: 20px;
    padding-bottom: 30px;
  }
  .flexcontents .pimg {
    margin-bottom: 10px;
  }
  .flexcontents .pimg span {
    font-size: 16px;
  }
  .flexlist.two_part .flexcontents {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .flexlist.two_part .flexcontents:nth-of-type(2n) {
    margin-right: unset;
  }
  .flexlist.two_part .flexcontents:nth-of-type(n+3) {
    margin-top: unset;
  }
  .flexlist.two_part.spwide .flexcontents {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .flexlist.two_part .flexcontents p {
    font-size: 16px;
    margin-top: 10px;
  }
  .ptext {
    margin-top: 20px;
  }
  .flexlist.four_part .flexcontents {
    width: 48%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .four_part .flexcontents.mb0{
    margin-bottom: 20px !important;
  }
  .steplist {
    display: block;
    margin-top: 30px;
    margin-bottom: 10px;
    padding: 20px;
    overflow: hidden;
  }
  .fourstep .stepcontents,.sixstep .stepcontents {
    width: 100%;
    padding-bottom: 40px;
  }
  .stepcontents::before {
    background: url("../../common/img/steparw_sp.svg") no-repeat bottom center;
    content: "";
    display: block;
    width: 30px;
    height: 15px;
    position: absolute;
    right: 0;
    left: 0;
    margin: 0 auto;
    top: auto;
    bottom: 5%;
  }
  .sixstep .stepcontents::before {
    right: 0;
  }
  .stepimg{
    text-align: center;
    margin: 5px auto;
  }
  .stepnote p {
    font-size: 12px;
  }
  .flexcontents .pimg span.clb, .flexcontents .pimg span.clr {
    font-size: 12px;
    padding: 10px 20px;
  }
  
  /* case */
  .case_entry a {
    display: block;
  }
  .ce_img {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 5 / 3;
    overflow: hidden;
  }
  .ce_img img {
    object-fit: cover;
    height: auto;
    width: 100%;
  }
  .ce_head {
    margin-bottom: 10px;
  }
  .ce_info h3 {
    font-size: 18px;
  }
  .ce_info {
    padding: 20px 20px 20px;
  }
  .ce_tag {
    background: url("../../common/img/ico_tag.svg") no-repeat left center;
      background-size: auto;
    background-size: 25px auto;
    font-size: 0;
    margin-top: 20px;
    padding-left: 20px;
    position: unset;
    display: inline-block;
  }
  #case .arwlink {
    margin: 20px 0;
  }
  .note{
    margin-top: 20px;
    font-size:12px;
  }
  .note_products{
    font-size:12px;
  }
  .anchor{
    padding-top: 30px;
    margin-top: -30px;
  }
}