/*
Theme Name: Sales Records
Author: Your Name
Author URI: https://yourwebsite.com
Description: A custom WordPress theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-custom-theme
*/

:root {
	--color-blue: #3382f8;
	--color-red: #e92b2c;
	--color-blue2: #72aee6;
	--color-red2: #f78da7;
	--color-green: #229157;
	--color-green2: #7bdcb5;
	--color-yellow: #fecd3e;
	--color-black: #1d1d26;
	--color-black2: #323232;
	--color-black3: #3b3b3b;
	--color-glay: #2e2e2e;
	--color-glay2: #abb8c3;
	--color-white: #ffffff;
	--color-purple: #ba9cd4;
	--color-cards: #cddc39;
	--color-tooltip: #dad8d8;
	--color-input: rgb(247 141 167 / 20%);

}

* {
	box-sizing: border-box;
}

html {
	height: 100%;
	width: 100%;
	font-size: 1vw;
	scroll-behavior: smooth;
	word-break: break-all;
}

@media (max-width: 480px) {
	html {
		font-size: calc(100vw / 480);
	}

	/* スタイルをここに記述 */
}

/* スマートフォン（横向き）/小型タブレット（縦向き） */
@media (min-width: 481px) and (max-width: 768px) {
	html {
		font-size: calc(100vw / 768);
	}

	/* スタイルをここに記述 */
}

/* タブレット（横向き）/小型ラップトップ */
@media (min-width: 769px) and (max-width: 1024px) {
	html {
		font-size: calc(100vw / 1024);
	}

	/* スタイルをここに記述 */
}

/* ラップトップ */
@media (min-width: 1025px) and (max-width: 1280px) {
	html {
		font-size: calc(100vw / 1280);
	}

	/* スタイルをここに記述 */
}

/* デスクトップ */
@media (min-width: 1281px) {
	html {
		font-size: calc(100vw / 1920);
	}

	/* スタイルをここに記述 */
}

body {
	font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
	font-size: 16rem;
	letter-spacing: 0;
	-webkit-text-size-adjust: none;
	width: 100%;
	margin: 0 auto;
	background: var(--color-white);
	color: var(--color-black);
	/* ダブルタップで拡大を無効化 */
	touch-action: manipulation;
	/* リンク長押しのポップアップを無効化 */
	-webkit-touch-callout: none;
	/* テキスト長押しの選択ボックスを無効化 */
	-webkit-user-select: none;
}

body * {
	box-sizing: border-box
}

body :after,
body :before {
	box-sizing: border-box
}

a {
	color: var(--color-black2);
}

h2 {
	font-size: 20rem;
	text-align: center;
}

p {
	margin: 0;
}

ul {
	margin: 0;
	padding: 0;
}

ul li {
	list-style: none;
}

footer {
	bottom: 0;
	display: none;
	position: fixed;
}

table {
	border: 1rem solid #B0C4DE;
	border-collapse: collapse;
	box-sizing: border-box;
	font-size: 14rem;
	margin: 0 auto 70rem;
}

table tr {
	border-left: 2rem solid #B0C4DE;
	border-right: 2rem solid #B0C4DE;
}

table tr:last-child {
	border-bottom: 2rem solid #B0C4DE;
}

table tr th,
table tr td {
	border-bottom: 1rem solid #B0C4DE;
	border-left: 1rem solid #B0C4DE;
	padding: 2rem 5rem;
	word-break: keep-all;
}

table tr th:last-child,
table tr td:last-child {
	border-right: 1rem solid #ccc;
}

table tbody tr th,
table tbody tr td {
	word-break: keep-all;
}

table tbody tr:nth-child(odd) th,
table tbody tr:nth-child(odd) td {
	background: #F0FFFF;
}

table .tc {
	text-align: center;
}

table .tl {
	text-align: left;
}

table .tr {
	text-align: right;
}

table .attention {
	background: #dc3545;
	font-weight: bold;
}

table tr td.stock-increase {
	background: #e7f5ff;
	border: 3rem double #999;
	font-weight: bold;
}

table tr td.stock-decrease {
	background: #f8d7da;
	border: 3rem double #999;
	font-weight: bold;
}

table tr td.sales {
	background: #ccc;
	border: 3rem double #999;
	font-weight: bold;
}

table tr.timechange {
	border-top: 2rem solid #B0C4DE;
}

table tr.exclude th,
table tr.exclude td {
	background: #e92b2c !important;
	color: #fff;
}

table thead tr:first-child {
	border-top: 2rem solid #B0C4DE;
}

table thead tr th {
	background: #4682B4;
	color: #fff;
}

table thead tr:last-child,
table tbody tr:last-child,
table tfoot tr:last-child {
	border-bottom: 2rem solid #B0C4DE;
}

table tbody tr td.discount {}

table tfoot {
	background: var(--color-glay2);
	font-weight: bold;
}

.header__wrap {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	height: 80rem;
	margin: auto;
	position: fixed;
	top: 0;
	width: 100%;
}

.menu__icon {
	background: #fff;
	bottom: 0;
	cursor: pointer;
	display: block;
	height: 70rem;
	left: 0;
	position: fixed;
	text-align: center;
	width: 70rem;
	z-index: 101;
}

.menu__icon span {
	display: block;
	position: absolute;
	width: 30rem;
	height: 3rem;
	left: 20rem;
	background: var(--color-black);
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}

.menu__icon span:nth-child(1) {
	top: 25rem;
}

.menu__icon span:nth-child(2) {
	top: 35rem;
}

.menu__icon span:nth-child(3) {
	top: 45rem;
}

.menu__icon.active span:nth-child(1) {
	left: 20rem;
	top: 35rem;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
}

.menu__icon.active span:nth-child(2),
.menu__icon.active span:nth-child(3) {
	top: 35rem;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
}

.menu__wrap {
	overflow-y: auto;
}

.menu__wrap nav {
	margin: 0 auto;
}

.menu__wrap {
	background: #ffffffcc;
	bottom: 0;
	display: none;
	min-height: 100vh;
	overflow: hidden;
	padding: 0 0 30rem;
	position: fixed;
	right: 0;
	text-align: center;
	top: 0;
	width: 100vw;
	z-index: 2;
}

.menu__wrap ul {
	display: block;
	width: 100%;
}

.menu__wrap ul li {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0 auto;
	max-width: 150rem;
	width: 100%;
}

.menu__wrap ul li::after {
	border-bottom: 6rem solid inherit;
	content: '';
}

.menu__wrap ul li.current_page_item {
	pointer-events: none;
}

.menu__wrap ul li.current_page_item::after {
	border-bottom: 6rem solid var(--color-purple);
	content: '';
	width: 100%;
}

.menu__wrap ul li:hover::after {
	border-bottom: 6rem solid var(--color-purple);
	content: '';
	width: 100%;
}

.menu__wrap ul li a {
	align-items: center;
	color: var(--color-black);
	display: flex;
	flex-direction: column;
	font-size: 18rem;
	justify-content: center;
	padding-top: 10rem;
	text-decoration: none;
	width: 100%;
}

.menu__wrap ul li a span {
	font-size: 10rem;
	line-height: 2;
}

.menu__wrap.active {
	align-items: center;
	animation-name: close;
	animation-duration: .5s;
	animation-fill-mode: forwards;
	display: flex;
	padding: 60rem 0 0 0;
	right: -300rem;
	z-index: 100;
	-webkit-overflow-scrolling: touch;
}

@keyframes open {
	0% {
		transform: translateX(-250rem);
	}

	100% {
		transform: translateX(0);
	}
}

.menu__wrap.close {
	animation-name: open;
	animation-duration: .5s;
	animation-fill-mode: forwards;
	display: block;
	right: -300rem;
	width: 300rem;
	z-index: 1;
}

@keyframes close {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-300rem);
	}
}

#main {
	height: calc(100vh - 32px);
	margin: auto;
	padding: 0 0 70rem;
	position: relative;
	width: 100%;
}

@media(max-width:782px) {
	#main {
		height: calc(100vh - 46px);
	}
}

.m0 {
	margin: 0;
}

.w100 {
	width: 100%;
}


#pagenavi {
	background: #ccc;
	bottom: 0;
	color: #000;
	height: 70rem;
	left: 0;
	padding: 0 60rem;
	position: fixed;
	width: 100%;
}

#pagenavi ul {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: space-between;
}

#pagenavi ul li {
	height: 100%;
	width: 50%;
}

#pagenavi ul li a {
	align-items: center;
	display: flex;
	font-size: 12rem;
	height: 100%;
	justify-content: center;
	width: 100%;
}