/* PC */
@media (min-width: 992px) {

    .pagetitle{
        margin: 3vw 0 6vw;
        font-size: 1vw;
    }

    .pagetitle div {
        margin-top: 2vw;
        line-height: 2vw;
    }

    .serviceimgbox{
        width: 93%;
        margin: auto;
        position: relative;
        transition: .5s;
    }

    .serviceimgbox img{
        transition: .5s;
    }

    .serviceimgbox:hover > img{
        filter: brightness(0.5);
    }

    .serviceimgbox div {
        position: absolute;
        top: 11vw;
        width: 25vw;
        text-align: center;
    }

    .serviceimgbox div p{
        display: none;
        transition: .5s;

    }

    .serviceimgbox:hover > div p{
        display: inline-block;

    }

    .servicesec {
        position: relative;
        width: 93%;
        margin: 0 auto 5vw;
    }

    .servicesec2 {
        position: relative;
        width: 93%;
        margin: 0 auto 15vw;
    }

    .servicesec3, .servicesec4, .servicesec5, .servicesec6 {
        position: relative;
        width: 93%;
        margin: 0 auto 10vw;
    }

    .servicesec .caption {
        text-align: center;
        color: #fff;
        width: 32vw;
        margin-top: 11.5vw;
        font-size: 1vw;
        display: flex;
        justify-content: center;
    }

    .servicesec .caption img{
        width: 3%;
        vertical-align: middle;
        margin-left: 0.5vw;
        object-fit: contain;
    }


    .servicesec .mask {
        width: 100%;
        height: 99%;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        background-color: rgba(0,0,0,0.4);
        -webkit-transition: all 0.2s ease;
        transition: all 0.2s ease;
        border-radius: 1vw;
    }
    .servicesec:hover .mask {
        opacity:		1;	
    }

    .serviceon{
        position: absolute;
        width: 33vw;
        top: 2vw;
        right: -3vw;
        background: #fff;
        border-radius: 1vw;
        box-shadow: 2px 3px 5px #ddd;
        padding: 1vw 3vw 2vw 2vw;
    }

    .serviceon > div {
        margin: 0.5vw 0;
        line-height: 2vw;
        font-size: 1vw;
    }

    .serviceon > div > .sec{
        margin: 0.5vw 0;
        font-size: 0.9vw!important;
    }

    .serviceon img {
        width: 4%;
    }

    .servicesec3 .serviceon .lcol {
        margin: 0 1vw;
    }

}



/* PC以下サイズ */
@media (max-width: 991px) {


    .pagetitle{
        margin: 3vw 0 6vw;
        font-size: 3vw;
    }

    .pagetitle div {
        margin-top: 2vw;
    }

    .serviceimgbox{
        width: 93%;
        margin: auto;
        position: relative;
        transition: .5s;
    }

    .serviceimgbox img{
        transition: .5s;
    }

    .serviceimgbox:hover > img{
        filter: brightness(0.5);
    }

    .serviceimgbox div {
        position: absolute;
        top: 11vw;
        width: 25vw;
        text-align: center;
    }

    .serviceimgbox div p{
        display: none;
        transition: .5s;

    }

    .serviceimgbox:hover > div p{
        display: inline-block;

    }

    .servicesec {
        position: relative;
        width: 93%;
        margin: 0 auto 5vw;
    }

    .servicesec2 {
        position: relative;
        width: 93%;
        margin: 0 auto 15vw;
    }

    .servicesec3, .servicesec4, .servicesec5, .servicesec6 {
        position: relative;
        width: 93%;
        margin: 0 auto 10vw;
    }

    .servicesec .caption {
        text-align: center;
        color: #fff;
        width: 32vw;
        margin-top: 11.5vw;
        font-size: 3vw;
    }

    .servicesec .caption img{
        width: 3%;
        vertical-align: middle;
        margin-left: 0.5vw;
    }


    .servicesec .mask {
        width: 100%;
        height: 99%;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        background-color: rgba(0,0,0,0.4);
        -webkit-transition: all 0.2s ease;
        transition: all 0.2s ease;
        border-radius: 1vw;
    }
    .servicesec:hover .mask {
        opacity:		1;	
    }


    .serviceon > div {
        /* margin: 0.5vw 0; */
        /* line-height: 2vw; */
        font-size: 3vw;
    }

    .serviceon > div > .sec{
        margin: 0.5vw 0;
        font-size: 2.8vw!important;
    }

    .serviceon img {
        width: 4%;
    }

    .serviceon .lcol{
        margin-right: 1vw;
    }

    .servicesec3 .serviceon .lcol {
        margin: 0 1vw;
    }

    .gotoa2 {
        color: #fff!important;
    }

    .gotoa2 .gotobtn{
        background: #d90000;
        width: 50%;
        padding: 3vw;
        margin-left: 25%;
        margin-bottom: 8vw;
        margin-top: 5vw;
        border-radius: 2vw;
        text-align: center;
        display: inline-block;
        font-size: 3vw;
    }

}