html {
    font-size: 100%;/* 16px */
}

body{
    color:#172c83;
    max-width: 1960px;
    font-family: "Sawarabi Gothic"; 
}

a{
    text-decoration: none;
}

p{
    font-size: 0.8rem;
}

img{
     max-width: 100%;   

}

li{
    list-style: none;
    font-size:1.0rem;
}

.wrapper{
    max-width: 960px;
    margin: 0 auto 130px auto;
    font-size: 0.9rem;
    padding: 0 4%;
}

.site-title{
    line-height: 50px;
    font-weight: 600;
    font-size: 2.4rem;
    margin-left: 25%;
}

.site-title a {
    color:#172c83;
    margin-left:auto;
    margin-right: auto;
    align-items: center;
    margin: 0 auto; 
}

.sec-title{
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 30px;
}

.footersns{
    width: 50px;
    display: flex;
}

/* Header */
#header{
    max-width: 960px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0 15%;
    height: 100px;
}

#header ul{
    display: flex;
    padding: 10px 0;
    align-items: center;
}

#header ul li {
    font-size: 0.9rem;
    margin-left: 30px;
}

#header ul li a{
    color: #24292e;
    transition: all 0.3s;
    font-weight: 500;
}

#header ul li a:hover{
    opacity: 0.5;
}

#header li img.facebookicon{
    width: 30px;
}

#header li img.instaicon{
    width: 30px;
}

/* main */
#main img{
  max-width: 100%;
}


/* news */
#news dl{
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #c8c8c8;
    margin-bottom: 20px;
}

#news dt{
    width: 20%;
    border-bottom: 1px solid #c8c8c8;
    padding: 15px;
}

#news dd{
    width: 80%;
    border-bottom: 1px solid #c8c8c8;
    padding: 15px;
}

/* About */
#about ul {
    margin-bottom: 30px;
    padding: 5%;
}

#about ul li:first-child{
    margin-bottom: 20px;
}

#about ul li:nth-child(6){
    margin-bottom: 20px;
}

#about ul li{
    margin-bottom: 3px;
}

#about p {
    padding-left: 5%;
}

#about {
    background-image:url(./img/rogo.jpg);
    background-size: 40%;
    background-position: right center;
}

/* staff */
#staff div  {
    margin-bottom: 0px;
}
#staff {
    margin-bottom: 100px;
}

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

#gallery ul li{
    width: 31%;
    margin-bottom: 23px;
}

#gallery ul li img{
    cursor: pointer;
    transition: all 0.3s;
}

#gallery ul li img:hover {
    transform: scale(1.2, 1.2);
}

/* price list */
#price ul {
        justify-content: center;
        margin-bottom: 100px;
    }



/* contact */
#contact p {
    text-align: center;
    margin-bottom: 20px;
}

#contact dl {
    display: flex;
    flex-wrap: wrap;
}

#contact dt {
     width: 15%;
     margin-bottom: 10px;
}

#contact dd{
    width: 85%;
    margin-bottom: 10px;
}

#contact dd input,
#contact dd textarea {
     width:100% ;
     border: 1px solid #c8c8c8;
     padding:10px;
}

#contact dd textarea {
    height: 10rem;
}

#contact .button{
    text-align: center;
}

#contact .button input{
    border: 1px solid #172c83;
    background-color: #172c83;
    width: 200px;
    padding: 15px 0;
    color: #fff;
    transition: all 0.3s;
}

#contact .button input:hover {
    background-color: #fff;
    color: #172c83;
}

/* footer */
#footer {
background-color: #172c83;
background-size: 100%;
color: #fff;
display: flex;
justify-content: space-between;
}



#footer .leftbox li img.facebookicon{
    width:30px;
}

#footer .leftbox li img.instaicon{
    width:30px;
}

#footer.bottom {
     flex-direction: column;
}


/* sp  */
@media screen and (max-width:600px) {
    .site-title{
        margin-top: 20px;
    }

    /* header */
    #header{
        flex-direction: column;
        height: auto;
        line-height: 40px;
        margin-top: 20px;
    }

    #header h1 a{
        font-size: 1.3rem;
    }

    #header ul{
        flex-direction: column;
    } 

    /* about */
    #about{
        color: #24292e;
    background-size: 100%;
    background-position: center center;
    }

    /* price list */
    #price img{
        width: 100%;
        justify-content: center;
    }

    /* news */
    #news dl{
        flex-direction: colum;
    }

    #news dt{
        width: 100%;
        border-bottom: none;
        padding-bottom: 0;
    }

    #news dd{
        width: 100%;
        padding-top: 0;
    }

    /* contact */
    #contact dl{
        flex-direction: column;
    }
    
    #contact dt{
        width: 100%;
        margin-bottom: 5px;
    }

    #contact dd {
        width: 100%;
    }
}

