@charset "UTF-8";
@media screen and (max-width: 1024px) {





    /*index*/
    .index .mainimg .catch {
        font-size: 2.7rem;
    }
    .index .mainimg h2 {
        font-size: 1.5rem;
    }
    .index_cnt1 .inner {
        display: block;
    }
    .index_cnt1 .inner .titleA {
        margin: auto;
    }
    .index_cnt1 .inner .set {
        width: 100%;
    }
    .index_cnt1 .inner .set .dl {
        display: block;
        display: grid;
        align-content: center;
    }
    .index_cnt1 .inner .set .dt {
        width: 100%;
        padding: 0;
    }
    .index_cnt1 .inner .set .dd {
        width: 100%;
    }
    .index_cnt3 .inner .col2 .right {
        display: block;
    }
    .index_cnt3 .inner .col2 .right .figure{
        width: 90%;
        margin: 0 auto 3rem;
        display: block;
    }






    /*works,worksdetail共通*/
    :is(.works_cnt1, .worksdetail_cnt1) {
        width: 100%;
    }
    :is(.works_cnt1, .worksdetail_cnt1) .inner .col2 {
        display: block;
    }

    :is(.works_cnt1, .worksdetail_cnt1) .inner .col2 :is(.left, .right) {
        width: 100%;
    }
    :is(.works_cnt1, .worksdetail_cnt1) .inner .col2 .left {
        margin: 0 auto 3rem;
        padding: 0 0 3rem;
        border-bottom: 0.5rem solid #000;
    }
    :is(.works_cnt1, .worksdetail_cnt1) .inner .col2 .left h3 {
        font-size: 2.4rem;
        padding: 0;
    }
    :is(.works_cnt1, .worksdetail_cnt1) .inner .col2 .left .webgene-blog {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        flex-wrap: wrap;
        gap: 2rem;
    }
    :is(.works_cnt1, .worksdetail_cnt1) .inner .col2 .left .webgene-blog .webgene-item p {
        width: 100%;
        min-height: initial;
        font-size: 1.4rem;
        line-height: 1 !important;
    }
    .works_cnt1 .inner .col2 .right .webgene-blog {
        display: block;
    }
    .works_cnt1 .inner .col2 .right .webgene-blog .webgene-item {

        margin: 0 auto 3rem;
    }
    .works_cnt1 .inner .col2 .right .webgene-blog .webgene-item .dl {
        padding: 0 0 3rem;
        margin: 0 0 3rem;
        border-bottom: 0.1rem dashed #ccc;
    }
    .worksdetail_cnt1 .inner .col2 .right .webgene-blog .webgene-item .dl {}
    .worksdetail_cnt1 .inner .col2 .right .webgene-blog .webgene-item .dt {
        width: 100%;
        font-size: 2.4rem;
        grid-row: 1/2;
    }
    .worksdetail_cnt1 .inner .col2 .right .webgene-blog .webgene-item .title {
        font-size: 2rem;
        margin: 2rem 0;
    }
    .worksdetail_cnt1 .inner .col2 .right .webgene-blog .webgene-item .cate {
        width: 60%;
        grid-row: 2/3;
        margin: 0 0.5rem;
    }
    .worksdetail_cnt1 .inner .col2 .right .webgene-blog .webgene-item .day {
        grid-row: 2/3;
    }

    .webgene-pagination :is(.prev, .next),
    .webgene-pagination ul .number.selected,
    .webgene-pagination ul .number {
        width: 2em;
        height: 2em;
        margin: 0;
    }
    .webgene-pagination ul {
        width: 100%;
        justify-content: space-between;
    }
    .webgene-pagination .prev {
        margin: 0;
    }
    .webgene-pagination .next {
        margin: 0;
    }





    /*service*/
    .service_cnt1 .inner .set .col2 {
        margin: 0 0 3rem;
    }
    .service_cnt1 .inner .set .col2 .right {
        border: 0.5rem solid #fff;
        box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }
    .service_cnt1 .inner .set .col2 .right img {
        transform: initial !important;
    }
    .service_cnt2 .inner .grid {
        grid-template-columns: repeat(2, 1fr);
        align-content: start;
        gap: 5.2vw 3.125vw;
    }
    .service_cnt2 .inner .grid .dt {
        font-size: 1.8rem;
    }
    .service_cnt2 .inner .grid .pic {
        border: 0.5rem solid #fff;
        box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
        margin: auto;

    }
    form .dl {
        display: block;
    }
    form .dl .dt {
        width: 100%;
        border: none;
        padding: 0.5rem 0;
    }
    form .dl .dd {
        width: 100%;
        padding: 0.5rem 0;
    }
    form .col label {
        font-size: 1rem;
    }
  form .fileArea{
  width:100%;
  overflow:hidden;
  }
    .privacyformError {
        margin-top: -36.5px !important;
    }





    /*about*/
    .about_cnt1 .inner .titleA h3 {}
    .about_cnt2 .inner .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about_cnt3 .inner .grid {
        display: block;
    }
    .about_cnt3 .inner .grid .figure {
        padding: 0 0 3rem;
        margin: 0 0 3rem;
        border-bottom: 0.1rem dashed #fff;
    }
    .about_cnt4 .inner .col2 .left {
        border: 0.5rem solid #fff;
        box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
    }

    .about_cnt5 .inner .dl {
        display: block;
    }
    .about_cnt5 .inner .dt {
        width: 100%;
        border: none;
        padding: 0.5rem 0;
    }
    .about_cnt5 .inner .dd {
        width: 100%;
        padding: 0.5rem 0;
    }

}
@media screen and (max-width: 375px){
p.p_1 {
    font-size: 15px;
}
}
@media screen and (max-width: 520px){
  .inner {
    width: 90%;
  }

td.layout {
    float: left;
    width: auto;
    margin: auto;
    box-sizing: border-box;
}
      .service_cnt2 .inner .grid,.about_cnt2 .inner .grid {
        grid-template-columns: auto;
  }
  .text_center {
        text-align: center;
    }
}
@media (min-width:1025px) and (max-width:1200px){
.titleB p {
    font-size: 2.5rem;
}
}
@media (min-width:1025px) and (max-width:1800px){
  .index_cnt3 .inner .col2 .right {
    width: 80%;
    margin: 0 auto;
  }
  .index_cnt3 .inner .col2 .left {
    width: 80%;
    margin: 0 auto;
  }
  .index_cnt3 .inner .col2 {
    display: block;
  }
}
@media (min-width:1200px) and (max-width:1500px){
.titleB p {
    font-size: 3rem;
}
}
@media (min-width:1500px) and (max-width:1800px){
  .titleB p {
    font-size: 4rem;
  }
}
@media screen and (min-width: 1025px){
  .spbr br{
    display:none;
  }
  .worksdetail_cnt1 .inner .col2 .right .webgene-blog .webgene-item .cate {
    grid-row: 2 / 2;
}
.text_center {
        padding: 2rem 0 4rem;
        text-align: center;
    }
  .text_pc_padding {
    line-height: 3.5rem;
    padding: 0 10rem;
}
}
@media screen and (min-width: 1800px){
p.p_1{
  font-size: 15px;
  }
}