@charset "UTF-8";

@font-face{
font-family:SourceHanSans-Regular;
src:url('https://www.mithril.info/css/SourceHanSans-Regular.woff')format('woff');

}
h1{
font-family:SourceHanSans-Regular;
}
hr{
    color:red;
}
html{
    height: 100%;
}
body{
    margin: 0;
    padding: 0;
    min-height: 100%;
    height: 100%;
}

a:hover{
    color:red;
    background-color:#B7B7B7;
}
a:active{color:black;}
a:link { color: #d3b572; }

a:visited{color:white;}
.container{
    min-height: 100vh;
    height: 100%; /* for IE11 */
    display: flex;
    background: #b7b7b7;
    flex-direction: column;
}


.left{
    background-color: #b7b7b7;
    width:30%;
}
.center{
    background-color: #d3b572;
    flex:1;
}

.wrapper{
    flex: 1;
    display: flex;
    background-color: #d3b572
}

.header{
    height: 5rem; /* 高さ */
    width: 100%; /* 長さ */
    
    position: fixed; /* ヘッダーを固定(これが重要) */
    top: 0; /* 固定する位置 */
    left: 0; /* 固定する位置 */
    right: 0;  /* 固定する位置 */
    color: #d3b572;
    font-size:100%;
   
    boder-bottom-color:red;
    boder-bottom-width:10px;
 background: linear-gradient(270deg, #d3b572, #b7b7b7, #000000);
background-size: 600% 600%;

-webkit-animation: AnimationName 10s ease infinite;
-moz-animation: AnimationName 10s ease infinite;
-o-animation: AnimationName 10s ease infinite;
animation: AnimationName 10s ease infinite;

@-webkit-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-o-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
}
.footer{
    height: 100px; /* 高さ */
    width: 100%; /* 長さ */
    background-color: black;
    position: fixed; /* ヘッダーを固定(これが重要) */
    bottom: 0; /* 固定する位置 */
    left: 0; /* 固定する位置 */
    right: 0;  /* 固定する位置 */
    boder:11px;
    boder-top-color:red;
    boder-top-width:11px;
    color: #d3b572;
    text-align:right;

}
.contents {
  overflow: hidden;
  width: 750px;
  height: 300px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  display: flex;
}
.nav {
  width: 150px;
  margin: 0;
  padding: 0;
}
.nav li {
  position: relative;
  width: 150px;
  height: 40px;
}
.nav > li {
  border-bottom: none;
}
.nav li:last-child {
  border-bottom: none;
}
.nav li:hover > ul > li {
  border-bottom: none;
}
.nav li > ul > li:last-child {
  border-bottom: none;
}
.nav li a {
  display: block;
  width: 150px;
  height: 40px;
  color: white;
  font-size: 100%;
  line-height: 2.8;
  padding: 0 5px;
  background: black;
  border-bottom: 1px solid red;
  box-sizing: border-box;
  text-decoration: none;
  transition: 0.5s;
}
.nav > li:hover > a {/*layer-1*/
  color: black;
  background: #d3b572;
  transition: 0.5s;
}
.nav > li li:hover > a {/*layer-2*/
  color: black;
  background: #d3b572;
}
.nav li:hover > ul > li {
  overflow: visible;
  top: -40px;
  left: 110px;
  height: 40px;
}
.nav li ul li {
  overflow: hidden;
  height: 0;
  left: 110px;
  list-style: none;
  transition: 0.2s;
}
.nav li ul li a {
  background: black;
  transition: 0.5s;
}
.nav li ul:before {
  position: absolute;
  content: "";
  top: 14px;
  left: 140px;
  border: 5px solid transparent;
  border-left: 5px solid white;
}
.nav li:hover ul li ul li:hover > a {/*layer-3*/
  color: pink;
  background: #afc6e2;
}
.content {
  width: 600px;
  height: 250px;
  background: #eee;
  margin: 0;
  padding: 10px;
  text-align: left;
  box-sizing: border-box;
}