body { font-family: Arial, sans-serif; margin: 0; color: #333; background:#fafafa; }

html, body {
	height: 100%;
	margin: 0;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

main {
	flex: 1;
}

.wrapper {
	max-width: 1200px;
	margin: 0 auto;
}

/* Back to Top */
#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    outline: none; /* Remove outline */
    cursor: pointer; /* Add a mouse pointer on hover */
    font-size: 18px; /* Increase font size */
}

/* ヘッダ部分 */
header { background: #111; color: #fff; padding: 10px 20px; }

.header-logo-title {
	display: flex;
	align-items: center;
	gap: 10px;
}

.header-logo-title img {
	height: 30px;
}

.header-links a {
	color: #fff;
	margin-left: 15px;
	text-decoration: none;
	font-size: 13px;
}

.header-inner {
	/* max-width: 1200px; */
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header-site-title {
	font-size: 20px; margin: 0;
	font-weight: 700;
}


.login-btn {
	background: #333;
	color: #fff;
	border: none;
	padding: 6px 12px;
	border-radius: 20px;
	cursor: pointer;
	font-size: 13px;
}

.login-btn::before {
	color: #fff;
}

.user-menu {
	position: relative;
	display: inline-block;
	margin-left: 15px;
}

.dropdown {
	display: none;
	position: absolute;
	z-index: 10000;
	right: 0;
	top: 35px;
	background: #fff;
	color: #333;
	padding: 10px;
	border-radius: 6px;
	min-width: 180px;
	box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.user-menu.active .dropdown {
	display: block;
}
.header-site-title {
	color: white;
}
.header-links a:hover {
	color: white;
}

footer { background: #111; color: #fff; text-align: center; padding: 20px; }

/* カートCSS */
.btn-cart{
	border-color: #FF8400;
	padding: 5px 10px !important;
	opacity:1 !important;
	background-color: transparent !important;
	border: 1px solid #FF8400 !important;
}
.btn-cart:hover{
	background-color: #FF8400 !important;
}

.cart_count {
	border-color: transparent;
	padding: 0;
	line-height: 20px;
	right: auto;
	border: none;
	width:20px;
	height:20px;
}

/* ハンバーガー */
.menu-toggle{
	display:none;
	width:42px;
	height:42px;
	background:none;
	border:none;
	cursor:pointer;
	padding:0;
	z-index:10001;
}

.menu-toggle span{
	display:block;
	width:26px;
	height:3px;
	background:#fff;
	margin:5px auto;
	border-radius:2px;
	transition:.25s;
}

.wrapper-header {
	/* max-width: 1320px; */
	max-width: 1450px;
	margin: 0 auto;
}

.g-header.mypage-btn {
	color: black !important;
	margin-left: 0px !important;
	font-size: 17px !important;
	padding: 0px !important;
}

.userInfoMenu {
	display: flex;
	flex-direction: row;
}

.userInfoItem {
	padding: 5px 5px;
	border-radius: 5px;
	width: 100%;
	margin-bottom: 0px !important;
}

.c-link:hover {
	background-color: #FF8400;
	cursor: pointer;
}

@media (max-width: 900px){

	.wrapper {
		width: auto;
	}

	.header-inner{
		position:relative;
	}

	.menu-toggle{
		display:block;
	}

	.btn-cart {
		margin: 5px !important;
		padding: 10px 14px !important;
		border-bottom: 1px solid rgba(255,255,255,.08);
		text-align: left !important;
		margin-right: 15px !important;
	}

	.header-links a:hover {
		background-color: #FF8400;
	}

	.header-links{
		position:absolute;
		top:58px;
		right:0;
		width:260px;

		background:#111;
		border-radius:10px;
		padding:0;

		display:flex;
		flex-direction:column;
		align-items:stretch;
		gap:0;

		overflow:hidden;

		max-height:0;
		opacity:0;
		pointer-events:none;

		transition:.3s;
		z-index:10;
	}

	.header-links.active{
		max-height:600px;
		opacity:1;
		pointer-events:auto;
		padding:10px 0;
	}

	.header-links a{
		margin:0;
		padding:14px 18px;
		border-bottom:1px solid rgba(255,255,255,.08);
	}

	.header-links a:hover {
		background-color: #FF8400;
		color: white;
		opacity: 1;
	}

	.header-links .user-menu{
		margin:0;
		padding:10px 18px;
	}

	.dropdown{
		position:static;
		margin-top:10px;
		box-shadow:none;
	}

}