@charset "UTF-8";
*{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#menu {
  width: 100%;
  height: 45px;
  padding: 0;
  margin: auto;
  list-style-type: none;
  background: rgb(110, 106, 106);
  box-shadow: 3px 3px 3px #aaa;
}
#menu li {
  width: 20%;
  float: left;
  padding: 0;
  margin: 0;
  text-align: center;
}
#menu li a {
  width: auto;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  padding: 12px 0;
  text-decoration: none;
  text-shadow: 0px -1px 1px rgba(0,0,0,0.7);
  display: block;
}
#menu li a:hover {
  background: rgb(124, 120, 120);;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10000;
}
/***
*/
/*  main
*/
/*****/
main{
  margin-top: 60px;
  background: #dfdfdf;
}

#a,#b{
    width: 90%;
    margin: 0 auto;
    padding: 10px 0 15px;
    display:flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    background: #fff;
}
h1{
    font-size: 1.5em;
    line-height: 2;
    margin-top: 1.5em;
    margin-bottom: 1em;
    padding-left: .5em;
    background: #000;
    color: white;
}
h2 {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: row;
}

p{
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: row;
}

#b a{
  margin: 1rem;
  padding: 0 2em;
  margin-left: 5px;
}
/**********
*/
/*  con
*/
/**********/
#container {
  padding-top: 150px;
}

/* external css: flickity.css */
#Contents{
  width: 90%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#Contents img{
  max-height: 200px;
}
body {
   font-family: sans-serif; 
   /*color: #f0f2f6;d9d9d9*/
   margin: 0;
  }
 
.gallery {
  background: #EEE;
}
 
.gallery-cell {
  width: 66%;
  height: 200px;
  margin-right: 10px;
  background: #d9a62d;
  /* counter-increment: gallery-cell; */
  text-align: center;
}
 
/* cell number */
/* 
.gallery-cell:before {
  display: block;
  text-align: center;
  content: counter(gallery-cell);
  line-height: 200px;
  font-size: 80px;
  color: white;
} */

#c{
    width: 90%;
    margin: 0 auto;
    padding: 10px 0 15px;
    display:flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    background: #fff;
}
#c img{
  width: 80px;
  height: 80px;
  margin: 5px;
}

/***
*/
/*   footer
*/
/*****/
.flex{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}
.flex > *{
  min-width: 8rem;
  flex-basis: 5%;
  background: #fff; 
  text-align: center;
}
.flex,
.flex > *{
  border: 3px solid #aaa;
}
/***
*/
/*   footer
*/
/*****/
footer{
    background: #231815;
    color: #fff;
    text-align: center;
}

footer small{
    display: block;
    padding: 1em 0;
}