@charset "UTF-8";

/*
Theme Name: MY THEME
Author: ICHIMIYAUNYU
Description: This is my original theme.
Version: 1.0
*/

/* ----------------------------------------------------------------------
サービス業ページ
---------------------------------------------------------------------- */

.Other1{margin:0 auto; width:80%;}
.Other1 section{padding-top:50px;}
.Other1 section:nth-of-type(3){padding-bottom:50px;}
.Other1 h3{padding: 0.4em 0;
    background: #3E3A39;
    border-radius: 30px;
font-size: 20px;
    font-weight: 600;
    color: #fff;
text-align: center; margin:0 auto;}
.Other1__box1:after{
      display: block;
      clear: left;
      content: "";
}
.Other1__box1{-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
margin-top:20px; padding:5px 0 5px 5px; position:relative;
border:2px solid #cccccc;}

.Other1__box1 img{vertical-align:bottom; float:left;
width:20%; display:block;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;}

.Other1__box1 p{width:76%; float:right; margin:0; line-height:1.7; padding-left:2%; padding-right:2%; padding-top:5px;}
.Other1__box1 div{text-align:center; width:100%; position:absolute; bottom:10px;}
.Other1__box1 div a{display:inline-block;
width:170px; font-size:16px; color:#ffffff; background-color:#006835; padding:5px;
border-top:8px solid #01592a;
border-bottom:8px solid #01592a;
border-right:8px solid #00773d;
border-left:8px solid #00773d; text-align:center;}
.Other1__box1 div a:hover{color: #d41d23;}

@media (min-width: 1500px) {
.Other1{width:1200px;}
}
@media (max-width: 1200px) {
.Other1{width:90%;}
}
@media (max-width: 1080px) {
.Other1__box1 p{font-size:15px;}
}
@media (max-width: 1050px) {
.Other1__box1 p{padding-top:0px;}
.Other1__box1 p{line-height:1.5;}
}
@media (max-width: 980px) {
.Other1{width:882px; margin:0; padding:0 49px;}
}

@media (max-width: 500px) {
.Other1{margin:0; width:90%; padding:0 5%;}
.Other1 section{width:100%; padding-top:50px;}
.Other1 section:nth-of-type(1){padding-top:35px;}
.Other1 h3{width:auto; padding: 0.4em;
border-radius: 0px;
font-size: 16px;
line-height:1.7;}

.Other1__box1{padding:5px;}
.Other1__box1 img{float:none; width:100%;}
.Other1__box1 p{width:auto; float:none; padding:15px 5px; line-height:1.7;}
.Other1__box1 div{position:static;}
.Other1 section:nth-of-type(3){padding-bottom:0px;}
}
    
