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



/* サイドバーレイアウト */

main {
	position: fixed;
    width: 7%;
    height: 100vh;
    top: 0;
    left: 0;
	background-color: #FFFFFF;
	background-image: url("../image/top-back.jpg");
	background-size: cover;
    box-shadow: 0px 0px 4px 0px #666;
	z-index: 100;
}
main img {
	width: 50px;
	margin-left: 5px;
	margin-top: 20px;
}

/*サイドバースマホ版*/
@media(max-width:640px){
	main, .sidebar {
		display: none;
	}
}


/*全体ｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰ*/

.print_paper{
	display: block;
	position: relative;
	width: 93%;
	left: 7%;
	overflow: auto;
}

@media(max-width:640px){
	.print_paper {
		position: relative;
		width: 100%;
		left: 0px;
		overflow: auto;
	}
}

/*タイトルｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰ*/
h1.title{
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 100%;
	height: 8vh;
	background-color: lightblue;
	font-size: 2.5vw;
	color: white;
	text-shadow: 1px 1px 1px #808080;
	text-align: center;
}

@media(max-width:640px){
	h1.title{
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 100%;
	height: 4vh;
	background-color: lightblue;
	font-size: 1rem;
	color: white;
	text-shadow: 1px 1px 1px #808080;
	text-align: center;
	}
}

/*商品一覧ｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰ*/

.itemlist {
	display: grid;
	gap: 1.5rem; /* アイテム同士の間隔 */
	margin: 2rem;
	grid-template-columns: repeat(3, 1fr);
}


.item {
	flex: 1 1 calc(50% - 2rem); /* 2列分の幅に調整 */
	box-sizing: border-box;
	background-color:antiquewhite; /* 任意：背景色 */
	padding: 1rem;
	border-radius: 8px;
	box-shadow: 0px 0px 4px 0px #666;
}

.item h2 {
	font-size: 1.5vw;
	margin-bottom: 0.5rem;
	text-align: center;
	border-top: 2px solid peru;
	border-bottom: 2px solid peru;
	color: peru;
}

.item-content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.item-content img {
	max-width: 100%;
	height: auto;
	display: block;
}

.item-content p {
	font-size: 1.5vw;
	line-height: 1.6;
	text-align: justify;
}


/* レスポンシブ対応：スマホでは1列表示 */
@media(max-width:640px){
	.item {
		flex: 1 1 calc(50% - 2rem); /* 2列分の幅に調整 */
		box-sizing: border-box;
		background-color:antiquewhite; /* 任意：背景色 */
		padding: .5rem;
		border-radius: 8px;
		box-shadow: 0px 0px 4px 0px #666;
	}
	
 	.itemlist {
		display: grid;
		gap: 1rem; /* アイテム同士の間隔 */
		margin: 1rem;
		grid-template-columns: repeat(2, 1fr);
  	}
	
	.item h2 {
		font-size: .6rem;
		margin-bottom: 0.6rem;
		text-align: center;
		border-top: 1px solid peru;
		border-bottom: 1px solid peru;
		color: peru;
	}
	
	.item-content p {
		font-size: .7rem;
		line-height: 1.6;
		text-align: justify;
	}
}
