﻿
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500&family=Zen+Old+Mincho&display=swap');

/*============================================= * body *=============================================*/
body {
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "メイリオ", Meiryo, "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  background: url('../img/bg_bd.jpg') repeat center;
  color: #000;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  letter-spacing: 0.15em;
  text-align: justify;
  min-width: inherit;
  min-height: inherit;
  max-height: 100%;
}


/*============================================= * #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;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(3px 3px 10px #000);

}

#header .logo img {
  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/bg01.png') repeat center top #191002;
  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: 180px;
  }

  #header .logo img {
    height: auto;
  }

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

  #navbar a {
    display: inline-block;
    position: relative;
    padding-left: 15px;
    color: #c6bbab;
    font-size: 18px;
    line-height: 1.5;
  }

  #navbar a::before {
    content: "";
    position: absolute;
    background: #fff;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
    width: 6px;
    height: 12px;
    left: 0;
    top: 50%;
    transform: translatey(-50%);
    opacity: 0;
  }

  #navbar a:hover {
    color: #fff;
  }

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

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

@media screen and (min-width:768px) {
  #navbar {
    background: url('../img/bg01.png') repeat center top #191002;
    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;
    padding: 30px 0;
  }

  #navbar ul li {
    position: relative;
    margin: 0 18px 0;
  }


  #navbar nav a {
    position: relative;
    display: block;
    box-sizing: border-box;
    text-align: center;
    color: #c6bbab;
    font-size: 17px;
    line-height: 1.5;
  }

  #navbar nav a::before {
    content: "";
    position: absolute;
    background: #fff;
    -webkit-clip-path: polygon(50% 0%, 0 100%, 100% 100%);
    clip-path: polygon(50% 0%, 0 100%, 100% 100%);
    width: 12px;
    height: 6px;
    bottom: -12px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0;
  }


  #navbar nav a:hover {
    color: #fff;
  }

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