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

body {
	margin: 0;
	padding: 0;
	 /*background:linear-gradient(180deg,rgba(255, 38, 2, .1), rgba(255, 227, 69, .1)),*/
	background-image:url(https://ic4-a.wowma.net/mi/w/1280/h/1280/q/90/bcimg1-a.wowma.net/plus/u46813078/pc/css/../images/ot-bg.jpg);
	background-repeat:repeat;
	font-size: 16px;
}
#header {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 90px;
	color: white;
	background-color: rgba(0,0,0,0.9);
	z-index: 100;
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
}
.top {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #fff;
}
h1 {
	font-size: 3rem;
	font-weight: 600;
	writing-mode: vertical-rl;
}

#slider {
	width: 100%;
	height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}

.slide-img {
	width: 100%;
	background-color: #ccc;
}

/*ロゴ*/
.logo {
	top: 5px;
	left: 5px;
	position: absolute;
	z-index:50;
}

 @media screen and (max-width: 1023px) {
.logo {
	width: 15%;
}
}

 @media screen and (max-width: 500px) {
.logo {
	width:50%;
	top: 0px;
	left: 2px;
}

.logo_img {
	width:100%;
}
 }
/****/

main {
	width: 1000px;
	margin: auto;
	padding: 10px;
}
section {
	margin-bottom: 130px;
}
#category {
	width: 100%;
	display: flex;
	margin: auto;
	margin-top: 30px;
	margin-bottom: 120px;
	flex-flow: row nowrap;
	justify-content: space-around;
}
.link_img {
	width: 100%
}

/***レスポンシブ***/
@media screen and (max-width: 1000px) {
#header {
	width:100%;
	height:auto;
}

.header_img {
	width:100%;
}
	#slider {
	width: 100%;
	height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}

main {
	width: 100%;
}
.item {
	width: 49.5%;
}
}
 @media screen and (min-width: 769px) {
.sp_nav {
	display:none;
}

.link {
	margin: 0 30px;
}
	 
.item_head {
	margin-bottom: 40px;
}
.item_head-sp {
	display:none;
}
.big_img {
	margin-bottom: 30px;
}
.small_img {
	margin-bottom: 20px;
}
}



 @media screen and (max-width: 768px) {
#header {
	height: auto;
}

.sp_nav {
	display:block;
	width:100%;
}

.header_img {
	display:none;
}
.top img {
	height: 400px;
}

main {
	padding: 4px;
}
.item_head {
	display:none;
}

.item_head-sp {
	margin-bottom: 30px;
}
section {
	margin-bottom: 40px;
}
#category {
	width: 100%;
	margin-bottom: 60px;
}
.link {
	margin: 0 5px;
}
.big_img {
	margin-bottom: 10px;
}
.small_img {
	margin-bottom: 4px;
}
}
/****/

.item_head {
	width: 100%;
}
.item_head-sp {
	width: 100%;
}
.big {
	width: 100%;
}
.big_img {
	width: 100%;
}
.container {
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}
.small_img {
	width: 100%;
}
/***戻るリンクの設定***/

#gotop {
	position: fixed;
	bottom: 5px;
	right: 5px;
	background-image: url(https://ic4-a.wowma.net/mi/w/1280/h/1280/q/90/bcimg1-a.wowma.net/plus/u46813078/pc/css/../images/ot-backtop.png);
	width: 68px;
	height: 68px;
}


/******スクロール表示*******/



.fadeUp{
animation-name:fadeUpAnime;
animation-duration:1.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(300px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}


/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.fadeUpper{
    opacity: 0;
}

.box {
	opacity: 0;
}

/**********************/
