@charset "UTF-8";

html,body{
    height: 100%;
}

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;
}
.top_policy{
    color:#000;
    font-weight: bold;
    border-bottom: 2px solid  #79a1b1;
   
   
}

main a:hover{
    color: #79a1b1;

}

h2{
    font-size: 20px;
    padding:30px 0px 20px 10px;
}
main p{
    /*height:200px;*/
    margin-left: 50px;
    margin-bottom: 10px;
}

.space{
    margin-left: 40px;
}
.space_fax{
    margin-left: 42px;
}


.btn-border {
    display: inline-block;
    max-width: 180px;
    text-align: left;
    border: 2px solid #79a1b1;
    font-size: 16px;
    color: #79a1b1;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    transition: .4s;
    margin-top: 50px;
  }
  
  .btn-border:hover {
    background-color: #79a1b1;
    border-color: #79a1b1;
    color: #FFF;
  }

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;

}


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

.container_hf{
    position: relative;
    min-height: 100%;
    height: auto !important;
    height: 100%;
}

main{
    padding-bottom: 40px;
}

.footer{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0px;
    margin-top: 40px;
}



@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%;
    }
     h1{
        font-size:20px;
    }
    header{
        height: 150px;
        padding:0px;
    }

    .container{
        display:block;
    }
    .footer{
        margin-top: 50px;
    }
    .pp_link{
        text-align: right;
        margin-top: 50px;
        margin-bottom: 20px;
    }
    .copy{
        text-align: center;
        background: #79a1b1;
        color: #fff;
        font-size: 12px;
        padding: 7px 0 3px;
    }

}