﻿/*初期化*/

html {  
scrollbar-color: #ffffff #000000;
scrollbar-width: auto;
overflow-x: hidden;
background: url(null);
background-color:black;
margin: 0px;
} 

/*Google ChromeやSafariといった所謂「webkit」を採用しているブラウザ用*/
::-webkit-scrollbar {
  width: 15px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: black;
}
::-webkit-scrollbar-thumb {
  background: white;
}
*, *:before, *:after {/*border-boxを全ての要素に適用*/
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
p{margin: 0;}
h1,h2,h3{margin:0px;overflow: hidden;font-size: 1em;}
ol{margin: 0;padding: 0;list-style: none;}
ul{margin: 0;padding: 0;list-style: none;}
a{
text-decoration: none;
color: white;
outline:none;/*リンクをクリックした後に表示される点線の枠を消す*/
}
img{vertical-align: middle;}

body {
  -webkit-text-size-adjust: 100%;/*Androidでフォントサイズが揃わないための対処*/
font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
width: 100%;
margin: auto;
padding: 0;
overflow: hidden;
color: white;
box-sizing: border-box;
}


#SiteName{
  
  height: 100vh;
  text-align: center;
  position: relative;padding-top: 100px;

}
h1{letter-spacing: 100px;
  font-size: 3em;
  height: calc(100% - 50px) ;
  line-height: 100vh;
  text-align: center;
  position: absolute;
  top: 0px;
  left: 50%;       
  transform: translateX(-50%); 

  animation-name: h1animation;
  animation-duration: 2s;
  animation-delay: 0s;
  animation-timing-function:ease-out;
  animation-fill-mode: both;
}
#SiteName span{ /*scrollテキスト*/
  
  display: block;
  width: 100%;
  position: absolute;
  bottom: 50px;
  line-height: 50px;
  opacity: 0;
  animation-name: opacity_animation1;
  animation-duration: 1s;
  animation-delay: 2s;
  animation-timing-function:ease-out;
  animation-fill-mode: both;
}
@keyframes h1animation{
  0%{
    letter-spacing: 100px;
    
    opacity: 0;
    color: #333;
  }
  100%{
    opacity: 1;
    letter-spacing: 0;
    
    color: #ffffff;
  }

}











/*======商品リスト======*/

#ItemBox{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  position: relative;
  
}
h2{
  border: 1px solid gray;
  line-height: 50px;
  width: 100%;
  margin: auto;
  text-align: center;
  
}
h2.windowIn{
  animation-name: opacity_animation1;
  animation-duration: 2s;
  animation-delay: 0;
  animation-timing-function:ease-out;
  animation-fill-mode: both;
}
.Item{background: blue;
  margin: 10px auto;
  width: calc(100% / 3); 
	position: relative;
	overflow: hidden;
  max-width: 600px;
	
  animation-duration: 2s;
  animation-delay: 0s;
  animation-timing-function:ease-out;
  animation-fill-mode: none;
}

.Item a{
 display: block;
 }
.Item img{
  width: 100%;
}

Item img:hover{
	transform:scale(1.2);
  transition: all 0.5s ease-in-out;
}

.Item.windowIn:nth-of-type(1){
  animation-name: translateX600Left_animation;
}
.Item.windowIn:nth-of-type(2){
  animation-name: opacity_animation1;
}
.Item.windowIn:nth-of-type(3){
  animation-name: translateX600Right_animation;
}
.Item.windowIn:nth-of-type(4){
  animation-name: opacity_animation1;
}
.Item.windowIn:nth-of-type(5){
  animation-name: animation_rotate3d;
}
.Item.windowIn:nth-of-type(6){
  animation-name: animation_rotate3d;
}
.Item.windowIn:nth-of-type(7){
  animation-name: animation_rotate3d;
}
.Item.windowIn:nth-of-type(8){
  animation-name: translateX600Left_animation;
}
.Item.windowIn:nth-of-type(9){
  animation-name: translateY200_animation;
}
.Item.windowIn:nth-of-type(10){
  animation-name: translateX600Right_animation;
}
.Item.windowIn:nth-of-type(11){
  
  
  animation-name: translateY200_animation;
}
.Item.windowIn:nth-of-type(12){
  animation-name: translateY200_animation;
}
.Item.windowIn:nth-of-type(13){
  animation-name: translateY200_animation;
}

@keyframes animation_rotate3d{
  0%{
      opacity: 0;
      transform: rotate3d(1, 0, 0, 180deg);
      transform-origin: center bottom; 
  }    
  100%{
      opacity: 1;
      transform: rotate3d(1, 0, 0, 360deg);
      transform-origin: center center;
  }  
}

@keyframes translateY200_animation{
  0%{opacity: 0;
    transform: translateY(200px);
  }
 
  100%{opacity: 1;
    transform: translateY(0);
  }
}



.Item .ItemName{text-align: center;
  width: 90%;
  font-size: 1em;
  line-height: 50px;
  white-space:nowrap;
  
  
  border: 1px solid white;
background: #333;
filter: Alpha(opacity=60);
opacity: 0.7;

display: inline-block;
position: absolute;
left: 50%;       
transform: translateX(-50%); 
bottom: 20px;
 


}
.Item.windowIn .ItemName{
  animation-name: opacity_animation2;

  animation-duration: 1s;
  animation-delay: 2s;
  animation-timing-function:ease-out;
  animation-fill-mode: both;
}
.ItemName:hover{
  background: #000000;
}

#MenuList{
  
  width: 100%;
  
  
}
#MenuList ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding: 100px 0;
}
#MenuList li{
  border: 1px solid gray;
  text-align: center;
  width: 20%;
  line-height: 50px;
}
#MenuList li a{
  display: block;
}
#MenuList li a:hover{
  background:  #333;
  
}
#MailBox{
  height: 120px;
}


.mail {
  transition: all 0.5s ease-in-out;

  margin: auto;
	font-size: 80px;
	position: relative;
	width: 0;
	height: 0;
	border-right: 0.8em solid transparent;
	border-left: 0.8em solid transparent;
	border-top: 0.6em solid #39a9d6;
	border-radius: 0.1em;
}

/* 下 */
.mail::before {
	position: absolute;
	content: "";
	top: -0.5em;
	left: -0.8em;
	width: 0;
	height: 0;
	border-top: 0.6em solid transparent;
	border-bottom: 0.5em solid #39a9d6;
	border-left: 0.8em solid #39a9d6;
	border-right: 0.8em solid #39a9d6;
	border-radius: 0 0 0.1em 0.1em;
}
#MailBox.windowIn{
  animation-name: opacity_animation1;
  animation-duration: 3s;
  animation-delay: 0s;
  animation-timing-function:ease-out;
  animation-fill-mode: both;
}
.mail:hover {
  transform:scale(1.2);
  
}
#copyright{
  text-align: right;
  padding: 10px;
}


@keyframes opacity_animation1{
  0%{
    opacity: 0;
  }
 
  100%{
    opacity: 1;
  }
}
@keyframes opacity_animation2{
  0%{
    opacity: 0;
  }
 
  100%{
    opacity: 0.6;
  }
}

@keyframes translateX600Left_animation{
  0%{opacity: 0;
    transform: translateX(-600px);
  }
 
  100%{opacity: 1;
    transform: translateX(0);
    
  }
}
@keyframes translateX600Right_animation{
  0%{opacity: 0;
    transform: translateX(600px);
  }
 
  100%{opacity: 1;
    transform: translateX(0);
  }
}
/*===============================================
●tablet.css 画面の横幅が1500pxまで
===============================================*/
@media screen and (min-width: 601px) and  (max-width: 1200px){
  .Item{
    width: 50%;
  }
  .Item.windowIn:nth-of-type(1){
    animation-name: translateX600Right_animation;
  }
  .Item.windowIn:nth-of-type(2){
    animation-name: translateX600Left_animation;
  }
  .Item.windowIn:nth-of-type(3){
    animation-name: translateX600Right_animation;
  }
  .Item.windowIn:nth-of-type(4){
    animation-name: translateX600Left_animation;
  }
  .Item.windowIn:nth-of-type(5){
    animation-name: animation_rotate3d;
  }
  .Item.windowIn:nth-of-type(6){
    animation-name: animation_rotate3d;
  }
  .Item.windowIn:nth-of-type(7){
    animation-name: animation_rotate3d;
  }
  .Item.windowIn:nth-of-type(8){
    animation-name: translateX600Left_animation;
  }
  .Item.windowIn:nth-of-type(9){
    animation-name: translateY200_animation;
  }
  .Item.windowIn:nth-of-type(10){
    animation-name: translateY200_animation;
  }
  .Item.windowIn:nth-of-type(11){
    
    
    animation-name: translateX600Right_animation;
  }
  .Item.windowIn:nth-of-type(12){
    animation-name: translateY200_animation;
  }
  .Item.windowIn:nth-of-type(13){
    animation-name: translateY200_animation;
  }
}
/*===============================================
●tablet.css 画面の横幅が600pxまで
===============================================*/
@media screen and (max-width: 600px){
  .Item{
    width: 100%;
  }
  .Item.windowIn:nth-of-type(odd){
    animation-name: translateX600Left_animation;
  }
  .Item.windowIn:nth-of-type(even){
    animation-name: translateX600Right_animation;
  }
  #MenuList li{
    width: 45%;
    margin: 5px;
  }
}
