@charset "utf-8";
/* CSS Document */
html {
  overflow-y: scroll;
}
body {
  width: 100%;
  height: 100%;
  color: #6A5D33;
  font: 16px/0 YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
}
*, *:before, *:after {
  padding: 0px;
  margin: 0px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
a img {
  border: none;
  outline: none;
}
ul li {
  list-style: none;
}
/*
---------------------------------------------------ヘッダー
*/
header {
  display: block;
  position: relative;
  line-height: 1em;
}
header .logo {
  width: 80%;
  margin: 0 auto;
}
header h1 {
  display: block;
  position: relative;
  float: left;
  z-index: 999;
  margin: auto;
}
#bar {
  width: 100%;
  height: 54px;
  position: relative;
  z-index: 99;
  background: url("../images/header_bar.png") repeat-x left top;
}
#bar p {
  display: block;
  position: relative;
  width: 80%;
  font-size: 0.8em;
  margin: 0 auto;
  text-align: right;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.25em;
  top: 16px;
}
/*
---------------------------------------------------ナビ
*/
nav {
  display: block;
  width: 100%;
  height: 60px;
  position: relative;
  background: #F2EEE4 url("../images/pattern.png") repeat left top;
  z-index: 998;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  width: 80%;
  position: absolute;
  margin: 1em 0 1em 10%;
}
nav ul li {}
nav ul li a {
  display: block;
  color: #6A5D33;
  text-decoration: none;
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  padding: 0.25em 0.5em;
  font-size: 0.9em;
  font-weight: bold;
}
nav ul li a:hover {
  color: #DB1D53;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
nav ul li a.toTemp {
  border: 1px solid #DB1D53;
  border-radius: 0.25em;
  color: #DB1D53;
  font-weight: normal;
  margin-right: 0.5em;
}
nav ul li a.toTemp:hover {
  background: #DB1D53;
  color: rgba(255, 255, 255, 0.8);
}
nav ul li a.toZenrin {
  border: 1px solid #00A277;
  border-radius: 0.25em;
  color: #00A277;
  font-weight: normal;
}
nav ul li a.toZenrin:hover {
  background: #00A277;
  color: rgba(255, 255, 255, 0.8);
}
nav .naviBtn {
  display: none;
}
/*
---------------------------------------------------メインカラム
*/
main {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  line-height: 1.8em;
  clear: both;
  padding-top: 30px;
}
main a {
  text-decoration: none;
}
main a:hover {}
/*
---------------------------------------------------フッター
*/
footer {
  display: block;
  position: relative;
  margin-top: 2em;
  line-height: 1em;
  width: 100%;
  height: 96px;
  background: #fff url("../images/footer_bg.png") repeat-x left bottom;
}
.pagetop {
  display: inline-block;
  position: relative;
  width: auto;
  height: 80px;
  left: 80%;
  bottom: -1.2em;
  z-index: 100;
}
.copyright {
  display: block;
  height: 1.5em;
  font-size: 0.7em;
  background-color: #db1d53;
  text-align: center;
  color: #fff;
}
/*
---------------------------------------------------レスポンシブ1024
*/
@media screen and (max-width:1024px) {
  header .logo {
    width: 40%;
    margin: 0;
  }
  header .logo img {
    width: 100%;
    height: auto;
  }
  nav .naviBtn {
    display: block;
    float: right;
    z-index: 100;
  }
  nav .naviBtn i {
    font-size: 3em;
  }
  nav ul {
    display: none;
  }
  .pagetop {
    display: block;
    position: relative;
    text-align: center;
    height: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 100;
  }
  nav ul {
    display: block;
    width: 50%;
    position: absolute;
    right: 5%;
    top: 60px;
    margin: 0 auto;
    padding: 2em;
    border-radius: 0 0 1em 1em;
    z-index: 1000;
    background: rgba(242, 238, 228, 0.9);
  }
  nav ul li {
    border-top: 1px dashed #D4B965;
    padding: 0.25em 0;
  }
  nav ul li:last-child {
    border: none;
  }
  /*
---------------------------------------------------1024ここまで
*/
}
/*
---------------------------------------------------レスポンシブ480
*/
@media screen and (max-width:480px) {
  header .logo {
    width: 50%;
    margin: 0;
  }
  header .logo img {
    width: 100%;
    height: auto;
  }
  #bar p {
    display: none;
  }
  /*
---------------------------------------------------480ここまで
*/
}