
.sp {
    display: none;
}


.service_top{
    position:relative; /* 相対位置指定 */
    width:100%;
}

.service_top_p {
    width: 25%;
    font-size: 1em;
    text-align: left;
    bottom: 90px;
    margin-left: 75%;
    padding: 5px;
    color: #fff;
    background: #000;
    position: absolute;
}

.service_top_p2 {
    width: 22%;
    font-size: 1.75em;
    text-align: left;
    bottom: -20px;
    margin-left: 78%;
    padding: 5px;
    color: #fff;
    background: #000;
    position: absolute;
}


.w-100{
    width: 100%;
}

.h-100{
    height: 100%;
}


.btn-bk {
    background: #000000;
    border: 2px solid #000000;
    border-radius: 0;
    color: white!important;
    text-decoration: none;
    padding: 1rem 6rem;
    font-size: 1.5em;
    font-weight: bold;
    max-width: 100%;
    transition: background 0.2s, color 0.2s;
}
.btn-bk:hover {
    background: white;
    color: #000000 !important;
    text-decoration: none!important;
}

.text-center{
    text-align: center!important;
}

.service_h2 {
    padding: 0.25em 0.5em 1.5em;/*上下 左右の余白*/
    color: #494949;/*文字色*/
    background: transparent;/*背景透明に*/
    border-left: solid 3px #dc143c;/*左線*/
    font-weight: bold;
}


.service_h3{
    padding: 0.25em 0 0.25em 0.5em ;/*上下 左右の余白*/
    margin-top:1em; 
    color: #494949;/*文字色*/
    background: transparent;/*背景透明に*/
    border-left: solid 3px #dc143c;/*左線*/
    font-size: 1em;
    font-weight: bold;
}

.contents_service_m{
    margin-top: 15rem;
}
    
.app-text{
    font-size: 0.8em;
}

.service_flexbox{
    display: flex;
}

.service_flexbox_item_mr{
    margin-right: 8.5%;
    width: 422px;
    
}
.service_flexbox_item{
    width: 422px;
}

.a-style:hover {
    text-decoration: underline #000000;
}


.flowcontent {
    width:100%;
    margin:0;
    padding:0;
    position:relative; /* 相対位置指定 */
}

.flowcontent img {
    width:100%;
}

.flowtext {
    width:100%;
    font-size:16px;
    text-align:left;
    bottom:0px;
    margin:0;
    padding:3%;
    color:#fff;
    background:	rgba(0,0,0,0.4); /* 帯の透明度 */
    position:absolute; /* 絶対位置指定 */
    font-weight: bold;
}

.flowtitle-m{
    margin-top: 6rem;
}

.flowcontainer {
  display: flex;
  justify-content: space-between;
}



.flowtitle{
    display: inline-block;
    font-size: 2rem;
    height: 70px;
    line-height: 70px;
    font-weight: bold;
}

.flowtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 3px;
    height: 80px;
    margin: auto;
    background-color: #dc143c;
}


.tel{
    font-size: 2.5em;
    font-weight: bold;
}

.tel-2{
    font-size: 0.9em;
}

.box-shadow1{
    margin-right: 5%;
    padding: 20px;
    background: #FFF;
    max-width: 47%;
    border-radius: 3px;
    box-shadow: 0 0px 20px rgba(0,0,0,0.2);
}

.box-shadow2{
    padding: 20px;
    background: #FFF;
    max-width: 47%;
    border-radius: 3px;
    box-shadow: 0 0px 20px rgba(0,0,0,0.2);
}

.box-shadow1 img{
    width: 40%;
    padding-right: 20px;
    height: auto;
    float: left;
}
.box-shadow2 img{
    width: 40%;
    padding-right: 20px;
    height: auto;
    float: left;
}

 .box-shadow1 a {
    color: #000000!important;
    text-decoration: none!important;
}

.box-shadow1 a:hover {
    color: #595959!important;
    opacity: 0.8;
}

 .box-shadow2 a {
    color: #000000!important;
    text-decoration: none!important;
}

.box-shadow2 a:hover {
    color: #595959!important;
    opacity: 0.8;
}

.stickarrow {
    width: 60px;
    height: 8px;
    border-bottom: 1px solid #dc143c;
    border-right: 1px solid #dc143c;
    transform: skew(45deg);
    margin-left: 96%;
}

.box_sub_title{
    font-size: 13px;
    margin-bottom: 2%;
}
.box_title{
    font-size: 21px;
    margin-bottom: 1rem;
    font-weight: bold;
    overflow: auto;
    -ms-overflow-style: none;
}

.box_text {
    font-size: 13px;
    line-height: 1.7rem;
    margin-bottom: 0;
    overflow:auto;
    -ms-overflow-style: none;
}

@media screen and (min-width: 770px) and (max-width: 991px) {
    .box_title_990{
    font-size: 21px;
    margin-bottom: 3.0rem;
    font-weight: bold;
    overflow: auto;
    -ms-overflow-style: none;
}
}

@media screen and (min-width: 770px) and (max-width: 1000px) {
    .service_top_p {
    width: 35%;
    font-size: 1em;
    text-align: left;
    bottom: 90px;
    margin-left: 65%;
    padding: 5px;
    color: #fff;
    background: #000;
    position: absolute;
}

.service_top_p2 {
    width: 30%;
    font-size: 1.75em;
    text-align: left;
    bottom: -20px;
    margin-left: 70%;
    padding: 5px;
    color: #fff;
    background: #000;
    position: absolute;
} 
}

@media screen and (max-width: 1200px) {
    .box_text {
    line-height: 1rem;
   }
}

/* サービスリンク500px以下用*/
@media screen and (max-width: 500px) {
    .box-shadow1{
    margin-right: 5%;
    margin-left: 5%;
    padding: 10px;
    background: #FFF;
    max-width: 554px;
    border-radius: 3px;
    box-shadow: 0 0px 20px rgba(0,0,0,0.2);
    width: 98%;
    
}

 .box-shadow1 a {
    color: #000000!important;
}

.box-shadow1 a:hover {
    color: #595959!important;
    text-decoration: none!important;
    opacity: 0.8;
}

 .box-shadow2 a {
    color: #000000!important;
    text-decoration: none!important;
}

.box-shadow2 a:hover {
    color: #595959!important;
    opacity: 0.8;
}

 
.a-style {
    text-decoration: none;
    color:#000000;
}
.a-style:hover {
    text-decoration: none!important;
    opacity: 0.8;
}
.a-style:visited {
    color: #000000;
}


.stickarrow_box {
    width: 60px;
    height: 8px;
    border-bottom: 1px solid #dc143c;
    border-right: 1px solid #dc143c;
    transform: skew(45deg);
    margin-left: 90%;
    margin-top: -18px;
}

.box_sub_title{
    font-size: 13px;
}
.box_title{
    font-size: 21px;
    color: #000000;
    font-weight: bold;
}

.box_text{
    font-size: 13px;
    line-height: 1rem;
}

.box-shadow1 img{
    width: 100%;
    padding-right: 0;
    height: auto;
    float: left;
}
.box-shadow2 img{
    width: 100%;
    padding-right: 0;
    height: auto;
    float: left;
}

.spmax500 {
    display: none;
}

.service_top_p_sp {
    display: none;
}

.service_top_p2_sp {
    display: none;
}

.service_top_p_sp_500 {
    width: 74%;
    font-size: 0.8em;
    text-align: left;
    bottom: 90px;
    margin-left: 26%;
    padding: 5px;
    color: #fff;
    background: #000;
    position: absolute;
}

.service_top_p2_sp_500 {
    width: 60%;
    font-size: 0.8em;
    text-align: left;
    bottom: -20px;
    margin-left: 40%;
    padding: 5px;
    color: #fff;
    background: #000;
    position: absolute;
}

}

@media screen and (min-width: 500px) {
 .spmin500 {
    display: none;
}
}


@media screen and (max-width: 768px) {
    
.service_top_p_sp {
    width: 50%;
    font-size: 0.8em;
    text-align: left;
    bottom: 90px;
    margin-left: 50%;
    padding: 2px;
    color: #fff;
    background: #000;
    position: absolute;
}

.service_top_p2_sp {
    width: 40%;
    font-size: 1.75em;
    text-align: left;
    bottom: -20px;
    margin-left: 60%;
    padding: 2px;
    color: #fff;
    background: #000;
    position: absolute;
}

.contents_service_m{
    margin-top: 5rem;
}

.box-shadow1{
    margin-left: 5%;
    margin-bottom:3rem;
    padding: 20px;
    background: #FFF;
    max-width: 91%;
    border-radius: 3px;
    box-shadow: 0 0px 20px rgba(0,0,0,0.2);
}

.box-shadow2{
    margin-left: 5%;
    padding: 20px;
    background: #FFF;
    max-width: 91%;
    border-radius: 3px;
    box-shadow: 0 0px 20px rgba(0,0,0,0.2);
}

.btn-bk {
    background: #000000;
    border: 2px solid #000000;
    border-radius: 0;
    color: white!important;
    text-decoration: none;
     padding: 1rem 1rem;
    font-size: 1em;
    transition: background 0.2s, color 0.2s;
}
.btn-bk:hover {
    background: white;
    color: #000000 !important;
    text-decoration: none!important;
}

    .service_h2{
        font-size: 1.5rem;
        padding:;
    }
    
    .sp-3img img{
        width: 95%;
    }
    
    .pc{
    display: none;
    }
    
    .sp{
        display: block;
    }
    
    
    
    .contents_service p{
        font-size:1em
    }
    
    .stickarrow {
        margin-left: 90%;
    }

    .app-text{
        font-size: 0.3em;
    }
    
    
    .flowtext{
        font-size: 0.8rem;
    }
    
    .flowcontainer{
        display:block;
    }
    
    .flowcontent{
            margin: 0 0 2rem 0;
    }
    .box_sub_title{
        font-size: 13px;
        margin-bottom: 2%;
    }
    
    .box_title{
        font-size: 21px;
        margin-bottom: 1rem;
        font-weight: bold;
    }

    .box_text {
        font-size: 13px;
        line-height: 1rem;
        margin-bottom: 0;
    }

}
