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

    /*header*/
    .header {
        padding: 0;
        background: #424242;
        height: 6rem;
    }
    .header h1 {
        padding: 0;
        display: inline-flex;
        left: initial;
    }
    .header h1::before {
        /*content: "";*/ /*SP時のヘッダーアイコン現在非表示*/ 
        display: inline-flex;
        /*background: url(/system_panel/uploads/images/about_cnt1_bg.png) no-repeat;*/
        width: 5rem;
        height: 5rem;
        background-size: cover;
        -webkit-mask-image: url(/system_panel/uploads/images/about_cnt1_bg.png);
        -webkit-mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
    
        mask-image: url(/system_panel/uploads/images/about_cnt1_bg.png);
        mask-size: contain;
        mask-repeat: no-repeat;
        mask-position: center;
    
        /*変更したい色をここに書く*/
        background-color: #f2f2f2;
    }
    .header .nav>.ul {
        display: block;
    }
    .header .nav>.ul>.li:first-of-type,
    .header .nav>.ul>.li:last-of-type {
        display: block;
    }
    .header .nav>.ul .li p {
        /* display: initial; */
        /* width: inherit; */
        /* height: inherit; */
    }

    /*サブメニュー*/
    .header .nav>.ul>.li:hover .ul {
        display: block;
        position: initial;
        left: 0;
    }
    .header .nav>.ul>.li:hover .ul .li {
        background: none;
    }

    .header .nav>.ul>.li>.ul>.li a {
        color: inherit;
      
      }



    /*main*/
    .mainimg {
        height: 58vh ;
        margin: 0 0 5rem ;
        object-position: center ;
    }
  
  .ab_mainimg {
    height: 50vh !important;
    object-position: center !important;
    margin: 0 0 0 0 !important;
}
    .button_contact {
        top: initial;
        right: initial;
        bottom: 0;
        writing-mode: initial;
        width: 100%;
        height: 5em;
        position: fixed;
        z-index: 5;
    }
    .button_contact a {
        display: inline-flex;
        justify-content: center;
    }
    .button_contact a::before {
        position: initial;
    }
    .inner .title {
        margin: 0 auto 5rem;
    }

    .bottom_info {
        display: block;
        padding: 3rem;
        /*margin: 0 auto 5rem*/
    }
  .index_cnt5 {
    padding: 10rem 0 5rem 0;
    /*background: #242C2E;*/
}
    .bottom .button_area {
        display: block;
    }
    .bottom_info .left h2 {
        text-align: center;
    }

    .bottom_info .left p {
    text-align: center;
    font-size: 1.3rem;
}
    .bottom_info .right .buttonB {
        margin: 0 auto 3rem;
        width: fit-content;
        width: 100%;
    }
    .bottom {
        margin: 0;
        padding: 3rem;
        height: initial;
    }
    .bottom .button_area {
        width: 100%;
    }
    .bottom>p {
        text-align: center;
        line-height: 1.5;
        margin: 0 0 3rem;
        font-size: 1.8rem;
    }
    .bottom .tel {
        text-align: center;
        line-height: 1;
        margin: 0 0 3rem;
    }
    .bottom .button_area .buttonB {
        margin: 0 auto 3rem;
        line-height: 1;
        width: 100%;
    }
    .bottom .button_area .buttonB:last-of-type {
        margin: 0 auto;
    }




    /*footer*/
.footer {
    display: flex;
    flex-wrap: wrap;
    max-width: 120rem;
    justify-content: space-between;
    /*background: #fff7e4;*/
    width: 100%;
}
    .footer .left {
        width: 80%;
        display: block;
        margin: auto;
        text-align: center;
    }
    .footer .right {
        display: none;
    }


    /*アコーディオン*/
    .aco-open::after {
        font-size: 3rem;
        right: 1rem;
    }
    .aco-open.active::after {
        font-size: 3rem;
        right: 1rem;
    }



    /*-----以下ハンバーガーメニュー-----*/
    /*common.cssでnavに高さが与えられている場合はheight:initial;を追加*/
    nav.globalMenuSp ul li a {
        display: block;
        color: rgba(0, 0, 0, 0.9);
        padding: 1em 0;
        font-size: 1.8rem;

    }
    /* 最後はラインを描かない */
    .nav.globalMenuSp>.ul>.li:last-child {
        /*padding-bottom: 0;*/
        border-bottom: 2em solid #424242;
        border-radius: 0 0 1em 1em;
    }

    .navToggle {
        top: 1%;
    }

    .navToggle span{
        border-color: #ccc;
    }

    .navToggle span:nth-child(4) {
        color: #ccc;
    }

    .scroll-nav > .navToggle span:nth-child(4) {
        color: #333;
    }


    /* 最初のspanをマイナス45度に */
    .navToggle.active span:nth-child(1) {
        top: 18px;
        left: 6px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    /* 2番目と3番目のspanを45度に */
    .navToggle.active span:nth-child(2),
    .navToggle.active span:nth-child(3) {
        top: 18px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }
}





/****-------------*/
@media screen and (max-width: 680px){
  .bottom .button_area .tel {
    font-size: 3rem;
    flex-grow: 1;
}
  
}

  @media screen and (min-width:376px) and ( max-width:414px) {
    .flow_cnt2 .inner .step::before {
    width: 10rem !important;
    height: 10rem !important;
    background: #fff;
    border: 0.1rem solid #707070;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: absolute;
    top: -7rem !important;
    left: 3rem;
    z-index: 3;
    font-size: 2rem;
    }
     .flow_cnt1 .inner .ul .li::before {
    width: 62.5% !important;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: #fff;
    display: inline-grid;
    text-align: center;
    margin: -15.645vw auto /*2.5rem*/0 !important;
    align-items: center;
    padding: 0rem 0 0 0;
  }
  .flow_cnt1 .inner .ul .li {
    aspect-ratio: 1/1.40 !important;
  }
  }


@media screen and (max-width: 680px){
  .servicelist_cnt3 {
    padding: 5rem 0 30rem 0 !important;
}
}



/*----------------*/
  /*----------------*/
.index_cnt1 .col2 .left .read {
    font-family: 'Hina Mincho', serif;
    /* font-size: 2.5rem !important; */
    line-height: 1.5;
    letter-spacing: 0.5rem;
    color: #000;
}

  @media (max-width: 479px) {
  .mainimg img {
    width: 100%;
    height: 116%;
    object-fit: cover;
    object-position: top;
}
}

    @media screen and (max-width: 680px){
.footer .left .logo img {
    width: 40%;
}
}
  @media (min-width:420px) and (max-width:768px){
  .servicelist_cnt2 {
    padding: 5rem 0;
    margin: 28rem 0 0 0 !important;
}
    .flow_cnt2 .inner .step::before {
    width: 10rem !important;
    height: 10rem !important;
    background: #fff;
    border: 0.1rem solid #707070;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: absolute;
    top: -7rem !important;
    left: 3rem;
    z-index: 3;
    font-size: 2rem;
}
  }
@media (min-width:769px) and (max-width:1024px){
    .servicelist_cnt2 {
    padding: 5rem 0;
    margin: 40rem 0 0 0 !important;
}
  .index_cnt1 .col2 .left .read br:nth-child(2){
        display: inline-block;
  }
  .flow_cnt1 .inner .ul .li::before {
    width: 52.5% !important;;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: #fff;
    display: inline-grid;
    text-align: center;
    margin: -6.645vw auto /*2.5rem*/0 !important;
    align-items: center;
    padding: 3rem 0 0 0;
}
  .flow_cnt1 .inner .ul .li:nth-of-type(3) p a::before {
    background: url(/system_panel/uploads/images/flow_cnt1_3.png) no-repeat center;
    width: /*11.5rem*/ 15.989vw !important;
    height: /*10rem*/ 15.208vw !important;
    min-width: 5.75rem;
    min-height: 5rem;
    max-width: 11.5rem !important;
    max-height: 12rem;
    background-size: 100%;
}
  .flow_cnt1 .inner .ul .li:nth-of-type(2) p a::before {
    background: url(/system_panel/uploads/images/flow_cnt1_2.png) no-repeat center;
    width: /*16.4rem*/ 15.989vw !important;
    height: /*11.8rem*/ 15.208vw !important;
    min-width: 8.2rem;
    min-height: 5.9rem;
    max-width: 16.4rem;
    max-height: 11.8rem;
    background-size: 100%;
}
  .flow_cnt1 .inner .ul .li:nth-of-type(1) p a::before {
    background: url(/system_panel/uploads/images/flow_cnt1_1.png) no-repeat center;
    width: /*12rem*/ 15.989vw !important;
    height: /*8.6rem*/ 15.208vw !important;
    min-width: 6rem;
    min-height: 4.3rem;
    max-width: 12rem;
    max-height: 8.6rem;
    background-size: 100%;
}
  .flow_cnt1 .inner .ul .li:nth-of-type(4) p a::before {
    background: url(/system_panel/uploads/images/flow_cnt1_4.png) no-repeat center;
    width: /*11rem*/ 15.989vw !important;
    height: /*12rem*/ 15.208vw !important;
    min-width: 5.5rem;
    min-height: 6rem;
    max-width: 11rem;
    max-height: 12rem;
    background-size: 100%;
}
  .flow_cnt1 .inner .ul .li:nth-of-type(5) p a::before {
    background: url(/system_panel/uploads/images/flow_cnt1_5.png) no-repeat center;
    width: /*11.6rem*/ 15.989vw !important;
    height: /*10.5rem*/ 15.208vw !important;
    min-width: 5.8rem;
    min-height: 5.25rem;
    max-width: 11.6rem;
    max-height: 10.5rem;
    background-size: 100%;
}
  .flow_cnt2 .inner .step::before {
    width: 10rem !important;
    height: 10rem !important;
    background: #fff;
    border: 0.1rem solid #707070;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: absolute;
    top: -7rem !important;
    left: 3rem;
    z-index: 3;
    font-size: 2rem;
}
}

@media screen and (max-width: 680px){
.p1684313767564 br:nth-child(2){
    display: inline-block !important;
}
}
@media (min-width:681px) and (max-width:1024px){
.contact_cnt1 .inner>p br {
    display: inline-block !important;
}
}
    @media screen and (min-width: 1025px){
       .footer .left .logo img {
    width: 50%;
    /* margin: 0 5rem 0 0; */
    float: right;
      }
      .p1684313726384 br{
    display: none;
}
    }

@media (min-width:1025px) and (max-width:1400px){
  .index_cnt1 .col2 .left {
    /* text-align: center; */
    /* background: url(/system_panel/uploads/images/index_cnt1_1.png) no-repeat center; */
    display: grid;
    align-content: center;
    /* padding: 0 18.75vw 0 0; */
    padding: 0;
}
  .service_cnt4 .inner .read2 {
    font-size: 2.4rem !important;
    font-family: 'Hina Mincho', serif;
    text-align: center;
    line-height: 1;
    margin: 0 0 5rem;
}
}
