﻿/*============================================= * body *=============================================*/
body {
  font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  background: url('../img/shared/bg_bd.jpg') repeat center top;
  color: #000;
  font-weight: normal;
  font-size: 14px;
  line-height: 28px;
  letter-spacing: 0.1em;
  text-align: justify;
  min-width: inherit;
  min-height: inherit;
  max-height: 100%;
}

.fnt-gothic {
  font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-weight: bold;
}

.fnt-noto {
  font-family: 'Noto Serif JP', serif;
}

/*============================================= * #header *=============================================*/
#header {
  background: url("../img/key.jpg") no-repeat center top;
  -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: #fff;
  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 {
  width: 200px;
  padding: 20px;
  position: absolute;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

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

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

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

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: #000;
  font-size: 12px;
  line-height: 58px;
  letter-spacing: 0.4em;
  color: #fff;
}

/*============================================= * #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: 120px;
    padding: 10px;
  }

  #header .logo img {
    height: auto;
  }

  #navbar li {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 10px 0;
  }

  #navbar li:nth-child(1) {
    border-top: none;
  }

  #navbar a {
    display: inline-block;
    font-weight: bold;
    border-bottom: 3px solid transparent;
    padding: 5px;
    margin-left: 20px;
    color: #fff;
    font-size: 14px;
    line-height: 21px;
  }

  #navbar a span {
    display: block;
  }

  #navbar a:hover {
    color: #efd712;
    border-color: #efd712;
  }

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

@media screen and (min-width:768px) {
  #navbar {
    background: #000;
    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;
    flex-wrap: wrap;
  }

  #navbar ul li {
    padding: 20px 25px;
  }

  #navbar nav a {
    position: relative;
    display: block;
    box-sizing: border-box;
    text-align: center;
    padding: 4px 0 4px 4px;
    font-weight: bold;
    color: #fff;
    border-bottom: 3px solid transparent;
    font-size: 19px;
    line-height: 21px;
    letter-spacing: 0.1em;
  }

  #navbar nav a span:nth-child(1) {
    letter-spacing: 0.04em;
  }

  #navbar nav a span:nth-child(2) {
    display: block;
    font-size: 13px;
    letter-spacing: 0.16em;
  }

  #navbar nav a:hover {
    text-decoration: none;
    color: #efd712;
    border-color: #efd712;
  }

  #navbar nav a:hover::before {
    opacity: 1;
  }
}

@media screen and (min-width:768px) and (max-width: 1050px) {
  #navbar ul li {
    padding-left: 12px;
    padding-right: 12px;
  }

  #navbar nav a {
    font-size: 15px;
  }
}