@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;
}
.b_botm{
    width: 300px;
    border-bottom :5px solid #79a1b1;
    margin-bottom: 20px;
}
main{
    flex: 1 1 70%;
    padding:20px;
}
h1{
    padding:0px 0px 0px 0px;
}

/*main p{
    height:200px;
}*/

table{
    border-collapse: collapse; 
   /* border: 2px solid #333;*/
    padding: 20px;
}

table th{
    border-collapse: collapse; 
    border: 2px solid #333;
    background:#ddd;
    font-size: 18px;
    vertical-align: top;
    padding: 20px;
}
table td{
    border: 2px solid #333;
    font-size: 18px;
    padding: 20px;
}
/*.w_map{
    height: 250px;
}*/

td.map{
    padding: 0;
}
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{
    height:150px;
    background: pink;
    padding:20px;
}*/
.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;
}


@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;
        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;
    }

    table th{
        border: 2px solid #333;
        background:#ddd;
        font-size: 18px;
        vertical-align: top;
        writing-mode: horizontal-tb;
       padding: 20px;
    }

    .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;
    }
    
}


@media screen and (max-width: 480px) { 
    .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;
    }
    .b_botm{
        width: 300px;
        border-bottom :5px solid #79a1b1;
        margin-bottom: 50px;
    }
    
    
    table th{
        border: 2px solid #333;
        border-top: none;
        background:#ddd;
        font-size: 18px;
        /*vertical-align: top;*/
        writing-mode: horizontal-tb;
        padding: 20px;
        display: block;
        
    }
    .th-top{
        border-top:2px solid#333 
    }
    .th-last{
        border-top:2px solid#333 
    }
    table td{
        border: 2px solid #333;
        border-bottom: 1px solid #333;
        font-size: 18px;
        padding: 20px;
        display: block;
    }
   
    table td{   
        border-top: none;
        border-bottom: none;
    }
    .td-btm{
        border-bottom: 2px solid #333;
    }
    .tadle-p{
        display:inline-block ;
        border-bottom:1px solid #333;
         padding-bottom:5px ;
        
    }
    .td-btm-last{ 
        border-bottom:2px solid #333;
    }
    
    .w_map{
        height: auto
    }
    
    .container{
        display:block;
    }

}