@charset "utf-8";
/* CSS Document */
h2{
margin-bottom: 40px;
}

#overview h2,
#inquiry h2,
#access h2{
    text-align: center;
}

#greeting .container{
display: flex;
justify-content: space-between;
}

#greeting .txt{
max-width: 515px;
    width: 100%;
}

#greeting .title-narrow02 {
    margin-left: 0;
    font-weight: 400;
    display: inline-block;
    color: #003486;
    font-size: 55px;
    transform: none;
    margin-right: 0.1em;
    margin-bottom: 0;
}

#greeting h2 {
    margin-bottom: 30px;
}

#greeting p {
    margin-bottom: 20px;
}

#philosophy .container{
    background-color: #eef2f7;
    text-align: center;
    padding: 30px 0 60px;
}

#philosophy p{
    font-size: 2rem;
    color: #003486;
    margin-top: 60px;
}

#gallery ul{
    display: flex;
    justify-content: space-between;
}

#overview dl,#overview dl{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
border-bottom: 1px solid #8b8684; 
}

#overview dt,#overview dd{
border-top: 1px solid #8b8684;    
}

#overview dt{
width: 23%;
padding: 1em 0;
	font-weight: 500;
}

#overview dt:first-of-type{
border-top: 0 solid #8b8684; 
}

#overview dd{
width: 77%;
padding: 1em 0;
}

#overview dd:first-of-type{
border-top: 0 solid #8b8684; 
}

@media (max-width: 640px) {
h2 {
    margin-bottom: 30px;
    }
    
#greeting .container {
    flex-flow: column;
}
    
#philosophy img.figure{
    width: 100%;
    height: auto;
}
    
#philosophy .container {
    padding: 30px 5% 40px;
}
    
#philosophy p {
    margin-top: 30px;
}
    
#gallery ul {
    flex-wrap: wrap;
    justify-content: center;
}
    
#gallery li {
    width: 30%;
    margin-right: 2%;
}
    
#gallery li:last-child {
    margin-right: 0;
}
    
#gallery li img {
    width: 100%;
    height: auto;
}
    
#overview dl {
    flex-flow: column;
}
    
#overview dt {
    width: auto;
    padding: 1em 2%;
    background-color: #eef2f7;
    border-top: 0 solid #8b8684;
}
    
#overview dd {
    width: auto;
    padding: 1em 2%;
    border-top: 0 solid #8b8684;
}
}

