@charset "UTF-8";
/* CSS Document */
body {
     padding-bottom: 0;
}
#header-image {
    background-image: url("../img/top/top-image.jpg");
    background-size: cover;
    padding: 70px 5% ;
    margin-bottom: 50px;
    height: 40vh;
    box-sizing: border-box;
}
#header-image h1 img {
    display: block;
    max-width: 80%;
    width: 600px;
 }
.contact {
    position: absolute;
    background-color: var(--color2);
    padding: 5px 10px;
    display: inline-block;
    border-radius: 10px;
    top: 15px;
    right: 5%;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    font-size: 1.2rem;
}
.contact:hover {
    background-color: #73B6FF;
}
.contact img {
    display: block;
    width: 40px;
    margin: 5px auto;
}
.lead {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 50px;
}
.content {
    margin: 30px 0 50px;
}
.content h2 {
    background-color: var(--color1);
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
    padding: 20px 2.5% 120px; 
}
.content h3 {
    background-color: var(--color2);
    color: #fff;
    font-size: 1.2rem;
    padding:5px 2.5%;
    margin: 40px 0 10px;
}
.content .col-30 {margin-bottom: 1em}
.content .s-lead {
    font-weight: bold;
    margin-bottom: -20px
}
.content .box {
    border: 2px solid var(--color2);
    padding: 5px 10px;
    margin: -10px 0 1em;
}
#about {
    background-color: #e6e6e6;
    padding: 10px 0;
    font-weight: bold;
    line-height: 1.7;
}
#about h2 {
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: 1px solid #555;
    text-align: center;
    margin-bottom: 1em;
    padding: 10px 0;
}
#about{
    width: 100%;
}
#about table tr>* {
    padding: 0 1.5em 0 0;
    margin: 0;
}
ul.keireki li {
    margin-left: 1em;
}
ul.keireki li:first-child {
    margin-left: 0em;
}
footer {
    position:static;
    margin: 0;
}
@media all and (max-width:764px){
    #header-image { height: auto;}
    .content h2 { padding:10px 2.5%;}
    .lead {font-size: 1.1rem;}
    
    }
}