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

/*=============================================
 * Font Don't Edit
 *=============================================*/
/*=============================================
 * Fonts
 *=============================================*/
.fnt-zen-kaku {
  font-family: "Zen Kaku Gothic New", sans-serif;
}

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

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

.fnt-zen-old {
  font-family: "Zen Old 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;
  width: 150px;
  filter: drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.5));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#header .logo img {
  width: 100%;
}

/*============================================= * #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;
  color: #fff;
  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: 100px;
  }

  #navbar .nav-list>li {
    border-bottom: 1px solid #fff;
  }

  #navbar .nav-list>li>a,
  #navbar .nav-list>li>span {
    display: block;
    position: relative;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 20px;
  }

  #navbar .nav-list>li>a:hover,
  #navbar .nav-list>li>span:hover {
    opacity: 0.5;
  }

  #navbar .nav-list li.parent {
    padding-bottom: 15px;
  }

  #navbar .nav-list li.parent .sub-menu {
    position: relative;
  }

  #navbar .nav-list li.parent .sub-menu::before {
    content: '';
    position: absolute;
    background: #fff;
    width: 1px;
    top: -11px;
    left: 40px;
    bottom: 14px;
  }

  #navbar .nav-list li.parent .sub-menu ul li a {
    position: relative;
    display: block;
    color: #fff;
    padding-left: 25px;
    margin-left: 40px;
    font-size: 15px;
    font-weight: bold;
    line-height: 30px;
  }

  #navbar .nav-list li.parent .sub-menu ul li a::before {
    content: '';
    position: absolute;
    background: #fff;
    height: 1px;
    width: 13px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  #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 .nav-list {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
  }

  #navbar .nav-list>li {
    position: relative;
    padding: 0 15px;
  }

  #navbar .nav-list>li>a,
  #navbar .nav-list>li>span {
    position: relative;
    z-index: 1;
    display: block;
    color: #fff;
    padding: 30px 0;
    font-size: 19px;
    font-weight: bold;
    line-height: 28px;
    letter-spacing: 0.03em;
  }

  #navbar .nav-list>li>a::before,
  #navbar .nav-list>li>span::before {
    content: "";
    position: absolute;
    background: #ebdcc1;
    width: 2px;
    height: 23px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
  }

  #navbar .nav-list>li>a:hover,
  #navbar .nav-list>li>span:hover {
    color: #ebdcc1;
  }

  #navbar .nav-list>li>a:hover::before,
  #navbar .nav-list>li>span:hover::before {
    opacity: 1;
  }

  #navbar .nav-list .parent .sub-menu {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
    width: 134px;
    padding-top: 80px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  #navbar .nav-list .parent:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  #navbar .nav-list .parent .sub-menu ul {
    background: url("../img/bg1.jpg") repeat center;
    padding: 15px 0 22px;
  }

  #navbar .nav-list .parent .sub-menu ul li a {
    position: relative;
    display: block;
    color: #fff;
    padding-left: 27px;
    font-size: 17px;
    font-weight: bold;
    line-height: 36px;
  }

  #navbar .nav-list .parent .sub-menu ul li a::before {
    content: "";
    position: absolute;
    background: #fff;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 2px;
    width: 16px;
    opacity: 0;
  }

  #navbar .nav-list .parent .sub-menu ul li a:hover::before {
    opacity: 1;
  }

  @media screen and (min-width: 768px) and (max-width: 930px) {
    #navbar .nav-list>li {
      padding: 0 10px;
    }

    #navbar .nav-list>li>a,
    #navbar .nav-list>li>span {
      font-size: 17px;
    }
  }
}