@charset "UTF-8";

body{
    font-size: 1rem;
    font-family: sans-serif;
    background-color: #000;
    margin: 0 auto;
    min-height: 100vh;
    background: url(../images/digitalback.png);
    background-attachment: fixed;
    background-size: cover;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    padding: 0 10px;
    background-color: rgba(34, 49, 52, 0.9);
    width: 100%;
    box-sizing: border-box;
    z-index: 2;
    height: 50px;
}

header .logo{
    margin: 10px 10px 0px 10px;
    float: left;
    height: 40px;
}

header nav{
    float: right;
}
  
header nav ul{
    margin: 0;
    padding: 0;
    display: flex;
}
  
header nav ul li{
    list-style: none;
    position: relative;
}
  
header nav ul li ul{
    position: absolute;
    left: 0;
    background: rgba(25, 28, 46, 0.9);
    display: none;
}
  
header nav ul li.active ul{
    display: block;
}
  
header nav ul li ul li{
    display: block;
    width: 200px;
}
  
header nav ul li a{
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
    color: #fff;
    text-decoration: none;
    display: block;
}
  
header nav ul li a.active{
    color: #000;
    background: #fff; 
}
  
.menu-toggle{
    color: #fff;
    float: right;
    line-height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: none;
}

h1{
  color: #fff;
  margin: 190px 0px 0px 100px;
  font-size: 3rem;
}
form {
  margin-bottom: 50px;
}
form .pulldownmenu {
  margin-left: 100px;
  width: 30%;
  padding: 20px;
  font-size: 1rem;
  cursor: pointer;
}
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-left: 50px;
  margin-right: 50px;
}
.grid a{
  color: rgb(19, 8, 70);
  text-decoration: none;
  font-size: 1.2rem;
}
.makertitle{
  margin-top: 60px;
}
h2{
  font-size: 2rem;
  color: #fff;
  margin-left: 50px;
  padding-top: 60px;
  margin-top: -60px;
}
.item {
  border-radius: 10px;
  background: rgba(206, 206, 223, 0.9);
  padding: 15px;
  text-align: center;
  max-width: 250px;
}

img {
  max-width: 100%;
  height: auto;
}
p {
  text-align: center;
}
.js-animation {
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
  transition: all 1s;
}
.js-animation.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

footer{
  text-align: center;
  color: #fff;
  padding: 10px 0;
  background-color: #373c38;
  margin-top: 200px;
}

footer small{
  font-size: 0.8rem;
}

footer a{
  color: rgb(132, 144, 170);
}










@media (min-width: 1154px){
  
    /* ヘッダー表示・非表示関連*/
    header nav ul li:hover ul{
    display: block;
    }
    header nav ul li a:hover{
    color: #000;
    background: #fff;
    }
    .medi{
      display: none;
    }
    .hidemenu{
      display: none;
    }
  }








@media (max-width:1153px){

    body::before{
        content:"";
        display:block;
        position:fixed;
        top:0;
        left:0;
        z-index:-1;
        width:100%;
        height:100vh;
        background: url(../images/digitalback.png)center no-repeat;
        background-size: cover;
    }

    header .logo{
        margin: 10px 10px 0px 10px;
        float: left;
    }

    header{
        padding: 0 20px;
      }
    .menu-toggle{
        display: block;
      }
    header nav.active{
        left: 0;
      }
    header nav{
        position: absolute;
        width: 100%;
        height: calc(100vh - 50px);
        background-color: rgba(34, 49, 52, 0.9);
        top: 50px;
        left: -100%;
        transition: 0.5s;
      }
    header nav ul{
        display: block;
        text-align: center;
      }
    header nav ul li a{
        border-bottom: 1px solid rgba(0,0,0, .2);
      }
    header nav ul li.sub-menu:before{
      content: '\f0d7';
      font-family: fontAwesome;
      position: absolute;
      line-height: 50px;
      color: #fff;
      right: 5px;
      }
    header nav ul li.active.sub-menu:before{
        content: '\f0d8';
      }
    header nav ul li.active ul{
        position: relative;
        background: rgba(104, 122, 151, 0.692);
      }
    header nav ul li ul li{
        width: 100%;
      }
    .hidemenuS{
        display: none;
      }
    footer small{
        font-size: 1vw;
      }
  

}


@media (max-width:555px){

    body{
        font-size: 4vw;
    }
    body::before{
        content:"";
        display:block;
        position:fixed;
        top:0;
        left:0;
        z-index:-1;
        width:100%;
        height:100vh;
        background: url(../images/digitalbackmedia.jpg)center no-repeat;
        background-size: cover;
    }
    header img{
        width: 220px;
    }
    header .logo{
        margin-top:15px;
    }
    h1{
      font-size: 7vw;
    }
    form .pulldownmenu{
      font-size: 4vw;
    }
    .grid a{
      font-size: 5vw;
    }
    h2{
      font-size: 5vw;
    }
    footer small{
      font-size: 2vw;
    }


}