@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
}
body {
  color: #333; /* RGB */
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 500;
  font-size: 1.6em;
  line-height: 2.4rem;
  text-align: center;
}
section h2 {
  font-size: 2.4rem;
}
a:hover {
  opacity: 0.8;
}
*, *:before, *:after {
  box-sizing: border-box;
}
/*header*/
.main {
  height: 100vh;
}
.header {
  height: 80px;
  width: 100%;
  background-color: #f6f3ec;
  opacity: 0.8;
}
#a {
  margin: 10px 0 10px 40px;
  float: left;
}
.header a {
  color: #000;
  text-decoration: none;
  font-size: 3.0rem;
  font-weight: 600;
  padding: 25px 20px;
  font-family: cooper-black-std, serif;
}
.header ul {
  margin-right: 40px;
  height: 80px;
  text-align: right;
}
.header ul li {
  margin-top: 28px;
  display: inline-block;
}
/* navigation */
@media (max-width: 980px) {
/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn8{
  position: relative;/*ボタン内側の基点となるためrelativeを指定*/
  margin: 0 0 0 auto;
  background-color: rgba(0, 0, 0, 0.20);
  cursor: pointer;
    width: 50px;
    height:50px;
  border-radius: 0px;
  z-index: 10000;
}

/*ボタン内側*/
.openbtn8 .openbtn-area{
    transition: all 1.0s;/*アニメーションの設定*/
  width:50px;
  height:50px;
}

.openbtn8 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
  background: #fff;
    width: 45%;
  }

.openbtn8 span:nth-of-type(1) {
  top:15px; 
}

.openbtn8 span:nth-of-type(2) {
  top:23px;
}

.openbtn8 span:nth-of-type(3) {
  top:31px;
}

/*activeクラスが付与されると .openbtn-areaが360度回転し、その中の線が回転して×に*/
.openbtn8.active .openbtn-area{
  transform: rotate(360deg);
}

.openbtn8.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn8.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn8.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
  .header {
    height: 60px;
    opacity: 0.92;
    z-index: 1000;
    padding: 10px 10px; /* ヘッダーに上下左右それぞれ余白を指定 */
    box-sizing: border-box; /* padding分を含んで幅を100%にするため */
    position: fixed; /* ウィンドウを基準に画面に固定 */
    top: 0; /* 上下の固定位置を上から0pxにする */
    left: 0; /* 左右の固定位置を左から0pxにする */
    display: flex; /* 中の要素を横並びにする */
    align-items: center; /* 中の要素を上下中央に並べる */
  }
  #a {
    padding: 10px 12px;
    margin: 0;
  }
  .header nav {
    z-index: 1000;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #f6f3ec;
    width: 86%;
    height: 100%;
    padding-top: 67px;
    box-shadow: 10px 10px 25px rgba(250, 250, 250, 1.0);
  }
  .header nav ul li {
    border-bottom: solid 1px rgba(0, 0, 0, 0.5);
    display: block;
    text-align: center;
  }
  .header nav ul li a {
    font-weight: 600;
    line-height: 40px;
    vertical-align: middle;
    text-decoration: none;
    color: #a29369;
    padding: 0;
  }
}
/*footer*/
.footer {
  height: 240px;
  width: 100%;
  background-color: #2F2F2F;
}
.footer-image {
  text-align: left;
  margin-left: 100px;
  margin-top: 60px;
  float: left;
}
.footer a {
  color: #fff;
  text-decoration: none;
  font-size: 3.0rem;
  font-weight: 600;
  padding: 25px 20px;
  font-family: cooper-black-std, serif;
}
.footer ul {
  margin-right: 40px;
  text-align: right;
}
.footer ul li {
  margin-top: 80px;
  display: inline-block;
}
.footer small {
  clear: both;
  display: block;
  margin-top: 86px;
  text-align: center;
  color: #FFF;
}
@media (max-width: 1200px) {
  .footer {
    height: 340px;
  }
}
@media (max-width: 960px) {
  .footer {
    height: 260px;
  }
  .footer-image {
    margin: 60px auto;
    max-width: 100%;
    float: none;
    text-align: center;
  }
  .footer ul {
    display: none;
  }
  .footer small {
    position: absolute;
    width: 100%;
    margin-top: 0;
  }
}

/* 通常時はホバー時の文字を非表示にする */
a .hover{
display: none;
}

/* ホバー時は通常時の文字を非表示にする */
a:hover .normal{
display: none;
}
/* ホバー時に、ホバー時の文字を表示する */
a:hover .hover{
display: inline-block;
}