/*すべての要素に対して*/
/**{
	margin:0;padding:0;
}*/

@media screen and (min-width:480px) {
    /*　画面サイズが480pxからはここを読み込む　*/
		div.c_item{
			width : 42% ;
			padding:2%;
			margin:20px 2%;
		}
		div.c_product_index{
			width:91.5%;
			font-size: 5vw;
		}
		div.noimage{
			font-size: 3vw;
		}
		
}
@media screen and (min-width:1024px) {
    /*　画面サイズが1024pxからはここを読み込む　*/
		div.c_item{
			width : 19% ;
			padding:2%;
			margin:20px 1%;
		}
		div.c_product_index{
			width:83%;
			height:calc(30px * 3);
			font-size: 2vw;
		}
		div.noimage{
			font-size: 1.4vw;
		}
		
}

/*pタグに対して*/
p {
	margin:10px 0;
	padding: 0 10%;
	font-size: 1em;
	/*color: red;*/
	/* 	background-color: yellow; */
}

img {
	margin: 0 0px ;
	width: 100%;
	/*height: 100%;*/
	object-fit: contain;
}

html {

}
body{
	font-family: sans-serif;
	background-color: #eee;            /* 背景色 */
	/* background-image: url("./img/bg.png"); */
   	background-size: cover;               /* 全画面 */
   	background-attachment: fixed;         /* 固定 */
   	background-position: center center;   /* 縦横中央 */
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: turquoise;
  padding: 0.5rem;

}

header h2{
  font-size: 1rem;
  color: #fff;
  margin-left: 2%;
}

h2{
  font-size: 1.5rem;
  color: #000;
}

a{

}

a.round_button{
  padding: 4px 1.2rem;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  background-color: turquoise;
  border: none;
  border-radius: 20px;
  text-decoration: none;
}

header .cart {
  position: relative;
}

header .cart .cart_cnt {
  position: absolute;
  top: -4px;
  left: -12px;
  width: 1.2rem;
  height: 1.2rem;
  line-height: 1.2rem;
  text-align: center;
  border-radius: 50%;
  background-color: #fff;
  font-size: 0.8rem;
  color: turquoise;
}

header .cart .cart_icon img {
  width: 40px;
}

div#top_title{
	display: flex;
	/* justify-content: center; */
	align-items: center;
	padding-left: 2%;
	height:50px;
	width:300px;
	font-size: 2em;
	float:left;
	/* background-color: yellow; */
}
span#top_logo{
	font-size: 50px;

	/* background-color: yellow; */
}
a#top_title{
	display: block;
	font-weight:bold;
	text-align: left;　
	height:50px;
	padding-left: 10px;
	/* width:400px; */
	color: black;
	text-decoration:none;
	letter-spacing:0.1em;
	/* background-color: yellow; */
}
div#top_nav{
	font-size: 1em;
	/* width:400px; */
	float:right;
	padding:10px 10px;
	/* background-color: yellow; */
}
a#top_mem{
	display: block;
	margin-right: 20px;
	padding:20px 30px;
	color: white;
	float:left;
	border-width: thin;
	border-style: solid;
	border-color: red;
	border-radius:10px;
	background-color: red;
	text-decoration:none;

}
a#top_login{
	display: block;
	padding:20px 30px;
	color: royalblue;
	float:left;
	border-width: thin;
	border-style: solid;
	border-color: royalblue;
	background-color: white;
	border-radius:10px;
	text-decoration:none;
}


a.c_item{
	color: white;


	text-decoration: none;
}

div.c_product_index{
	position: absolute;
	
	height:calc(30px * 3);
	color:white;
}

div.c_item{
	/*height:500px;*/
	/*overflow: auto;*/
	/*display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;*/
	position: relative;
	
	background-color: white;
	min-width: 250px;
	box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .1);
	/*overflow: auto;*/

	
}
div.centering{
 	display: flex;
	justify-content: center;
	align-items: center; 
	padding:10px;
}

div.noimage{
	display: flex;
	width:96%;
	height:60%;
	padding:1% 2%;
	justify-content: flex-end;
	align-items: flex-end;
	object-fit: contain;
	background-color: gray;
	color:white;
}
/*すべての要素を入れて中央によせる*/
#wrapper {
	/* width : 100%; */
	width : 100%;
	margin :0 auto;
	overflow: auto;
	/*background-color: yellow;*/
}

#header_block {
	width : 98%;
	height : 160px;

	/*overflow: auto;*/
	margin :0;
	padding:30px 1% 0 1%;
	background-color: white;

}
#logo_box {
	float:left;
	width : 80px;
	height : 60px;
	background-color: yellow;
}

#util_box {
	font-size:12px;
	float:right;
	/*float:left;*/
	/*width : 232px;*/
	/*height : 120px;*/
	padding:10px;
	background-color:red;
}

#util_content{
	/*上下左右中央寄せ*/
	height: 100%;
	color:black;
	display: flex;
  justify-content: center;
  align-items: center;
	background-color: green;
}

#navi_block {

	/*display: flex;*/
	/* justify-content: center; */
	/*align-items: center;*/
	width : 96%;
	/*height :40px;*/
	font-size: 16px;
	margin :0 0 0 0;
	padding: 2%;
	line-height:1.5em;
	background-color: turquoise;
	/* overflow: auto; */
}

#list_block {
	/*box-sizing: content-box;*/
	color: black;
	width : calc(100%-10px);
	height : 40px;
	margin :0 0 10px 0;
	padding-left:10px;
	background-color: turquoise;
	display: flex;
	justify-content: left;
	align-items: center;
}

#sub_navi_box {
	/*box-sizing: content-box;*/

	float:left;
	width : 100%;
	color:black;
	background-color: red;

}

#content_block {
	width : 100%;
	display: flex;
	flex-wrap: wrap;
	/* margin :0 0 0 0; */
	/* background-color: blue; */
	 overflow: auto; 
}
#content_box {
	display: flex;
	flex-wrap: wrap;

	/* float:left; */
	/*width : 400px;*/
	/* box-sizing: content-box; */
	width : 81%;
	padding:20px 2% 0px 2%;
	margin: 0 auto ;
	background-color: white;
	box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .1);
	/* padding:16px 16px */
}

#content_centering_top{
	width : 100% ;
	margin: auto;
}
#content_centering_guest{
	width : 100% ;/*コンテンツの幅*/
	margin: auto;
}

#content_box ul{
	padding-left:18px;
}
#content_box ol{
	padding-left:22px;
}

#footer_block {
	display: flex;
	justify-content: center;
	align-items: center; 

	/*flex-wrap: wrap;*/
	font-size : 10px;
	width : 100%;
	overflow: auto;
	margin : 0;
	padding:20px;
	background-color: turquoise;

}

div.footer_box {
	/*上下左右中央寄せ*/
	 height: 70%; 
	
	/*background-color: red; */
	width:80%;
	padding:0 20px;
	color:black;
	font-size: 16px;
	border:2px dotted white;
	overflow: auto;
	

}
ol {
/*list-style-type:none;*/
padding:40px;
line-height: 2em;
}


/*------横に配置するナビ--------*/

nav.regular {
	background-color: #222222;
	color: white;
  height:50px;/*ボタンを格納しているボックスの高さ（黒い部分）*/
	/* overflow: auto; */
}

nav.regular li {
    flex-grow: 1;
    padding-right: 5px;
    padding-top: 5px;
  }
nav.regular ul {
	display: flex;
	flex-flow: row;
	margin: 0;
	padding-left: 0px;
	list-style-type: none;
}
nav.regular a {
	display: flex;
  justify-content:center;
  align-items:center;
	border-radius: 4px;
	/*padding: 2px 24px;*/

	color: white;
	text-decoration: none;
  text-align: center;
  background-color: #562412;
  height:40px;/*ボタンのみの高さを変える*/
}
nav.regular li a:hover {
	background-color: #8cae47;
}

nav.regular li:first-child  {
	padding-left: 5px;
  padding-right: 5px;
}

/*------タテに配置するナビ--------*/

.area0{
  width: 100%;/*ここでボタンをいれる領域の幅が変えられます*/
  /* border: 2px dashed #666; */
  clear:left;
}

nav.sub {
	background-color: #222222;
	color: white;
	overflow: auto;
}

nav.sub li {
    padding-bottom: 5px;
    padding-left: 5px;
  }
nav.sub ul {
	display: flex;
	flex-flow:column;
	margin: 0;
	padding-left: 0px;
	padding-right: 5px;
	list-style-type: none;
}
nav.sub a {
	display: flex;
  justify-content:center;
  align-items:center;
	border-radius: 4px;
	/*padding: 2px 24px;*/

	color: white;
	text-decoration: none;
  text-align: center;
  background-color: #562412;
  height:40px;/*ここで1つのボタンの高さを指定します*/

}
nav.sub li a:hover {
	background-color: #8cae47;
}

nav.sub li:first-child  {
	padding-top: 5px;
  	padding-bottom: 5px;
}

.item_btnarea{
	/*display: flex;
	align-items: center;
	flex-wrap: wrap;*/
	padding: 10px 0.5rem;
	background-color: yellow;
	/*min-width: 200px; */

}

.item_btnarea .item_cart_btn {
  padding: 4px 1.2rem;
  font-size: 1.0rem;
  color: #fff;
  background-color: turquoise;
  border: none;
  border-radius: 20px;
  outline: none;
  

}

@media screen and (max-width: 1024px) {
  .item_btnarea .item_cart_btn {
    font-size: 1.0rem;
  }
}

@media screen and (max-width: 480px) {
  .item_btnarea .item_cart_btn {
    font-size: 1.5rem;
  }
}

.item_btnarea .item_cart_btn_active {
  background-color: chocolate !important;
}

.item_btnarea .item_buy_btn {
  padding: 4px 1.2rem;
  font-size: 1.0rem;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  background-color: turquoise;
  border: none;
  border-radius: 20px;
  text-decoration: none;
}

@media screen and (max-width: 1024px) {
  .item_btnarea .item_buy_btn {
    font-size: 1.0rem;
  }
}

@media screen and (max-width: 480px) {
  .item_btnarea .item_buy_btn {
    font-size: 1.5rem;
  }
}

