p{
    font-size:18px;
}

.S_photo{
    width:90%;
    margin: 0 auto;
    margin-bottom: 100px;
}

h3{
    margin-bottom: 30px;
    color: #004A7E;
    font-size: 23px;
}

.S_font{
    float:left;
    width:70%;
    margin-top: 40px
}

.S_img{
    width:190px;
    float:right;
}

.img{
    width: 180px;
    margin-bottom: 10px
}

.btn_design{
    background-color: #ffffff;
    color: #000000;
    border: #000000 solid 2px;
    border-radius: 5px;
    box-shadow: 0 0 6px 0 
      rgba(0, 0, 0, 0.5);
    transition: 0.2s;
    font-size: 15px;
    border: 1px solid black;
    padding: 7px 38px;
    text-align: center;
    font-weight: bold;
}

/* マウスオーバー時 */
.btn_design:hover{
  box-shadow: 0 4px 7px 0 rgba(0, 0, 0, 0.5);
  transform: translateY(-5px);
  cursor: pointer;
}

.btn_design{
    position: relative;
}

.btn_design::before{
    content:'';
    position: absolute;
    left:14px;
    top:11px;
    width:11px;
    height:11px;
    border-top: 3px solid #004A7E;
    border-right:3px solid #00AFDD;
    transform: rotate(45deg);
}

.SCADA{
    width:80%;
    font-size:16px;
    border: 2px solid black;
    padding: 20px;
    margin: 0 auto;
    margin-bottom: 100px;
    margin-top: -50px;
}

.S_h2{
    display: none;
}

h2 .S_s{
    margin-left: 14%;
    margin-right: 34%;
}

.S_text{
    margin: 0 auto;
    width: 900px;
    margin-bottom: 50px;
    text-align: center;
}

.S_text ul{
    list-style: none;
}

.S_left{
    width: 420px;
    float:left;
    margin-left: -40px;
}

.S_right{
    width: 300px;
    float:right;
}

.S_text li{
    border-bottom: 4px solid #e7e7e7;
    margin-bottom: 10px;
}

@media screen and (max-width: 800px){
    h3{
        font-size: 17px;
    }
    
    p{
        font-size: 16px;
    }

    .S_font{
        float:left;
        width:63%;
        margin-top: 0px;
    }
    
    h2 .S_s{
        margin-left: 30px;
        margin-right: 100px
    }
    
    .S_text{
        margin: 0 auto;
        width: 650px;
        margin-bottom: 50px;
        text-align: center;
    }

    .S_left{
        width: 250px;
        float:left;
        margin-left: 30px;
    }

    .S_right{
        width: 250px;
        float:right;
        margin-right: 20px
    }

    .S_text li{
        border-bottom: 4px solid #e7e7e7;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 500px){
    p{
        font-size: 14px;
    }
    
    .S_font{
        float:left;
        width:55%;
        font-size:14px;
    }
    
    .S_photo{
        margin-top:20px;
    }
    
    .S_img{
        width:150px;
        float:right;
    }
    
    .img{
        width: 150px;
        margin-bottom: 0px
    }

    .btn_design {
        font-size: 5px;
        width: 150px;
        float: right;
        padding: 5px 2px;
    }
    
    .btn_design::before{
        left:19px;
        top:7px;
        width:9px;
        height:9px;
    }

    .SCADA{
        font-size:14px;
        margin-bottom: 50px;
        margin-top: -80px;
    }
    
    h2 .S_s{
        margin-left: 0px;
        margin-right: 0px;
    }
    
    h2 .s_s{
        display: none;
    }
    
    .S_text{
        margin: 0 auto;
        width:100%;
        margin-bottom: 50px;
        text-align: center;
    }

    .S_left{
        width: 100%;
        float:left;
        margin: 0 auto;
        margin-bottom: 50px;
    }

    .S_right{
        width: 100%;
        float:right;
        margin: 0 auto;
        margin-right: 0px;
    }
    
    .S_text li{
        font-size: 17px;
        width: 300px;
        margin: 0 auto;
        margin-bottom: 5px;
    }
    
    .S_h2{
        display: block;
        text-align: left;
    }
}