@charset "utf-8";

@keyframes slide1 {
	0% {opacity: 1;}
	25%{opacity: 1;}
	35%{opacity: 0;}
	90% {opacity: 0;}
	100% {opacity: 1;}
}
@keyframes slide2 {
	0% {opacity: 0;}
	25% {opacity: 0;}
	35% {opacity: 1;}
	60% {opacity: 1;}
	70% {opacity: 0;}
	100% {opacity: 0;}
}
@keyframes slide3 {
	0% {opacity: 0;}
	60% {opacity: 0;}
	70% {opacity: 1;}
	90% {opacity: 1;}
	100% {opacity: 0;}
}

.slide1,
.slide2,
.slide3 {
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: -1;
    text-indent: -9999px;
}

.slide1 {
    animation: slide1 15s linear infinite, opa1 1s linear;
    background: rgba(0, 0, 0, 0.3) url(../images/slide/1.jpg) no-repeat center center/cover;
	background-blend-mode: multiply;
}

.slide2 {
    animation: slide2 15s linear infinite;
    background: rgba(0, 0, 0, 0.3) url(../images/slide/2.jpg) no-repeat center center/cover;
	background-blend-mode: multiply;
}

.slide3 {
    animation: slide3 15s linear infinite;
    background: rgba(0, 0, 0, 0.3) url(../images/slide/3.jpg) no-repeat center center/cover;
	background-blend-mode: multiply;
}

.top-menu {
	writing-mode: vertical-rl;
	text-orientation: upright;
}

.marquee {
	animation: scrolling var(--marquee-time) linear infinite;
	will-change: transform;
}

@keyframes scrolling {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-1 * var(--marquee-width))); }
}

.marquee:hover {
	animation-play-state: paused;
}

.marquee li {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
}

.marquee li img {
	object-fit: contain;
	object-position: center;
	display: block;
}

/* Custom checkbox style */
.custom-checkbox {
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	border: 1px solid #333;
	background: #fff;
	display: inline-block;
	position: relative;
	cursor: pointer;
	border-radius: 0;
	vertical-align: middle;
	transition: border-color 0.2s;
}

.custom-checkbox:checked {
	border-color: #333;
}

.custom-checkbox:checked::after {
	content: '';
	position: absolute;
	left: 3px;
	top: 4px;
	width: 9px;
	height: 8px;
	background: url('../images/icon/icon_check.svg') no-repeat center center;
	background-size: contain;
}

.scroll-lock {
	overflow: hidden;
}

.scroll-lock::-webkit-scrollbar {
	width: 0;
	background: transparent;
}

.scroll-lock {
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}

.add_list {
	width: 98%;
	max-width: 800px;
	margin: 0 auto 10px;
	padding: 5px;
	text-align: left;
	border: 1px solid #333;
	box-sizing: border-box;
	height: 34px;
	overflow-y: hidden;
  position: relative;
}
.add_list p,
.edit_list p {
	margin: 4px 0 0;
}
/* .add_list p:first-of-type,
.edit_list p:first-of-type {
	margin: 0;
} */
.add_list input[type="text"],
.edit_list input[type="text"] {
	width: 100%;
	margin-top: 0;
	padding: 0.2em;
}
.add_list input[type="text"].short_input,
.edit_list input[type="text"].short_input {
	width: 8em;
}
.add_list input[type="text"].middle_input,
.edit_list input[type="text"].middle_input {
	width: 16em;
}

.add_list select,
.edit_list select {
	padding: 0.28em;
	background: #fff;
	color: #000;
	border-color: #000;
	vertical-align: baseline;
}
.add_list textarea,
.edit_list textarea {
  width: 100%;
	height: 60px;
	max-height: 85px;
	margin-top: 0;
	padding: 0.2em;
}
.add_list textarea:first-of-type,
.edit_list textarea:first-of-type,
.add_list .min_textarea,
.edit_list .min_textarea {
	height: 38px;
	max-height: 38px;
}
.add_list.open {
	animation: open_add 1s ease forwards;
	overflow-y: hidden;
}
.add_list.open.edit {
	animation: none;
	height: auto;
}
#close_add {
  position: absolute;
  bottom: 5px;
  right: 5px;
	display: block;
	margin: 5px auto 0;
	padding: 4px 16px;
	color: #333;
	border: none;
	font-weight: 600;
	font-size: 100%;
	border-radius: 0;
}
@keyframes open_add {
	0% {
		height: 34px;
	}
	100% {
		height: 1100px;
	}
}
.add_list.close {
	animation: close_add 1s ease forwards;
}
@keyframes close_add {
	0% {
		height: 1100px;
	}
	100% {
		height: 34px;
	}
}

#add_title {
	margin: 0 auto 5px;
	width: fit-content;
	text-align: center;
	color: #333;
	font-weight: bold;
	cursor: pointer;
}
#add_title .fa-question-circle {
	color: #777;
}
button[name="add_news"],
button[name="add_product"] {
	display: block;
	margin: 20px auto;
	padding: 6px 18px;
	color: #333;
	border: 1px solid #333;
	font-weight: 600;
	font-size: 100%;
	border-radius: 0;
}
.input[type="file"] {
  display: block;
  margin-right: 1%;
}
#clear1, #clear2, #clear3, #clear4 {
  display: block;
  height: 30px;
  padding: 2px 12px;
  color: brown;
  border: 1px solid brown;
  font-weight: 600;
  font-size: 100%;
  border-radius: 0;
}
.space50 {
	height: 50px;
}
#sample1, #sample2, #sample3, #sample4 {
  display: block;
  max-width: 100px;
  max-height: 70px;
  margin-right: 1%;
	object-fit: contain;
}
.site_login {
  width: 320px;
  margin: 0 auto;
  padding: 20px 4% 10px;
  border: 1px solid #333;
}
.site_login p {
  margin-bottom: 10px;
}
.site_login input[type="text"] {
  width: 100%;
}
.site_login button {
  display: block;
	margin: 25px auto;
	padding: 6px 18px;
	color: #333;
	border: 1px solid #333;
	font-weight: 600;
	font-size: 100%;
	border-radius: 0;
}
.pagination {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.pagination a {
  display: inline-block;
  border: 1px solid #333;
  padding: 1px 8px 2px;
  margin: 0 4px;
}
.btns {
  margin: 15px auto;
  text-align: right;
  padding-right: 1%;
}
.btns button {
	padding: 4px 12px;
	color: #333;
	border: 1px solid #333;
	font-weight: 600;
	font-size: 100%;
	border-radius: 0;
}
.small_date {
	font-size: 95%;
	line-height: 1.3;
}
.cancel {
	border: 1px solid #333;
	margin-left: 1%;
}
.flex_2 {
  display: flex;
	height: 70px;
}
.hide {
  display: none!important;
}
@media(max-width: 480px) {
	#add_title {
		margin: 0 auto 3px;
	}
	.add_list p, .edit_list p {
		margin: 2px 0 0;
	}  
	.flex_2 {
    flex-direction: column;
		height: auto;
  }
	.add_list textarea,
	.edit_list textarea {
		max-height: 60px;
		font-size: 90%;
	}
	#clear1, #clear2, #clear3, #clear4 {
		width: fit-content;
		height: 27px;
		margin-top: 1px;
		padding: 2px 12px;
		font-size: 90%;
	}
	#sample1, #sample2, #sample3, #sample4 {
		max-width: 70px;
		max-height: 50px;
	}
	.small_date {
		font-size: 75%;
	}
	input[type="file"] {
		font-size: 90%;
	}
	button[name="add_news"], button[name="add_product"] {
    margin: 15px auto;
    padding: 4px 16px;
	}
}