@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
/*@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);*/

*{
  /*border: solid #f60 1px;*/
  padding: 0;
  margin: 0;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /*font-family: 'Noto Sans', sans-serif;*/
  /*font-feature-settings : "palt";*/
  /*font-family: 'Open Sans', sans-serif;*/
}
a{
  text-decoration: none;
}
html{
  width: 100%;
}
body{
  width: 100%;
  /*font-size: .9em;*/
  background:/* linear-gradient(
    to bottom,
    transparent,
    #fff
  ),*/
  /*linear-gradient(
    90deg,
    #fff,
    transparent 50%,
    #fff
  ),
  repeating-linear-gradient(
    transparent,
    transparent .1em,
    #eee .1em,
    #eee .5em
  ),
  repeating-linear-gradient(
    90deg,
    transparent,
    transparent .1em,
    #eee .1em,
    #eee .5em
  ),*/
  #eee;
  /*#fff;*/
}


nav#nav_main{
  width: 100%;
}
nav#nav_main>div{
  width: 100%;
  /*background: rgba(255,255,255,.5);*/
  /*padding: 4em 0;*/
  /*padding: 2em 0;*/

  display: -webkit-flex;
  display: flex;

  -webkit-flex-flow: row nowrap;
  flex-flow: row nowrap;

  -webkit-justify-content: center;
  justify-content: center;

  -webkit-align-items: flex-start;
  align-items: flex-start;
}
#news{
  width: 18rem;
  height: 320px;
  margin: 0 1rem;
  /*box-shadow: 0 0 4px #000;*/
}
nav#nav_main>div>ul{
  /*width: 38em;/*58em;*/
  width: 56rem;
  /*min-width: 56em;*/
  /*max-width: 64em;*/
  /*margin: 0 1em;*/
  margin: 0 auto;

  display: -webkit-flex;
  display: flex;

  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;

  -webkit-justify-content: space-between;
  justify-content: space-between;

  -webkit-align-items: center;
  align-items: center;
}
nav#nav_main li{
  width: 18rem;
  margin: 0.5rem 0 1.5rem;
  padding-left: .5em;
  position: relative;
  z-index: 0;
  list-style: none;
}
@media screen and (max-width: 1279px){
  nav#nav_main li.empty{
    display: none;
  }
}
nav#nav_main li>a{
  font-family: 'Open Sans', sans-serif;
  position: relative;
  z-index: auto;
  width: 15rem;
  height: 5rem;
  padding-left: 1.5rem;/*2em;*/
  text-decoration: none;
  color: #666;
  border-radius: .5rem;

  display: -webkit-flex;
  display: flex;

  -webkit-flex-flow: column;
  flex-flow: column;

  -webkit-justify-content: center;
  justify-content: center;

  -webkit-align-items: flex-start;
  align-items: flex-start;
}
nav#nav_main li:not(.empty)>a{
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    #ccc 2px
  ),
  linear-gradient(
    to bottom,
    #fff,
    #999
  );
  transition: all 0.1s ease-out;
}
nav#nav_main li.empty>a{
  pointer-events: none;
}
nav#nav_main li>a>span.title{font-size: 1.5rem;}
nav#nav_main li>a>span.detail{font-size: .75rem;}

/*=========================================*/

nav#nav_main li>a::before{
  display: block;
  content: "";
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 17rem;
  height: 5rem;
  border-radius: .5rem;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 8px,
    #399 12px/*#936 12px*/
  ),
  linear-gradient(
    to bottom,
    #6cc,/*#c69,*/
    #399/*#936*/
  );
  box-shadow: inset 0 0 .5rem 0 rgba(0,0,0,.5);
}
nav#nav_main li:not(.empty)>a::before{
  transition: all 0.1s ease-out;
}
/*nav li>a.disable::before{
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 8px,
    #666 12px
  ),
  linear-gradient(
    to bottom,
    #999,
    #666
  );
}*/

/*=========================================*/

nav#nav_main li>a::after{
  display: block;
  content: "";
  z-index: -2;
  position: absolute;
  top: -.5rem;
  left: -.5rem;
  width: 18rem;
  height: 6rem;
  border-radius: 1rem;/*2.5em;*/
  background: linear-gradient(
    to bottom,
    #ccc,
    #666
  );
}
nav#nav_main li:not(.empty)>a::after{
  transition: all 0.1s ease-out;
}

/*=========================================*/

@media screen and (max-width: 1279px){
  nav#nav_main li{
    width: 16rem;
    margin: 0.5rem 0 1rem;
  }
  nav#nav_main li>a{
    width: 13rem;
    height: 4rem;
  }
  nav#nav_main li>a::before{
    top: 0;
    left: 0;
    width: 15rem;
    height: 4rem;
  }
  nav#nav_main li>a::after{
    top: -.5rem;
    left: -.5rem;
    width: 16rem;
    height: 5rem;
  }
  nav#nav_main li>a>span.title{font-size: 1rem;}
  nav#nav_main li>a>span.detail{font-size: .5rem;}
}

/*=========================================*/

nav#nav_main li:not(.empty)>a:hover{
  margin-left: 2rem;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    #666 2px
  ),
  linear-gradient(
    to bottom,
    #999,
    #333
  );
  color: #ff9;
  box-shadow: inset 0 0 .5rem 0 rgba(255,255,153,.5);
}
nav#nav_main li:not(.empty)>a:hover::before{
  left: -2em;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 6px,
    #fc6 12px
  ),
  linear-gradient(
    to bottom,
    #ffc,
    #fc6
  );
  box-shadow: inset 0 0 .5rem 0 rgba(0,0,0,.5), 0 0 .5rem 0 rgba(255,255,153,.5);
}
nav#nav_main li:not(.empty)>a:hover::after{
  left: -2.5em;
}
nav#nav_main li:not(.empty)>a:active{
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    #666 2px
  ),
  linear-gradient(
    to bottom,
    #333,
    #999
  );
}
header{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 2rem;
  background: #fc3;
}
#title{
  width: 100%;
  /*width: 56%;*/
}
#title>img{
  width: 100%;
  height: 480px;
}
#about{
  margin-top: 2rem;
  display: -webkit-flex;
  display: flex;

  -webkit-box-sizing: border-box;
  box-sizing: border-box;

  -webkit-flex-flow: row nowrap;
  flex-flow: row nowrap;

  -webkit-justify-content: center;
  justify-content: center;

  -webkit-align-items: center;
  align-items: center;

  /*padding: 4em 0;*/
  padding: 2rem 0;
  line-height: 1.5rem;
  font-size: 1.25rem;
  color: #333;
}
#about a{
  color: #000;
}
#about a:hover{
  color: #999;
}
#about>*:first-child{
  margin-right: 128px;
}
#about li{
  position: relative;
  list-style: none;
}
#about li::before{
  display: block;
  content: '';
  position: absolute;
  top: .5rem;
  left: -1.5rem;
  width: .75rem;
  height: .25rem;
  border-left: .1rem solid #3498db;
  border-bottom: .1rem solid #3498db;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#wrapper{
  margin: 2em auto 0;
  width: 80%;
  height: 100%;
  max-width: 1600px;
  font-weight: 300;

  display: -webkit-flex;
  display: flex;

  -webkit-flex-flow: row nowrap;
  flex-flow: row nowrap;

  -webkit-justify-content: center;
  justify-content: center;

  /*-webkit-align-items: flex-start;
  align-items: flex-start;*/
  line-height: 1.5rem
}
#wrapper ul{
  margin-left: 1.5rem;
}
#address{
  width: 100%;
  background: rgba(204,204,204,.5);
  padding: 2rem;
  color:#666;

  display: -webkit-flex;
  display: flex;

  -webkit-flex-flow: row nowrap;
  flex-flow: row nowrap;

  -webkit-justify-content: center;
  justify-content: center;
}
footer{
  /*position: fixed;
  left: 0;
  bottom: 0;*/
  width: 100%;
  height: 4rem;/*64px;*/
  background: #636;
  color: #ff9;
  text-align: center;
  line-height: 2rem;

  display: -webkit-flex;
  display: flex;

  -webkit-flex-flow: row nowrap;
  flex-flow: row nowrap;

  -webkit-justify-content: center;
  justify-content: center;

  -webkit-align-items: center;
  align-items: center;
}

@media screen and (max-width: 1279px){
  #title{
    width: 100%;
  }
  #wrapper{
    width: 100%;
    -webkit-flex-flow: column nowrap;
    flex-flow: column nowrap;

    -webkit-align-items: center;
    align-items: center;
  }
  nav#nav_main>div{
    -webkit-flex-flow: column nowrap;
    flex-flow: column nowrap;
  
    -webkit-justify-content: center;
    justify-content: center;
  
    -webkit-align-items: center;
    align-items: center;
  }
  #news{
    margin-bottom: 2rem;
  }
  nav#nav_main>div>ul{
    width: 100%;
    margin: 0;
    -webkit-flex-direction: column;
    flex-flow: column;
  }
  #about{
    -webkit-flex-direction: column;
    flex-direction: column;
  }
  #about>*:first-child{
    /*margin: 0 0 64px;*/
    margin: 0 0 1rem;
  }
  #about li{
    margin-left: 2rem;
  }
}

#main{
  width: 60%;
  padding: 0 1rem;
  /*background: rgba(255,255,255,.5);*/
}
#main>h1{
  /*font-size: 1.5em;*/
}
#main a{
  color: #f90;
}
#main a:hover{
  color: #09f;
}
#sidebar{
  -webkit-order: -1;
  order: -1;
}
#sidebar, #sidebar2{
  width: 20%;
  padding: 1rem;
  background: rgba(204,204,204,.25);
  font-size: .9rem;
  line-height: 1.25rem;
  /*color: #ccc;*/
}
#sidebar a, #sidebar2 a{
  color: #099;
}
#sidebar a:hover, #sidebar2 a:hover{
  color: #f90;
}
article{
  padding: 2rem 4rem;
  background: rgba(255,255,255,.5);
  line-height: 1.5rem;
  font-size: .9rem
}
article:not(:first-child){
  margin-top: 1rem;
}
article p{
  margin: 2rem 0;
}
.article_header{
  margin-bottom: 1rem;
  border-left: solid 1rem #333;
  padding: 0 1rem;
}
.article_header>ul{
  margin-left: 0 !important;
}
.article_header>ul>li{
  list-style: none;
  display: inline-block;
}
.pagination{
  margin: 2rem 0;
}
.pagination ul{
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
}
.pagination li{
  display: inline;
  list-style: none;
}

#comments{
  margin: 2rem 0;
}
.commentlist{
  font-size: .8rem;
}
.commentlist li{
  list-style: none;
  margin: 2rem 0;
}
.commentlist li p{
  margin: 0 0 0 1rem;
}
.commentlist .children{
  margin-left: 2rem;
}


.widget{
  width: 100%;
  padding: 1rem;
  background: rgba(255,255,255,.5);
}
.widget:not(:first-child){
  margin-top: 1rem;
}
#wp-calendar{
  width: 100%;
}
#wp-calendar td{
  text-align: center;
}
@media screen and (max-width: 1279px){
  #main, #sidebar, #sidebar2{
    width: 100%;
  }
  #main{
    padding: 0;
  }
  article{
    padding: 2rem;
  }
  #sidebar{
    -webkit-order: 0;
    order: 0;
  }
  #sidebar, #sidebar2{
    margin-top: 2rem;
  }
}
@font-face {
  font-family: 'Noto Sans';
  /*font-style: normal;*/
  /*font-weight: 400;*/
  src: url('./fonts/NotoSans-Regular.woff') format('woff');
}
@font-face {
  font-family: 'Noto Sans Bold';
  /*font-style: normal;*/
  /*font-weight: 400;*/
  /*src: url('../../../fonts/NotoSansJP.woff2') format('woff2'),*/
  src: url('./fonts/NotoSans-Bold.woff') format('woff');
}
@font-face {
  font-family: 'Noto Serif';
  /*font-style: normal;*/
  /*font-weight: 400;*/
  /*src: url('../../../fonts/NotoSansJPBold.woff2') format('woff2'),*/
  src: url('./fonts/NotoSerif-Regular.woff') format('woff');
}
@font-face {
  font-family: 'Noto Serif Bold';
  /*font-style: normal;*/
  /*font-weight: 400;*/
  /*src: url('../../../fonts/NotoSerifJPBold.woff2') format('woff2'),*/
  src: url('./fonts/NotoSerif-Bold.woff') format('woff');
}
