@font-face {
  font-family: 'KyotoSerif';
  font-style: normal;
  font-weight: 300;
  src: url(../fonts/KyotoSerif-Light.woff) format('woff');
}
@font-face {
  font-family: 'KyotoSerif';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/KyotoSerif-Regular.woff) format('woff');
}
@font-face {
  font-family: 'KyotoSans';
  font-style: normal;
  font-weight: 300;
  src: url(../fonts/KyotoSans-Light.woff) format('woff');
}
@font-face {
  font-family: 'KyotoSans';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/KyotoSans-Regular.woff) format('woff');
}
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 400;
}
* {
  border: 0;
  margin: 0;
  outline: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  font: inherit;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  text-decoration: none;
  vertical-align: baseline;
}
html {
  font-size: 62.5%;
  width: 100%;
}
body {
  background-color: rgba(26,26,26,1);
  color: rgba(229,229,229,1);
  font-family: "KyotoSans", "Yu Gothic", sans-serif;
  font-size: 10px;
  font-size: 1.0rem;
  font-weight: 400;
  line-height: 1;
  position: relative;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -o-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  overflow-x: hidden;
}
a:link, a:visited, a:hover, a:active {
  color: inherit;
}
header {
  position: relative;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 100vh;
  min-height: 2100px;
}
section {
  position: relative;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 120vh;
}

/* Twitterタイムライン追記 */
div#tw {
  text-align: center;
  position: relative;
  margin: 100px 30px 30px;
  padding: 100px 30px 30px;
  height: 600px;
}

.twitter-timeline.twitter-timeline-rendered {
    margin: 0 auto;
}

div#tw-hash {
  width: 600px;
  margin: 50px auto;
  font-size: 1.5em;
  line-height: 1.4em;
  background: #1E1E1E;
    padding: 10px;
    border: 1px solid white;
    /* border-radius: 10px; */
    height: 300px;
    overflow: scroll;
}

span.twname {
  font-weight: bolder;
  font-size: 1.2em;
}

p.twtxt {
  padding: 10px;
}

hr {
  color: white;
  padding: 20px;
}




/*Menuボタン追記*/
.sub-menu-self {
    position: fixed;
    right: 10px;
    bottom: 0px;
    width: 100%;
    max-width: 220px;
    height: 680px;
    overflow: hidden;
    z-index: 11;
    transition: .5s;
    overflow-y: auto;
}

.sub-menu-self.hide{
    transform: translateY(-100%);
}

.sub-menu-self a {
    text-decoration: none;
    width: 100%;
    height: 60px;
    margin: 1px;
    background-color: #777777;
    color: #FFFFFF;
    opacity: 0.8;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 1px;
}

/* ナビゲーションにtwitterと投票数を追加 */
.sub-menu-self a:first-of-type {
  background-color: black;
  opacity: 1;
}

/* twitterアイコン */
#total img {
  width: 50px;
  height: 50px;
  position: relative;
  top: 27px;
  left: -155px;
}

.sub-menu-self div {
    flex-grow: 1;
    flex-basis: 100%;
    width: 100%;
    margin: 0px;
    padding: 0px;
    text-align: right;
    padding-right: 3%;
    font-size: 1.5rem;
    overflow: hidden;
}

.sub-menu-self a.red {
    background-color: crimson;
}

/*  タイマー */
.timer {
	font-weight: bold;
	margin: 0;
}


.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  text-align: center;
}
.center img {
  width: 100vw;
  min-width: 960px;
  max-width: 1200px;
  height:auto;
}
h1 {
  color: #fff;
  font-size: 64px;
  font-size: 6.4rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 3px;
  margin-bottom: 20px;
}
p.words {
  font-size: 24px;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 3px;
}
p.arrow {
  font-size: 48px;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 3px;
  margin-top: 20px;
}
nav {
  width: 960px;
  margin: 0 auto;
  padding: 550px 20px 160px 20px;
  text-align: center;
}
nav ul li {
  list-style: none;
  font-size: 24px;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 3px;
}
nav ul li img {
  width: 100%;
}
nav ul p {
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 1.5px;
  margin-bottom: 40px;
}
article {
  position: relative;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  width: 100%;
}
.article {
  width: 960px;
  margin: 0 auto;
  padding: 320px 40px;
  text-align: center;
  overflow: hidden;
}
.product {
  background-color: #000;
  float: left;
  width: 420px;
  margin-left: 40px;
  margin-bottom: 80px;
}
.product:nth-child(2n+1) {
  margin-left: 0;
}
.product_image {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 420px;
  height: 238px;
  position: relative;
}
.voted {
  background-image: linear-gradient(to right, #fe5196 0%, #f77062 100%);
  color: #fff;
  position: absolute;
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-align: center;
  top: -20px;
  left: -20px;
  width: 90px;
  height: 90px;
  line-height: 90px;
  border-radius: 45px;
  transform: rotate(-10deg);
  -moz-transform: rotate(-10deg);
  -webkit-transform: rotate(-10deg);
  display: none;
}
.contents {
  padding: 20px;
  text-align: left;
  overflow: hidden;
}
.maker {
  color: #999;
  font-size: 20px;
  font-size: 2.0rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 1.5px;
}
.name {
  border-bottom: solid 2px #333;
  color: #fff;
  font-size: 20px;
  font-size: 2.0rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.5px;
  min-height: 80px;
}
.desc {
  color: #ccc;
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.5px;
  margin-top: 20px;
  margin-bottom: 20px;
  height: 150px;
  overflow: hidden;
}
button {
  background-color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  opacity: 0.82;
}
button.estore {
  background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
  color: #fff;
  float: left;
  width: 190px;
  height: 44px;
  line-height: 40px;
  box-sizing: border-box;
  border: solid 2px #000;
}
button.estore:hover {
  background-image: linear-gradient(to right, #ffffff 0%, #ffffff 100%);
  color: #4facfe;
  opacity: 1;
}
button.vote {
  background-image: linear-gradient(to right, #fe5196 0%, #f77062 100%);
  color: #fff;
  float: left;
  width: 190px;
  height: 44px;
  line-height: 40px;
  box-sizing: border-box;
  border: solid 2px #000;
  /* 投票期間終了 */
/*  pointer-events: none;
  background-image: linear-gradient(to right, #333333 0%, #333333 100%);
  color: #888888; */
}
button.vote:hover {
  background-image: linear-gradient(to right, #ffffff 0%, #ffffff 100%);
  color: #f77062;
  opacity: 1;
  /* 投票期間終了 */
/*  pointer-events: none; 
  background-image: linear-gradient(to right, #333333 0%, #333333 100%);
  color: #888888; */
}
 /* 導入事例ボタン追加 */
button.modelcase {
  background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
  background-color: #ffffff; /*test*/
  color: #fff;
  float: left;
  width: 380px;
  height: 44px;
  line-height: 40px;
  box-sizing: border-box;
  border: solid 2px #000;
}
button.modelcase:hover {
  background-image: linear-gradient(to right, #ffffff 0%, #ffffff 100%);
  color: #4facfe;
  opacity: 1;
}
button.review {
  background-image: linear-gradient(to right, #edac06 0%, #f7de05 100%);
  font-size: 18.5px;
  font-size: 1.85rem;
  font-weight: 700;
  float: left;
  width: 380px;
  height: 44px;
  line-height: 40px;
  box-sizing: border-box;
  border: solid 2px #000;
  /* 投票期間終了 */
/*  pointer-events: none;
  background-image: linear-gradient(to right, #333333 0%, #333333 100%);
  color: #888888; */
}
button.review:hover {
  background-image: linear-gradient(to right, #ffffff 0%, #ffffff 100%);
  color: #edac06;
  opacity: 1;
  /* 投票期間終了 */
/*  pointer-events: none;
  background-image: linear-gradient(to right, #333333 0%, #333333 100%);
  color: #888888; */
}
button.disabled {
  background-image: linear-gradient(to right, #333333 0%, #333333 100%);
  font-size: 18.5px;
  font-size: 1.85rem;
  font-weight: 700;
  float: left;
  width: 380px;
  height: 44px;
  line-height: 40px;
  box-sizing: border-box;
  border: solid 2px #000;
  cursor: auto;
}
img.history.space {
  width: 600px;
}
.space {
  width: 600px;
}
.menu {
  width: 1020px;
  margin: 0 auto;
  overflow: hidden;
}
.menu img {
  float: left;
  width: 200px;
}
.menu img:hover {
  opacity: 0.5;
}
#back {
  position: fixed;
  right: 40px;
  bottom: 40px;
  display: none;
  z-index: 1;
}
#back img {
  width: 90px;
  height: 90px;
  opacity: 0.5;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
#back img:hover {
  opacity: 0.82;
}
.maker span {
  display: none;
}
.goindex {
  width: 880px;
}
.goindex:hover {
  opacity: 0.82;
}
.gotop {
  width: 880px;
}
.gotop:hover {
  opacity: 0.82;
}
.history {
  width: 880px;
}
.history:hover {
  opacity: 0.82;
}
footer {
  position: relative;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  width: 100%;
}
.footer {
  width: 960px;
  margin: 0 auto;
  padding: 320px 20px;
  text-align: center;
  overflow: hidden;
}

.footer img {
  max-width: 700px;
  padding: 50px;
}

.slogan {
  display: none;
}

.guest {
  position: relative;
  overflow: hidden;
  width:100vw;
  min-width: 960px;
  max-width: 1200px;
  height:auto;
}

.guest img{
    width:20vw;
    min-width: 100px;
    max-width: 200px;
}

.guest ul {
  position: relative;
  left: 50%; /* ul要素を右に50%移動してセンタリング */
  float: left;
}

.guest ul li {
  position: relative;
  left: -50%; /* li要素を左に50%移動 */
  float: left;
  list-style: none;
}
#howto{
  width:880px;
}

@media(max-width:768px){
  article {
    background-size: contain;
  }
  .menu {
    width: 420px;
  }
} 

/*効かない*/
@media screen and (max-width: 480px){
    /*Menuボタン追記*/
    .sub-menu-self {
        width: 30%;
        max-width: 50vw;
    }
    .sub-menu-self div {
        font-size: 2.5rem;
        padding-left: 3%;
    }
    .product {
        float:none;
    }
  .menu {
    width: 420px;
  }
}

