@charset "UTF-8";


/* ブラウザ幅が800px以下の場合 */
@media screen and (max-width: 800px) {

	.main-image1,
	.main-image2,
	.main-image3,
	.main-image4 {
		display: none;
	}
}

.main-image1 {
	position: absolute;
	top: -30px;
	left: -10px;
	width: 300px;
	height: 200px;
	z-index: 9999;
}

.main-image2 {
	position: absolute;
	top: -30px;
	right: -10px;
	width: 300px;
	height: 200px;
	z-index: 9999;
}


.main-image3 {
	position: absolute;
	top: -30px;
	left: -10px;
	width: 350px;
	height: 250px;
	z-index: 9999;
}

.main-image4 {
	position: absolute;
	top: -30px;
	right: -10px;
	width: 350px;
	height: 250px;
	z-index: 9999;
}

/* ブラウザ幅が800px以下の場合 */
@media screen and (max-width: 800px) {

	.main-image1,
	.main-image2,
	.main-image3,
	.main-image4 {
		display: none;
	}
}



body {


	font-family: BIZ UDPゴシック;
	background-color: #F8E8B0;
	text-align: center;

	background-image: repeating-radial-gradient(circle,
			rgba(255, 255, 255, 0.07) 0px,
			rgba(255, 255, 255, 0.07) 3px,
			transparent 3px,
			transparent 40px);
}

body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("images/backgroundimage.jpg");
	background-repeat: repeat;
	background-size: 200px;
	opacity: 0.1;
	/* 20% */
	z-index: -1;
}

.pay-page h1::before {
	content: "";
	display: inline-block;
	width: 80px;
	height: 50px;
	background-image: url("images/tiger_right.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.pay-page h1::after {
	content: "";
	display: inline-block;
	width: 80px;
	height: 50px;
	background-image: url("images/tiger_left.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

/* 親要素をrelativeに */
body {

	position: relative;
}


#zoomback {



	/* 絶対位置に配置 */
	position: fixed;
	top: 0;

	/* 画面いっぱいに */
	width: 100vw;
	height: 100vh;

	/* 背景を少し透過 */
	background-color: rgba(0, 0, 0, 0.8);

	/* 中のimgを中央揃え */
	display: none;
	justify-content: center;
	align-items: center;
}


/* 拡大画像のサイズを調整 */
#zoomimg {
	height: 500px
}

h1 {
	margin-top: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;

	font-family: 'Yatra One', cursive;
	font-size: 32px;
	color: #06038D;
	text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);

	border-top: 6px solid #FF9933;
	border-bottom: 6px solid #138808;
	background-color: #FEFBF5;

	padding: 1px;
}

h1::before {
	content: "";
	display: inline-block;
	width: 80px;
	height: 50px;

	background-image: url("images/elephant_right.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

h1::after {
	content: "";
	display: inline-block;
	width: 80px;
	height: 50px;

	background-image: url("images/elephant_left.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.pay-page h1::before {
	content: "";
	display: inline-block;
	width: 80px;
	height: 50px;

	background-image: url("images/tiger_right.jpg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.pay-page h1::after {
	content: "";
	display: inline-block;
	width: 80px;
	height: 50px;

	background-image: url("images/tiger_left.jpg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}



h2 {
	font-size: 28px;
	background-color: #138808;
	color: white
}

.history-count {
	text-align: center;
	width: fit-content;
	margin: 30px auto;
	padding: 12px 25px;
	background-color: #fff8e6;
	border: 3px solid #d98b1f;
	border-radius: 30px;
	font-size: 24px;
	font-weight: bold;
	color: #5a3a1b;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.history-count span {
	color: #d9531e;
	font-size: 32px;
}

.history-group td{
background-color: #c96f14;
color: white;
font-size: 22px;
font-weight: bold;
padding: 15px;
}
.history-group{
height: 60px;
}


hr {
	border: 0;
	border-top: 1px solid #8fbc8f;
}

.error-msg {
	color: red;
}

table {
	border: 3px solid #5D4037;
	border-radius: 10px;
	overflow: hidden;
	border-collapse: separate;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
	border-spacing: 0;
	/* 境界線を共有 */
}

th {

	border: 1px solid #5D4037;
	;
	text-align: center;
	background-color: #E67E22;
	color: white;
	height: 32px;
}

td {
	border: 1px solid #5D4037;
	;
	text-align: center;
	height: 24px;
}

.cartCount {
	color: red;
}

.quanti {
	width: 30px;
	text-align: center;
}

.select-list {
	tr:nth-child(even) {
		background: #FFF8E8;
		table-layout: fixed;
	}

	.selectColumn {
		width: 90px;
	}

	.proIdColumn {
		width: 140px;
	}

	.proNameColumn {
		width: 280px;
	}

	.proImageColumn {
		width: 160px;
	}

	.quantityColumn {
		width: 90px;
	}

	.priceColumn {
		width: 180px;
	}

	.stockColumn {
		width: 140px;
	}

	tr:nth-child(odd) {
		background: #FDF0D5;
	}
}

.cart-list {
	tr:nth-child(even) {
		background: #FFF8E8;
	}

	tr:nth-child(odd) {
		background: #FDF0D5;
	}
}

.payment-list {
	tr:nth-child(even) {
		background: #FFF8E8;
	}

	tr:nth-child(odd) {
		background: #FDF0D5;
	}
}


.pay-list {
	background-color: #FFE6BF;
	color: #CC6600;
}


/*商品名リンク化商品情報表示*/
.modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
	background-color: white;
	width: 400px;
	margin: 10% auto;
	padding: 20px;
	border-radius: 10px;
}

#closeModal {
	float: right;
	font-size: 28px;
	cursor: pointer;
}

.prod-name {
	color: blue;
	text-decoration: underline;
	cursor: pointer;
}


.modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
	background-color: white;
	width: 400px;
	margin: 10% auto;
	padding: 20px;
	border-radius: 10px;
}

#closeDetailModal {
	float: right;
	font-size: 28px;
	cursor: pointer;
}

.product-link {
	color: blue;
	text-decoration: underline;
	cursor: pointer;

}

/*選択・削除時のポップアップ*/

#pp-btn:hover {
	opacity: 0.8;
}

.pp-popup {
	position: fixed;
	left: 50%;
	bottom: 40px;
	transform: translateX(-50%);
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	background: #fff;
	border-radius: 16px;
	padding: 24px 32px;
	width: 90%;
	max-width: 420px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
	border: 2px solid #FF9933;

}

.pp-popup.pp-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	bottom: 80px;
	animation: ppAnim 3.4s ease forwards;

}

@keyframes ppAnim {
	0% {
		transform: translateX(-50%) translateY(20px);
		opacity: 0;
	}

	15%,
	80% {
		transform: translateX(-50%) translateY(0px);
		opacity: 1;

	}

	100% {
		transform: translateX(-50%) translateY(-10px);
		opacity: 0;
	}
}

.pp-headline {
	font-size: 1.3rem;
	font-weight: 700;
	color: #1e40af;
	margin: 0 0 4px;
}

.pp-body {
	font-size: 1rem;
	line-height: 1.6;
	color: black;
	margin: 0;
}

/*ここまで選択・削除時のポップアップ*/


/*商品画像*/
#modalImage {
	width: 300px;
	height: auto;
	display: block;
	margin: 10px auto;
	border-radius: 10px;
}

/*ここまで商品情報表示*/