@charset "UTF-8";

header {
  font-size: 25px;
  text-align: center;
  height: 70px;
  color: #cc0000;
  -webkit-text-stroke: 1.2px #fff;
  background-color: #444444d3;
  border-bottom: solid 3px #a80000;
  position: -webkit-sticky;
	position: sticky;
	top: 30px;
}

.header .hamburger img {
  display: block;
  float: right;
  margin-top: 20px;
  margin-right: 20px;
}

body {
  background: url(/images/bg.png) no-repeat fixed center / 40%, 
  linear-gradient(to right, 
    #505050 250px, 
    #0000006e 250px, 
    #0000006e calc(100% - 250px), 
    #505050 calc(100% - 250px)
  );
}

h1 {
  font-family: 'Keifont';
  src: url('resource/font/keifont.ttf') format('truetype');
  font-display: swap;
}

.title {
  font-family: 'Keifont';
  src: url('resource/font/keifont.ttf') format('truetype');
  font-display: swap;
}

main {
  font-size: 130%;
  text-align: center;
	display: block;
}

.maintext {
  text-align: left;
	display: inline-block;
  padding: 0.5em;
  background: #e4e4e467;
  display:inline-block;
}

.img {
  width: 30%;
  height: 30%;
}

.next{
  color: #cf0000;
  text-align: center;
  margin: auto;
  margin-top: 20px;
  width: 20%;
  background-color: #c7c7c7ab;
  border-bottom: solid 3px #a80000;
}

.footer img {
  width: 25px;
}

.counter {
 text-align:right;
}

small {
  color: #cc0000;
  -webkit-text-stroke: 0.7px #fff;
  background-color: #444444d3;
  border-bottom: solid 3px #a80000;
}

.works {
  display: flex;
  justify-content: space-between;
}

.works .inner {
  display: block;
}
.works .inner:hover {
  opacity: .8;
}

#nav {
  background-color: #d3d3d3bb;
  width: 270px;
  height: 300%;
  position: fixed;
  right: -270px;
  top: 0;
}

.inout {
  text-align: center;
  padding: 15px 20px;
  margin-top: 10px;
  color: #cc0000;
  -webkit-text-stroke: 1px #fff;
  background: #444444d3;
  border-bottom: solid 3px #a80000;
}

#nav li{
  padding: 10px 10px;
}

.link {
  size: 70px;
}

.link:hover {
  background-color: #3333336c;
  padding: 10px;
}

#nav ul {
  display: block;
}

#nav li a {
  color: #333;
  text-decoration: solid;
}

.show{
  transform: translate3d(-270px, 0 ,0);
}

#wrapper, #nav{
  transition: transform 0.3s;
}

ul {
  display:flex
}

 li {
  list-style:none;
  margin:auto;
}

 footer .share {
  size: 100px;
  background-color: #ffffffd3;
 }

 @media (max-width: 1910px) {
  .maintext {
   font-size: 20px;
  }
 }

@media (max-width: 1400px) {
  body {
     background: url(/images/bg.png) no-repeat fixed center / 50%,
     linear-gradient(to right, 
    #505050 15%,
    #0000006e 15%, 
    #0000006e 85%,
    #505050 85% 
  );
    }
}

@media (max-width: 1350px) {
  .maintext {
   font-size: 15px;
  }
 }

@media (max-width: 1010px) {
  .maintext {
   font-size: 10px;
  }
 }

@media (max-width: 680px) {
  .maintext {
   font-size: 8px;
  }
 }

 @media (max-width: 375px) {

  header {
    font-size: 13px;
    text-align: center;
    height: 40px;
    color: #cc0000;
    -webkit-text-stroke: 1px #fff;
    background-color: #444444d3;
    border-bottom: solid 3px #a80000;
    position: -webkit-sticky;
    position: sticky;
    top: 30px;
  }

  .header .hamburger img {
    display: block;
    float: right;
    margin-top: 8px;
    margin-right: 10px;
    width: 25px;
  }

  .inout {
    padding: 5px 20px;
    margin-top: 5px;
    color: #cc0000;
    -webkit-text-stroke: 1px #fff;
    background: #444444d3;
    border-bottom: solid 3px #a80000;
  }
  
  #nav li{
    padding: 3px 20px;
    margin-top: 5px;
  }
  
  .link {
    size: 30px;
  }
}





