@charset "UTF-8";
/* CSS Document */

/* 前提 */

body{
	margin: 0;
	padding: 0;
	font-family: "Futura", Helvetica, sans-serif;
}

a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  padding: 0;
}

a:hover, .active{
  text-decoration: underline;
}

a:active, a:focus,input:active, input:focus{outline:0;}

h2 {
	color:#483d8b;
}
h3 {
	color:#e6e6fa;
}

header {
  height: 60px;
  width: 100%;
  padding: 0px 0px;
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  z-index: 30;
  display: flex;
}

.logo {
  font-size: 25px;
}

.logo img {
	object-fit: cover;
	height: 40px;
	margin: 10px 0 auto 10px;
}

nav {
  margin: 0 10px 0 auto;
	line-height: 60px;
}

ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}


.navi li{
	margin: 0 10px;
}

/* 全画面表示CSS */

.hero {
	margin-top: -60px;
	height: 100vh; /* 全画面表示 */
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	background-image:url("./img/topmain1.jpg");
	content: "";
	background-color: black;
}

/* 黒の背景 */

.overlay::after {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100vh;
  content: "";
  background: rgba(0, 0, 0, 0.6);
}

/* トップ画像テキスト */

.text-box {
  position: absolute;
	margin-top: 60px;
  top: 50%;
  left: 50%;
  width: 100%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 10;
}
.title {
  font-family: Roboto;
  font-size: 60px;
  font-weight: bold;
  line-height: 1.2;
  padding: 0 50px;
  text-align: center;
  color: #fff;
}
.description {
  color: white;
  text-align: center;
  font-size:18px;}

/* 商品紹介 */
.items{
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	margin:20px 0;
}
.item{
	width: 23%;
	min-height: 200px;
	margin:5px 0;
	background:#e6e6fa;
	text-align: center;
	border-radius: 10px;
}

.itemimg {
	width:auto;
    height:auto;
    max-width:90%;
    max-height:90%;
	transition-duration: 0.2s;
	background-color: #f5f5f5;
	border-radius: 10px;
  background-image: repeating-linear-gradient(45deg, #fff, #fff 3px,transparent 0, transparent 6px);
  padding: 6px;
  line-height:0;
}
.itemimg:hover{
  transform: scale(1.1);
  transition-duration: 0.2s;
}

/* サービス */


.service {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	padding: 0;
	background: black;
	margin: 10px auto 10px 0;
}

.support {
position: relative;
overflow: hidden;
width: 50%;
min-height: 260px;

}

.support:after {
position: absolute;
content: "";
display: block;
width: 100%;
height: 100%;
top: 0;
background: url("img/banar1.jpg") no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-ms-background-size: cover;
background-size: cover;
-webkit-transition: all .3s ease-out;
-moz-transition: all .3s ease-out;
-ms-transition: all .3s ease-out;
transition: all .3s ease-out;
}

.support:hover:after {
opacity: .8;
-moz-transform: scale(1.1);
-webkit-transform: scale(1.1);
-ms-transform: scale(1.1);
transform: scale(1.1);
}

.support a {
position: relative;
display: flex;
align-items: center;
text-align: center;
justify-content: center;
z-index: 20;
height: 100%;
margin: auto 15%;
text-decoration: none;
color: #fff;
line-height: 1.4em
}


.onlinestore {
position: relative;
overflow: hidden;
width: 50%;
min-height: 260px;
}

.onlinestore:after {
position: absolute;
content: "";
display: block;
width: 100%;
height: 100%;
top: 0;
background: url("img/banar2.jpg") no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-ms-background-size: cover;
background-size: cover;
-webkit-transition: all .3s ease-out;
-moz-transition: all .3s ease-out;
-ms-transition: all .3s ease-out;
transition: all .3s ease-out;
}

.onlinestore:hover:after {
opacity: .8;
-moz-transform: scale(1.1);
-webkit-transform: scale(1.1);
-ms-transform: scale(1.1);
transform: scale(1.1);
}

.onlinestore a {
position: relative;
display: flex;
align-items: center;
text-align: center;
justify-content: center;
z-index: 20;
height: 100%;
margin: auto 15%;
text-decoration: none;
color: #fff;
line-height: 1.4em
}

.info{
	background: url("./img/topback1.jpg") no-repeat 100% 100% fixed;
	background-size: cover;
	-webkit-background-size: cover;
	color: #fff;
	width: 100%;
	margin: 0 auto 10px 0;
	padding: 20;
}

.infotext li{
	display: inline-block;
	width: 50%;
  	margin: 20px 50px;
}

/* 新着情報 */

.news{
	width: 60%;
	margin: 0 auto;
	padding: 40px 0 80px 0;
}

ul.newsList {
display: flex;
flex-flow: row wrap;
border-bottom: 1px dotted #999;
padding: 5px 0;
}

ul.newsList li {
display: block;
margin: 5px 5px;
}

ul.newsList li:nth-child(-n + 3) {
flex-basis: 100px;
}

ul.newsList li:nth-child(2) {
color: #fff;
font-size: 10px;
padding: 2px 5px;
text-align: center;
background-color: #3c2fb7;
}

ul.newsList li:nth-child(3) {
flex-basis: auto;
}


#footer {
	background-color: #483d8b;
	text-align: center;
	color: #FFFFFF;
	padding: 10px 0 20px 0;
}

@media only screen and (min-width: 780px){
body{
		font-size:14px;
	}
	
header {
	position: relative;
	background-color: rgba(0, 0, 0, 0);}

#footer{
	  padding: 30px 10px 70px 0;
	}
}

@media only screen and (max-width: 779px){
.item{
	width: 49%;
	}
.support,.onlinestore{
	width: 100%;
	}
.infotext li{
	width: 80%;
  	margin: 20px 10%;
}
.hero {
	margin-top: 0px;
	padding-bottom: -60px;
}

.title {
	margin-top: -60px;
  padding: 0 10px;
}
	
.title {
  font-size: 40px;
}


#hamburger {
    background-color: transparent;  /*透明の背景*/
    position: relative;             /*ハンバーガーの横線の位置を決めるための基準*/
    cursor: pointer;                /*リンクを示すカーソルを表示（指差しマーク）*/
    margin: 0 0 0 auto;             /*左側に余白を作り、ハンバーガーメニューを右端に配置*/
    height: 60px;                   /*ヘッダーの高さと同じ60px*/
    width: 60px;                    /*高さと同じ幅*/
  }

.icon span {
    position: absolute;       /*親要素である#hamburgerを基準に位置を指定*/
    left: 15px;               /*#hamburger内の左がら15pxに横線を配置*/
    width: 30px;              /*横線の幅が30px*/
    height: 4px;              /*横線の高さが4px*/
    background-color: white;  /*横線を白色*/
    border-radius: 8px;       /*横線の両端の角に丸みを持たせる*/
    transition: ease 0.75s;   /*変化の時間（easeは初期値）*/
  }

	/*ハンバーガー横線３本*/
.icon span:nth-of-type(1) {
    top: 16px;
  }
.icon span:nth-of-type(2) {
    top: 28px;
}
.icon span:nth-of-type(3) {
    bottom: 16px;
}
	/*ハンバーガー横線３本の動き*/
	
.close span:nth-of-type(1) {
    transform: rotate(45deg); /*反時計回りに45度回転*/
    top: 28px;
  }
.close span:nth-of-type(2) {
    opacity: 0;
  }
.close span:nth-of-type(3) {
      transform: rotate(-45deg); /*時計回りに45度回転*/
      top: 28px;
  }

.navi {
  top: 60px;  /*headerの余白分*/
  left: 0px;  /*headerの余白分*/
  position: absolute; /*絶対配置　top　leftからの位置を絶対配置する*/
  z-index: 20;
  width: 100%;
  background-color: rgba(72,61,139, 0.8);
  display: none;
}

ul {
    flex-direction: column;
  }

a {
  text-align: center;	/*メニューリストの文字を中央寄せ*/
  border-top: solid 0.5px rgba(255, 255, 255, 0.6);	/*リストの境目に白線 */
}

}
