﻿/*============================================= * body *=============================================*/
body {
  font-family: "Zen Kaku Gothic New", serif;
  background: url('../img/bg_bd.jpg') repeat center;
  color: #000;
  font-weight: 500;
  font-size: 14px;
  line-height: 28px;
  letter-spacing: 0;
  text-align: justify;
  min-width: inherit;
  min-height: inherit;
  max-height: 100%;
}

/*============================================= * #Font *=============================================*/
.fnt-shippori-antique-b1 {
  font-family: "Shippori Antique B1", serif;
}

.fnt-shippori-mincho-b1 {
  font-family: "Shippori Mincho B1", serif;
}

.fnt-zen-kaku-gothic {
  font-family: "Zen Kaku Gothic New", serif;
}

.fnt-noto-sans {
  font-family: "Noto Sans JP", serif;
}

.fnt-shippori-mincho {
  font-family: "Shippori Mincho", serif;
}



/*============================================= * #header *=============================================*/
#header {
  background: url("../img/key.jpg") no-repeat center #000;
  -webkit-background-size: cover;
  background-size: cover;
  height: 550px;
  max-height: inherit;
  min-height: auto;
}

#header h1 {
  padding: 1em;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  font-size: .85em;
  line-height: 1.6em;
  letter-spacing: .1em;
  text-align: center;
  color: #fffef9;
  text-shadow: 1px 1px 1px #010101;
}

body.col-x2 #header .col1 {
  background-color: rgba(0, 0, 0, .25);
}

body.col-x2 #header .col2 {
  background-color: rgba(0, 0, 0, .3);
}

#header .logo {
  text-align: center;
  position: absolute;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: #fff;
  padding: 10px;
  width: 150px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#header .logo img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/*============================================= * #navbar *=============================================*/
body.col-x2 #navbar menu:before {
  background: #27170C;
}

body.col-x2 #navbar menuitem {
  color: #fffef9;
}

body.col-x2 #navbar ul {
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

/*============================================= * #sidebar *=============================================*/
#sidebar .calendar th {
  color: #A77834;
}

#sidebar .calendar td {
  background: #FEFEFE;
  border-color: #AFAFAF;
}

#sidebar .calendar tr:nth-of-type(odd) td {
  background: #EFEFEF;
}

#sidebar .calendar .header {
  color: #92580D;
  background: #F2EBE3;
  border-color: #AFAFAF;
}

#sidebar .calendar a {
  color: #402615;
}

#sidebar .calendar .having_posts {
  color: #A63435;
  background: #F6E1E1 !important;
}

/*============================================= * #main *=============================================*/
#container.tpl-post #main figcaption {
  display: none;
}

/*============================================= * #footer *=============================================*/
/*============================================= * copyright *=============================================*/
address {
  background: url('../img/bg1.jpg') repeat center;
  font-size: 12px;
  line-height: 58px;
  letter-spacing: 0.4em;
}

/*============================================= * #calendar *=============================================*/
#calendar {
  display: none;
}

/*============================================= * RESPONSIVE *=============================================*/
@media screen and (max-width: 767px) {
  body.col-x2 #header section {
    min-height: 150px;
  }

  body.col-x2 #navbar menuitem {
    background: #757575;
  }

  body.col-x2 #navbar nav {
    width: 230px;
  }

  #header {
    width: 100%;
    height: 70vw;
  }

  #header .logo {
    width: 90px;
  }

  #header .logo img {
    height: auto;
  }

  #navbar li {
    border-bottom: 1px solid #fff;
  }

  #navbar ul li a, #navbar ul li span {
    position: relative;
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 10px 0 10px 30px;
  }

  #navbar li.parent {
    padding-bottom: 10px;
  }

  #navbar .sub-menu li {
    border-bottom: none;
  }

  #navbar .sub-menu li a {
    padding: 5px 0 5px 60px;
  }

  #container {
    margin-top: 2em;
  }
}

@media screen and (min-width:768px) {
  #navbar {
    background: url('../img/bg1.jpg') repeat center;
    position: absolute;
    left: 0;
    right: 0;
  }

  #navbar ul {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
  }

  #navbar ul>li {
    position: relative;
    padding: 30px 15px;
    height: 100%;
  }

  #navbar ul>li>a,  #navbar ul>li>span {
    display: block;
    position: relative;
    z-index: 2;
    text-decoration: none;
    text-align: center;
    color: inherit;
    color: #fff;
    font-size: 16px;
    line-height: 27px;
    letter-spacing: 0.2em;
  }

  #navbar .sub-menu {
    position: absolute;
    top: 86px;
    display: none;
    z-index: 1;
    width: 250px;
    left: 50%;
    transform: translateX(-50%);
    background: url('../img/bg1.jpg') repeat center;
  }

  #navbar .sub-menu li {
    padding: 0;
  }

  #navbar .sub-menu li a {
    padding: 15px 0;
    border-bottom: 1px solid #fff;
  }

  #navbar ul li a:hover, #navbar ul li span:hover {
    color: #000;
  }

  #navbar .parent:hover .sub-menu {
     display: block;
  }

  @media screen and (min-width:768px) and (max-width: 900px) {
    #navbar ul>li>a, #navbar ul>li>span {
      font-size: 14px;
    }
    #navbar ul>li {
      padding: 30px 10px;
    }
  }
}