@charset "utf-8";

/*========= レイアウトのためのCSS ===============*/

body{
    word-break: break-all;
    font-family: "M PLUS Rounded 1c";
}

/* HEADER */

#header{
  position: relative;
  z-index:999;
  /*装飾のためのCSS*/
  background:#003702;
  color: #f2f2f2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:5px 20px;
}

  
/*全体のエリア設定*/

.ms-section{
  color:#b62245;
  padding:20px;
}

.ms-section a{
  color:#b62245;
}

h1{
  font-size:1.5rem;
}

h2{
  font-size:1.3rem;
  margin:0 0 20px 0;
  text-align: center;
}

p{
  margin:0 0 20px 0;
  text-align: center;
}

/*右にある丸ナビゲーション色*/

#multiscroll-nav span{
  background:transparent!important;
  border-color:#fff!important;
}

/*右にある丸のナビゲーション現在地色*/

#multiscroll-nav li .active span{
  background:#fff!important;
}

/*右上のナビゲーション*/

#menu li {
  display:inline-block;
  margin: 10px;
}

#menu li a{
  text-decoration:none;
  color: #fff;
  padding: 0px 10px;
  display:block;
  border-radius: 10px;
}

#menu li.active a{
  color: #9fe7ff;
}


/*右エリア画像設定*/

#right1{
  background:url("movinghead.jpg") no-repeat center;
  background-size:cover;
}

#right2{
  background:url("led.jpg") no-repeat center;
  background-size:cover;
}

#right3{
  background:url("pixel.jpg") no-repeat center;
  background-size:cover;
}

#right4{
  background:url("laser.jpg") no-repeat center;
  background-size:cover;
}

#right5{
  background:url("strobe.jpg") no-repeat center;
  background-size:cover;
}

#right6{
  background:url("spider/57.jpg") no-repeat center;
  background-size:cover;
}

#right7{
    background:url("link.jpg") no-repeat center;
    background-size:cover;
  }

/*＝＝＝＝＝＝＝＝＝＝＝タブレット以下の見え方＝＝＝＝＝＝＝＝＝＝＝＝＝*/

@media screen and (max-width:768px){
  
#header{
  justify-content: center;
}

/*全体のボックスについている余白をリセット*/
.ms-section{
  padding:0;
}

/*天地中央になっている見せ方を上ぞろえに上書き*/
.ms-tableCell{
  vertical-align:top;
}

/*右上ナビゲーションと右エリア非表示*/
#menu,
.ms-right{
  display: none;
}

/*左エリアを横幅100%にして画像＋テキストを出す設定*/
.ms-left{
  width:100%!important;
}

 /*左エリア上部画像設定*/
.sp-top{
  height:50%;
  margin:0 0 20px 0;
}
  
#left1 .sp-top{
  background:url("movinghead.jpg") no-repeat center;
  background-size:cover;
}

#left2 .sp-top{
  background:url("led.jpg") no-repeat center;
  background-size:cover;
}

#left3 .sp-top{
  background:url("pixel.jpg") no-repeat center;
  background-size:cover;
}
  
#left4 .sp-top{
  background:url("laser.jpg") no-repeat center;
  background-size:cover;
}

#left5 .sp-top{
  background:url("strobe.jpg") no-repeat center;
  background-size:cover;
}

#left6 .sp-top{
  background:url("spider/57.jpg") no-repeat center;
  background-size:cover;
}

#left7 .sp-top{
    background:url("link.jpg") no-repeat center;
    background-size:cover;
  }

/*左エリア下部テキスト余白設定*/
.sp-bottom{
  padding:20px;
}
  
}


/* 
  Background gradients from lea.verou.me/css3patterns
  Background SVG from heropatterns.com
*/

    .slide {
    height: 100vh;
   }
   .slide1 {
     background-color: #dbdbff; 
     background:
        linear-gradient(90deg, transparent 79px, #abced4 79px, #abced4 81px, transparent 81px),
        linear-gradient(#eee .1em, transparent .1em);
     background-size: 100% 1.2em;
     color: #226a22;
   }
   .slide2 {
     background:
       linear-gradient(135deg, #d9ffdb 22px, #ffffff 22px, #ffffff 24px, transparent 24px, transparent 67px, #ffffff 67px, #ffffff 69px, transparent 69px),
       linear-gradient(225deg, #d9ffdb 22px, #ffffff 22px, #ffffff 24px, transparent 24px, transparent 67px, #ffffff 67px, #ffffff 69px, transparent 69px)0 64px;
     background-color:#5f8461;
     background-size: 64px 128px;
     color: #226a22;
   }
   .slide3 {
     background: radial-gradient(circle, transparent 20%, #ffdb69 20%, #ffdb69 80%, transparent 80%, transparent),
       radial-gradient(circle, transparent 20%, #ffdb69 20%, #ffdb69 80%, transparent 80%, transparent) 50px 50px,
       linear-gradient(#fff0bf 8px, transparent 8px) 0 -4px,
       linear-gradient(90deg, #fff0bf 8px, transparent 8px) -4px 0;
     background-color: #003702;
     background-size:100px 100px, 100px 100px, 50px 50px, 50px 50px;
     color: #226a22;
   }
   .fix-it {
      background-attachment: fixed;
     
   }
