*{
  margin:0;
  padding:0;
  text-decoration: none;
  list-style: none;
}
body{
  background:rgb(222, 222, 222);
}


header{
  background: linear-gradient(70deg, rgb(194, 194, 255), rgb(255, 200, 209));
  text-align: center;
}
#header-title a{
  color:black;
}
#header-title{
  transition:0.4s;
}
#header-title:hover{
  background: linear-gradient(70deg, rgb(255,200,209), rgb(194,194,255));
}

#header-list ul{
  display:flex;
  justify-content: center;
}
#header-list li::before{
  content:"";
  z-index: 1;
  background:rgba(255, 255, 255, 0.311);
  position: absolute;
  top: 50%;
left: 50%;
/* right: 0;
bottom: 0; */
width: 100px;
height: 100px;
  border-radius: 50%;
  transform:scale(0);
  transition:0.3s;
  margin: -50px 0 0 -50px;
  transition-timing-function: ease-out;
}
#header-list li{

  padding:10px 20px;
  position: relative;
  overflow: hidden;

}
#header-list li:hover:before{
  transform:scale(2);
  width: 100px;
height: 100px;
margin: -50px 0 0 -50px;
}



main{
  max-width: 1170px;
  display: flex;
  justify-content: center;
  margin:0 auto;
}

/* 記事の部分 */
article{
  background:white;
  margin:10px;
  padding:10px;
}
#article-title{
  text-align: center;
}



/* 単語一つ一つのやつ */
.english-word{
  border:1px solid blue;
  display: flex;
  margin:3px 0;
}
.english-word-level{
  background:yellow;
}
.english-word-level-custom{
  display: flex;
  flex-flow: column;
}
.english-word-word{
  display:flex;
}

.border{
  color:gray;
  font-size: 14px;
  border:1px solid gray;
}



#latest-wrap{
  background:white;
  margin:10px;
  text-align:center;
  padding:10px;
}
#latest-title{
  color:black;
}
#latest-title p{
  color:gray;
  font-size: 14px;
}
/* #latest-container{

} */

.latest-contents{
  border:1px solid black;
  margin:10px;
}
.latest-contents p{
  color:black;
}
.latest-contents small{
  color:gray;
  font-size:10px;
}
.latest-contents:hover{
  background:rgba(100, 100, 100, 0.2);
}




/* サイド */
aside{
  width:300px;
  margin:0 3px;
  background:gray;
  text-align: center;
  /* overflow-y: scroll; */
}

.flex{
  display:flex;
  justify-content: center;
}
.button{
  height:30px;
  margin:0 20px;
  padding:0 20px;
}
#aside-translate{
  background:white;
  margin:5px;
}








footer{
  background:black;
  color:white;
}
#footer-title{
  text-align: center;
  line-height:100px;
}
#footer-list{
  text-align:right;
}
#footer-copyright{
  text-align: center;
}


.main__random {
  border: 1px solid blue;
  padding: 10px;
}
.main__random__title{
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}
#main__random__eng{
  font-size: 35px;
  font-weight: bold;
  background: white;
}
#main__random__jis{
  font-size: 25px;
  position: relative;
  overflow:hidden;
}
.main__random__jis__table::before{
  position: absolute;
  content: "";
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: red;
  transition: 0.3s;
}
.main__random__jis__table:hover::before{
  transform: translateX(100%);
}
#main__random__button {
  background: lightblue;
  padding: 10px;
  display: inline-block;
  font-weight: bold;
  border: 1px solid blue;
  cursor: pointer;
  border-radius: 10px;
  margin: 5px;
}
#main__random__button:hover{
  background: rgb(147, 185, 197);
}

.main__engword__container{
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
}

.main__engword__item {
  border: 1px solid blue;
  display:flex;
  
}
.main__engword__item__num {
  font-size: 20px;
  padding: 5px; 
  width: 25px;
}
.main__engword__item__word {
  font-size: 18px;
  font-weight: bold;
  padding: 6px;
  width: 140px;
}
.main__engword__item__jis {
  font-size: 15px;
  padding: 7.5px;
  width: 120px;
  position: relative;
  overflow: hidden;
}

.main__engword__item__jis::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: red;
  transition: 0.3s;
}

.main__engword__item__jis:hover::before {
  transform: translateX(100%);
}


@media screen and (max-width: 767px) { /*ウィンドウ幅が最大767pxまでの場合に適用*/
  main{
      width:100%;
      flex-flow: column;
      margin:0 auto;
  }
  #main-wrapper{
      width:100%;
  }
} 


@media screen and (max-width: 479px) { /*ウィンドウ幅が最大479pxまでの場合に適用*/
  #main-wrapper{
      width:100%;

  }
  aside{
      width:98%;
  }
}