@charset "UTF-8";

* {
	margin: 0;
	padding: 0;
    box-sizing: border-box;
}
body{
    margin: 0px;
}
.box{
    height: 100vh;
    min-height: 667px;
}
#top {
    margin: 0px;
    position: relative;
}
.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.example {
  /* フォントサイズなど任意指定 */
  font: bold 10em / 1 Verdana, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  /* 背景グラデーションを指定・幅を 200% にしておく */
  background: linear-gradient(to right, #f00 0%, #f80 14.28%, #dd0 28.56%, #0d0 42.85%, #0dd 57.14%, #00f 71.42%, #e0e 85.71%, #f00 100%) 0% center / 200% auto;
  /* 背景画像を文字でマスクする */
          background-clip: text;
  -webkit-background-clip: text;
  /* 文字色を透明にできればよく color: transparent でも color: rgba(0, 0, 0, 0) でも可 */
          text-fill-color: transparent;
  -webkit-text-fill-color: transparent;
  /* アニメーション指定 */
  animation: example 4s linear infinite;
}

/* 背景の横位置をズラす */
@keyframes example {
  to { background-position-x: 200%; }
}

a {
    display: block;
    text-decoration: none;
    color: white;
}
#topMenu {
    position: absolute;
    top: 5vh;
    right: 5%;
    z-index: 9999;
}
#topMenu ul {
    display: inline-block;
    color: white;
    text-decoration: none;
    list-style: none;
}
#topMenu ul li {
    width: 100px;
    line-height: 3.0;
}
#topMenu ul li a:hover {
    opacity: .5;
}
.next {
    position: absolute;
    bottom: 80px;
    left: 49%;
    z-index: 4;
}
.next:hover {
    opacity: .6;
}
.next a {
  padding-top: 60px;
}
.next a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 50px;
  margin-left: -15px;
  border: 2px solid #fff;
  border-radius: 50px;
  box-sizing: border-box;
}
.next a span::before {
  position: absolute;
  top: 10px;
  left: 50%;
  content: '';
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: #fff;
  border-radius: 100%;
  -webkit-animation: sdb 2s infinite;
  animation: sdb 2s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb {
  0% {
    -webkit-transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    -webkit-transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.img{
  width: 100%;
  height: 100vh;
  min-height: 667px;
  background: url(../img/topBack.jpg) no-repeat;
  background-size: cover;
  position: absolute;
  z-index: 1;
}
.gradation{
  width: 100%;
  height: 100vh;
  min-height: 667px;
  background: linear-gradient(45deg, rgba(108,184,255,08), rgba(255,246,108,.8), rgba(255,163,108,.8)); 
  background-size: 600% 600%;
  animation: AnimationName 8s ease infinite;
  position: absolute;
  z-index: 2;
}
#top h1 {
    margin: 32vh 0 0 0;
    color: white;
    font-size: 24px;
    font-weight: normal;
    text-align: center;
    z-index: 3;
}
#top h1 span {
    font-size: 16px;
}
#second {
    position: relative;
}
#device {
    position: absolute;
    top: 30vh;
    left: 50%;
    width: 45%;
}
#device img {
    width: 100%;
}
#webBack {
    position: absolute;
    top: 25vh;
    left: 3%;
    font-size: 150px;
    color: rgba(0,51,102,.1);
    overflow: hidden;
}
#secondText {
    position: absolute;
    top: 35vh;
    left: 5%;
    max-width: 420px;
    z-index: 3;
}
#secondText h2 {
    margin-bottom: 10px;
    border-bottom: 1px solid #336699;
    color: #336699;
    text-shadow: 0px 0px 3px white;
}
.btn1 {
    text-decoration: none;
    color: #FFF;
    width: 120px;
    height: 120px;
    line-height: 120px!important;
    margin: 20px auto 0;
    border-radius: 50%;
    text-align: center;
    font-size: 18px;
    vertical-align: middle;
    overflow: hidden;
    background-image: -webkit-linear-gradient(45deg, #709dff 0%, #91fdb7 100%);
    background-image: linear-gradient(45deg, #709dff 0%, #91fdb7 100%);
    transition: .4s;
}
.btn1 a:hover {
    opacity: .7;
}
#third {
    padding-top: 30vh;
    background: url(../img/thirdBack.jpg) no-repeat;
    background-size: cover;
    background-position: 50%;
}
.press a {
  color: #336699;
}
.press a:hover {
  color: grey;
}
#third h2 {
    color: #336699;
}
.press p {
    margin-top: 30px;
    font-size: 14px;
    color: black;
}
#third>.btn1 {
  margin-top: 20px;
}
#thirdContainer {
    width: 96%;
    max-width: 1000px;
    margin: 0 auto;
}
#thirdContainer h2 {
    margin-bottom: 10px;
    text-align: center;
}
.press {
    width: 32%;
    height: 300px;
    margin-right: 2%;
    padding: 40px 0px 20px 40px;
    background: rgba(51,102,153,1);
    color: white;
    float: left;
}
.press:first-of-type {
    background: url(../img/third2.jpg) no-repeat;
    background-size: cover;
    background-position: 50%;
}
.press:nth-child(odd) {
    background: url(../img/third1.jpg) no-repeat;
    background-size: cover;
    background-position: 50%;
}
.press:last-of-type {
    margin-right: 0;
    background: url(../img/third3.jpg) no-repeat;
    background-size: cover;
    background-position: 50%;
}
#forth {
    padding-top: 25vh;
}
#logo {
    width: 96%;
    max-width: 375px;
    margin: 0 auto;
}
#logo img {
    width: 100%;
}
#contact {
    width: 125px;
    margin: 20px auto 0;
}
.btn-stitch {
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  background: black;
  color: #FFF;
  border-radius: 4px;
  box-shadow: 0px 0px 0px 5px black;
  border: dashed 1px #FFF;
}
.btn-stitch:hover {
    border: dotted 1px #FFF;
}
@keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}




/*------------------------
          @media
------------------------*/
@media only screen and (max-width:768px) {
    #device {
        top: 5vh;
        left: 10%;
        width: 80%;
        max-width: 420px;
    }
    #secondText {
        top: 40vh;
        right: 5%;
    }
}
@media only screen and (max-width:540px) {
    #webBack {
        font-size: 90px;
    }
    #third {
        padding-top: 10vh;
    }
    #thirdContainer h3 {
        color: black;
    }
    #third p {
        margin-top: 10px;
    }
    .press {
        width: 96%;
        height: 150px;
        margin: 0 auto;
        padding: 15px 0px 10px 100px;
    }
    #logo {
        width: 80%;
    }
}
@media only screen and (max-width:420px) {
    .next {
        left: 45%;
    }
}