*{
  margin: 0;
  padding: 0;
  list-style-type: none;
  /*border: none;*/
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align: baseline;
  line-height: 1;
}
html{
  height: 100%;
}
img{
  border: none;
}

/* Mini grid system */
.myg{
  display: inline-grid;
  float: left;
  padding: 0 15px;
}
.mygb-1{ width: 8.333333%; }
.mygb-2{ width: 16.666666%; }
.mygb-3{ width: 25%; }
.mygb-4{ width: 33.333333%; }
.mygb-5{ width: 41.666666%; }
.mygb-6{ width: 50%; }
.mygb-7{ width: 58.333333%; }
.mygb-8{ width: 66.666666%; }
.mygb-9{ width: 75%; }
.mygb-10{ width: 83.333333%; }
.mygb-11{ width: 91.666666%; }
.mygb-12{ width: 100%; }
@media screen and (max-width: 640px){
.mygm-1{ width: 8.333333%; }
.mygm-2{ width: 16.666666%; }
.mygm-3{ width: 25%; }
.mygm-4{ width: 33.333333%; }
.mygm-5{ width: 41.666666%; }
.mygm-6{ width: 50%; }
.mygm-7{ width: 58.333333%; }
.mygm-8{ width: 66.666666%; }
.mygm-9{ width: 75%; }
.mygm-10{ width: 83.333333%; }
.mygm-11{ width: 91.666666%; }
.mygm-12{ width: 100%; }
}
@media screen and (max-width: 600px){
.mygs-1{ width: 8.333333%; }
.mygs-2{ width: 16.666666%; }
.mygs-3{ width: 25%; }
.mygs-4{ width: 33.333333%; }
.mygs-5{ width: 41.666666%; }
.mygs-6{ width: 50%; }
.mygs-7{ width: 58.333333%; }
.mygs-8{ width: 66.666666%; }
.mygs-9{ width: 75%; }
.mygs-10{ width: 83.333333%; }
.mygs-11{ width: 91.666666%; }
.mygs-12{ width: 100%; }
}
.row{
  clear: both;
  margin: 10px -15px;
}

body{
  font-family: Arial,Helvetica,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro W3","メイリオ",Meiryo,"ＭＳ Ｐゴシック",Osaka,sans-serif;
  font-size: 16px;
  *+font-size: medium;
  font-size: 100%;
  background-color: #fff;
  /*overflow: auto;*/
  -webkit-text-size-adjust: none;
}
.container{
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  background-color: #f7f7f7;
  border-color: #999;
  border-width: 0 1px 0 1px;
  border-style: solid;
}
/* Header */
.header{
  width: 100%; height: 100px;
  margin: 0 auto;
  padding-top: 30px;
  position: relative;
  background-color: #f3ecf0;
  border-color: #999;
  border-width: 0 0 1px 0;
  border-style: solid;
}
h1.title{
  text-align: center;
}
h1.title img{
  margin-top: -30px;
}

.topicpath{
  position: absolute; left: 25px; bottom: 0px;
  color: #333;
}
.topicpath li{
  display: inline-block;
  padding: 0.5em 0.5em;
  line-height: 1.3em;
}
.topicpath li i{
  padding-right: 1em;
}
.topicpath li.current{
  color: #999;
}

/* Main */
.main{
  margin: 0 auto;
  padding: 25px;
  /*width: 100%;*/
  position: relative;
}
/* Bottom */

/* Footer */
.footer{
  width: 100%; min-height: 50px;
  border-color: #999;
  border-width: 1px 0 0 0;
  border-style: solid;
  position: relative;
  padding-bottom: 1em;
  background-color: #f3ecf0;
}
.copyright{
  clear: both;
  width: 100%;
  margin: 2em auto 2em;
  text-align: center;
  font-size: 1em;
  font-weight: normal;
  line-height: 1.5em;
}
/** Link **/
#topicpath a{
  /*text-decoration: none;*/
}
#topicpath a:link{
  /*color: #333;*/
}
#topicpath a:visited{
  /*color: #333;*/
}
#topicpath a:hover,#topicpath a:active{
  color: #a00;
  text-decoration: underline;
}

/** Link **/
a{
  text-decoration: none;
}
a:link{
  color: #339;
}
a:visited{
  color: #539;
}
a:hover,a:active{
  color: #a00;
  text-decoration: underline;
}

/** Banner **/
.banner{
  margin: 8px 8px;
}
.banner li{
  display: inline-block;
  margin: 4px 4px 8px;
  height: 40px;
}
.banner li:first-child{
  float: left;
}
.banner li:last-child{
  float: right;
}

/** Other **/
hr{
  /*visibility: hidden;*/
  color: #ccc;
  clear: both;
}
.clearfloat{
  clear: both;
  height: 0;
  font-size: 0;
}


@media screen and (max-width: 499px){
  .banner {
    margin: 8px 8px;
    text-align: center;
  }
  .banner li:first-child{
    float: none;
  }
  .banner li:last-child{
    float: none;
  }
  .copyright{
    margin: 1em auto 1em;
  }
}
