@charset "UTF-8";
/* CSS Document */

#top {
background-image: url(images/top.jpg);
}
#greeting .box {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#greeting .photo {
width: 24%;
height: auto;
}
#greeting p {
width: 70%;
}
#greeting p span {
display: block;
margin-left: auto;
margin-top: 20px;
text-align: right;
}
#profile dl {
margin: 0;
text-align: left;
margin-bottom: 10px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-start;
}
#profile dt {
width: 20%;
padding: 20px;
background-color: #646a75;
color: #fff;
}
#profile dd {
width: 78%;
}
#profile dd ul {
display: block;
}
#profile dd ul li {
list-style: disc;
list-style-position: inside;
}

#map ul {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#map ul .mpbox {
border: solid 1px #ccc;
}
#map li.left {
width: 68%;
}
#map li.right {
width: 30%;
}
#map .gmap {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;    /*16:9の比率にしたい場合、9/16=56.25%*/
}
#map .gmap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#history dl {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 0;
text-align: left;
}
#history dt {
padding: 20px;
border-top: solid 1px #333;
border-bottom: solid 1px #333;
width: 20%;
}
#history dd {
padding: 20px;
border-top: solid 1px #ccc;
border-bottom: solid 1px #ccc;
width: 80%;
}

@media screen and (max-width: 768px) {


#greeting .photo {
width: 80%;
margin: 0 auto 30px;
}
#greeting p {
width: 100%;
}
#profile dl {
margin-bottom: 20px;
}
#profile dt {
width: 100%;
padding: 4px;
}
#profile dd {
width: 100%;
}
#map li.left {
width: 100%;
margin-bottom: 20px;
}
#map li.right {
width: 100%;
}
#history dt {
width: 100%;
padding: 10px;
}
#history dd {
width: 100%;
padding: 10px;
}
#works .etc {
font-size: 16px;
}


}

