@charset "UTF-8";

/* 基本色 */
:root{
	--main-color: #efece1;
	--accent-color:#914c70;
	--accent-color: #f0d3bc;
	--accent-color: #4d2a52;
	--accent-color: #4d4c61;
	--accent-color: #b32425;
	--accent-color: #c6ae4a;
}

#top{
	background-image: url(images/product_top.png);
	background-position: center;
	background-size: cover;
	min-height: 68vh;
}

/* ここからメインページ */
main{
	margin: 50px auto 30px;
}

/* ページリンク設定 */
#page-link{
	display: flex;
	justify-content: center;
	padding: 20px;
	margin-bottom: 50px;
  }
  
  #page-link li{
	list-style: none;
  }
  
  #page-link li a{
	color: #4d4c61;
	padding:0 20px;
	text-decoration: none;
  }
  
  #page-link li a::before{
	content:'▼';
	font-size:0.8rem;
	padding:0 10px 0 0;
	color: #927f89;
  }
  /* --------------------------- */


#con1 section, #con2 section{
	border-bottom: solid 3px #914C70;
	padding-bottom: 40px;
}
section{
	width: 70%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr)) ;
	margin: 0 auto 10px auto;
}
main h3{
	width: 160px;
	float: left;
	margin-left: 50px;
}
.pc {
	display: block !important;
}
.sp {
	display: none !important;
}

main h4{
	font-family: 'Zen Antique Soft';
	color: #4D2A52;
	font-size: 1.2rem;
	border-bottom: dotted #4D2A52;
	margin-top: 0;
	padding-bottom: 5px;
}
main p{
    text-align: right;
	font-family: 'Zen Antique Soft';
	font-size: 1rem;
	padding-top: 5px;
	margin-bottom: 5px;
}
select{
    -moz-appearance: menulist;
    -webkit-appearance: menulist;
	background-color: #f7efe9;
	width: 60px;
	font-size: 0.8rem;
	margin-top: -5px;
	padding: 0 5px 2px 0;
	text-align: right;
	border: solid 1px #c6ae4a;
}
.tag{
	/* width: 90%; */
	text-align: center;
	color: #fff;
	margin-top: 5px;
	padding: 5px;
	font-weight: lighter;
	font-size: 0.9rem;
	background-color: #b32425;
	border-radius: 3px;
}
.coment{
	position: absolute;    /*　絶対位置指定 */
	opacity: 0;     /* コメントを表示しない */
	top: 10px;
	left: 10px;
	width: 200px;
	height: 200px;
	padding: 60px 14px 0 14px;
	color: #7c6262;
}
.item{
	position: relative;
    width: 220px;
    padding: 10px;
    margin: 0 auto 30px auto;
}
.item img{
	width: 200px;
	opacity: 1;
	transition: .3s ease-out;
}
.item:hover .coment{
	opacity: 1;     /*コメントを表示*/
	background-color: rgba(255, 255, 255, 0.7);
}
/*==================================================
ふわっ
===================================*/

/* 下から */

.fadeUp{
	animation-name:fadeUpAnime;
	animation-duration:1.5s;
	animation-fill-mode:forwards;
	opacity:0;
	}
	
	@keyframes fadeUpAnime{
	  from {
		opacity: 0;
	  transform: translateY(100px);
	  }
	
	  to {
		opacity: 1;
	  transform: translateY(0);
	  }
	}
.fadeUpTrigger{
		opacity: 0;
	}

	
.shopping{
	width: 450px;
	margin: auto;
    position: relative;
    padding: 8px 40px;
    border-top: solid 2px #914C70;
    border-bottom: solid 2px #914C70;
	font-weight: lighter;
	color: #706269;
	background-color: rgb(240, 211, 188, 0.5);
}
.shopping:before, .shopping:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: #914C70;
}
.shopping:before {left: 10px;}
.shopping:after {right: 10px;}
.shopping p {
    margin: 0; 
    padding: 0;
}
.shopping :hover{
	opacity: 0.5;
}
/* スマホ設定 */
@media (max-width:640px){
	#top{
	background-image: url(images/product_top_640.jpg);
	background-position: center top;
	background-size: contain;
	min-height: 72vh;
	}

	#page-link li a{
		padding:0 10px;
		text-decoration: none;
	  }
	#page-link li a::before{
		font: size 0.7em;
		padding:0 10px 0 0;
	  }
	.pc {
		display: none !important;
	}
    .sp {
		display: block !important;
	}
	main h3{
		float: none;
	}
	main h4{
		font-family: 'Zen Antique Soft'
	}
	main p{
		font-family: 'Zen Antique Soft';
	}
	.item{
		margin-bottom: 5px;
	}
	.item:active .coment{
		opacity: 1;
		background-color: rgba(255, 255, 255, 0.5);
	}

	/*アコーディオン全体*/
	.accordion-area{
    	/* width: 96%; */
    	/* max-width: 900px; */
    	margin:0 auto;

	}
	/* .accordion-area li{
		margin: 10px 0;
	} */

	/*アコーディオンタイトル*/
	.title {
		width: 350px;
		position: relative;  /*+マークの位置基準とするためrelative指定*/
    	cursor: pointer;
    	font-size:1rem;
    	font-weight: normal;
    	padding: 3% 3% 3% 30px;
    	transition: all .5s ease;
		margin: 5px auto 5px 16px;
		
	}

	/*アイコンの＋と×*/
	.title::before,
	.title::after{
    	position: absolute;
    	content:'';
    	width: 15px;
    	height: 2px;
    	background-color: #b32425;
    }
	.title::before{
    	top:48%;
    	left: 5px;
    	transform: rotate(0deg);
    }
	.title::after{    
    	top:48%;
    	left: 5px;
    	transform: rotate(90deg);
	}

	/*　closeというクラスがついたら形状変化　*/
	.title.close::before{
		transform: rotate(45deg);
	}

	.title.close::after{
		transform: rotate(-45deg);
	}

	/*アコーディオンで現れるエリア*/
	.box {
    	display: none; /*はじめは非表示*/
		margin: auto;
    	padding: 3%;
	}
	.shopping{
		width: 350px;
		padding: 10px;
	}
}

/* *{border: 1px solid #000;} */