@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%;
}

.gnavi__wrap {
  width: auto;
  margin: auto;
}
.gnavi__lists {
  display: flex;
}
.gnavi__list {
    width: 20%;
    height: 60px;
    background-color: #bb0000;
    position: relative;
    transition: all .3s;
}
.gnavi__list:hover {
    background-color: #630000;
}
.gnavi__list:not(:first-child)::before {
    content: "";
    width: 1px;
    height: 100%;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .3s;
}
.gnavi__list:hover::before {
    background-color: #bb0000;
}
.gnavi__list a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    letter-spacing: 0.05em;
    font-weight: 600;
    transition: all .3s;
}
.gnavi__list:hover a {
    color: #fff;
}
.dropdown__lists {
    display: none;/*デフォルトでは非表示の状態にしておく*/
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
}
.gnavi__list:hover .dropdown__lists {
    display: block;/*Gナビメニューにホバーしたら表示*/
}
.dropdown__list0 {
    background-color: #505050;
    height: 60px;
    transition: all .3s;
    position: relative;
}
.dropdown__list1 {
    background-color: #bb0000;
    height: 60px;
    transition: all .3s;
    position: relative;
}
.dropdown__list1:hover {
    background-color: #630000;
    height: 60px;
    transition: all .3s;
    position: relative;
}
.dropdown__list:not(:first-child)::before{
    content: "";
    width: 100%;
    height: 1px;
    background-color: #d13434;
    position: absolute;
    top: 0;
    left: 0;
}
.dropdown__list:hover {
    background-color: #580000;
}
.dropdown__list a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    position: relative;
}
.dropdown__list a::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(135deg);
    position: absolute;
    right: 15px;
    top: calc(50% - 5px);
}

.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: 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: 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;
  }
}





