@charset "UTF-8";

body{
    font-family:'Hiragino Kaku Gothic Pro','Meiryo',sans-serif;
    font-size:15px;
    border-top:15px solid#79a1b1;
}
a{
    text-decoration:none;
    color:#333;
}

.logo{
    text-align:center;
    margin-top:40px;
    margin-bottom:30px;
}


.logo img{
    display:inline-block;
    margin-bottom:5px;
    width: 25%;
}
.w_inner{
    width: 1200px;
    margin:0 auto;
 }
header{
    height: 200px;
    padding:0px;
}

.container{
    display: flex;
}
main{
    flex: 1 1 70%;
    /*background: lightblue;*/
    padding:20px;

}
.b_botm{
    width: 300px;
    border-bottom :5px solid #79a1b1;
    margin-bottom: 20px;
}


main h2{
    border-bottom: 2px solid #ddd;
    margin-top: 20px;
    
   
}
main p{
    /*height:200px;*/
    margin: 8px 0 2px 50px;
   
}

.top_txt{
    margin-top: 0;
    margin-left:25px;
    border-bottom:2px dashed #ddd;
    padding-bottom: 20px;
}

aside{
    position: sticky;
    top:0;
    height: 370px;
    flex: 1 1 30%;
    min-width: 300px;
    /*background: coral;*/
    padding: 20px;
}
ul{
    margin-top: 0px;
    list-style: none;
    border-top: 2px solid #79a1b1;
}
ul li{
    margin-top: 20px;
    border-bottom: 1px solid #ddd;
}
ul a{
    padding: 10px;
    display: block;
}
ul a:hover{
    color: #79a1b1;

}
.offer_info{
    margin: 300px 0 2px 150px;
}

/*footer{
    height:150px;
    background: pink;
    padding:20px;
}*/
.footer{
    margin-top: 150px;
}
.pp_link{
    text-align: right;
    margin-bottom: 20px;
}
.copy{
    text-align: center;
    background: #79a1b1;
    color: #fff;
    font-size: 12px;
    padding: 7px 0 3px;
}



@media screen and (max-width: 1025px){
    
    .w_inner{
        width:90%;
        margin:0 auto;
        max-width: 1200px;
     }
     .header_img{
        text-align:center;
        margin-top: 50px;
        margin-bottom:50px;  
    }
    .header_img img{
        display:inline-block;
        height:300px;
        width: 100%;
    }
    .container_service .service img{
        margin-bottom:20px;
        width: 200px;
    }
    h1{
        font-size: 27px
    }
    
    aside{
        position: sticky;
        top:0;
        height: 370px;
        flex: 1 1 30%;
        min-width: 120px;
        /*background: coral;*/
        padding: 20px;
    }
    
    
}

@media screen and (max-width: 768px){
   
    .w_inner{
        width:90%;
        margin:0 auto;
     }
     .logo{
        text-align:center;
        margin-top:40px;
        margin-bottom:30px;
    }
     .logo img{
        display:inline-block;
        margin-bottom:5px;
        width: 50%;
    }
    
    header{
        height: 150px;
        padding:0px;
    }
    .container{
        display:block;
    }
    p.l_space{
        margin-left: 50px;
        margin-bottom: 10px;
    }
    
   
}