.flex {
	display: flex;
}

.item-center {
	align-items: center;
}

.space-between {
	justify-content: space-between;
}

.flex-column {
	flex-direction: column;
}

.w-35 {
	width: 35%;
}
.w-50 {
	width: 50%;
}

.w-full {
	width: 100%;
}

.c-header .shadow_mobile {
	display: none;
}

.c-scroll_item.mobile {
	display: none;
}


//////////
// menu mobil
///////////

.menu_f_mobile {
	display: none;
}

.menu_mobile {
	background: #444;
	margin: 0 auto;
	padding: 1.5em 1em 1em;
}

.menu_mobile .header-inner {
	max-width: 1024px;
	margin: 0 auto;
}

.navbar_menu {
	display: flex;
	width: 100vw;
	background-color: #000;
	justify-content: space-between;
	padding: 0.75rem;
	align-items: center;
}

.navbar_menu .logo {
	width: 20vw;
	z-index: 999;
}

#mobile-menu,
#mobile-user {
	background: url('../img/icon/OPTION.webp') no-repeat scroll transparent;
	background-position: center;
	background-size: contain;
	cursor: pointer;
	width: 2.3em;
	height: 2.3em;
	float: right;
	z-index: 998;
}

#menu_mobile .logo a img {
	height: 3.3rem;
}

.drop_menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgb(120, 0, 1);
	background-image: url('../img/COOKBOOK/bg-cook.webp');
	padding: 5rem;
}

.close_drop {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 2.3em;
	height: 2.3em;
	background-image: url('../img/icon/x_menu_big.png');
	background-position: center;
	background-size: 50%;
	background-repeat: no-repeat;
	transition: all 0.3s ease;
}

.close_drop:hover {
	color: transparent;
}

.drop_list {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	height: 80vh;
	font-size: 2rem;
}

li.list_link {
	margin: 1rem 0;
}

.contact_menu {
	border-top: 1px solid #fff;
	padding-top: 1rem;
	text-align: center;
	letter-spacing: 2px;
}

.hat {
	background: #000;
	padding: 1em;
	height: 1.15em;
	padding: 0.5em 1em;
}

@media only screen and (max-width: 767px) {
	.hat {
		display: none;
	}
}

.hat .hat-inner {
	max-width: 1024px;
	margin: 0 auto;
}

.hat ul.log-in {
	list-style-type: none;
	float: right;
	width: 220px;
}

.hat ul.log-in ul.show {
	position: absolute;
	top: 43px;
	display: none;
	z-index: 1;
}

.hat ul.log-in ul.show li {
	background: none repeat scroll 0 0 #f9f9f9;
	display: block;
	padding: 8px 12px;
}

.hat ul.log-in .show2 {
	display: none;
}

.hat ul.log-in li {
	display: inline;
}

.hat ul.log-in a {
	font-size: 0.75em;
	padding: 0 0.5em;
	color: #999;
}

.hat ul.log-in a:hover {
	color: #ed3d3d;
}

.hat .first {
	border-right: 2px solid #999;
	padding-right: 0.5em;
}

.menu_f_mobile {
	position: fixed;
	display: none;
	top: 0;
	width: 100vw;
	z-index: 999;
}

.foot_mobile {
	display: none;
}

.foot_mobile .container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin: auto 2em;
	font-family: Arial, Helvetica, sans-serif;
}

.foot_mobile .container .icon-mo {
	width: 2rem;
	height: 2rem;
	margin: 0.5rem;
}

.foot_mobile .container .contact {
	color: #D2B16A;
}

.foot_mobile .container i {
	font-size: 14px;
}

@media screen and (max-width: 844px) {
	h5 {
		font-size: 1.2rem;
	}

	.nav-container {
		display: none;
	}

	.menu_f_mobile {
		display: block;
	}

	.foot_mobile {
		display: block;
		padding: 5rem 0;
		background-color: #780001;
	}

	footer.footer {
		display: none;
	}

	/* add แนวตั้งเหมือน mobile */
	.c-scroll_item.mobile {
		padding-top: 10em;
		padding-left: 0;
		width: 100%;
		justify-content: center;
		display: flex;
	}

	.c-scroll_item.mobile .o-title_line {
		letter-spacing: 1px;
		line-height: 1.2;
	}

	.bg-scroll .c-scroll_item {
		display: none;
	}

	.c-scroll_item span {
		font-size: 10vw;
		background: rgb(245, 231, 57);
		background: linear-gradient(136deg, rgba(245, 231, 57, 1) 15%, rgba(246, 243, 163, 1) 50%, rgba(245, 231, 57, 1) 90%);
		-webkit-background-clip: text;
		color: transparent;
	}

	.o-title-testY.is-inview .o-title_line-testY:first-child {
		transform: scale(1.016);
	}

	.background {
		background: url(../img/bg_mobile.png) no-repeat bottom;
        background-size: 100%;
	}

	.pd-bg {
		background: url(../img/pd_mobile.png) no-repeat 45% 88%;
        background-size: 35%;
	}

	.sand-bg {
		background: url(../img/sand_mobile.png)no-repeat center;
		background-size: auto;
		background-position: 65% bottom;
	}

	.c-header .shadow {
		display: none;
	}

	.c-header .shadow_mobile {
		top: 5vh;
		display: block;
		background: linear-gradient(0deg, rgba(0, 0, 0, 1) 6%, rgba(0, 0, 0, 0) 12%);
	}

	.swiper-button-next,
	.swiper-button-prev {
		padding: 8px;
		width: 25px;
		height: 25px;
		border-radius: 100%;
		margin-top: 0;
		background-image: url('../img/icon/btn_p&n.png');
		background-size: cover;
		opacity: 1;
	}

	.swiper-button-next {
		background-image: url('../img/icon/btn_p&n.png');
	}

	.swiper-button-next::after,
	.swiper-button-prev::after {
		color: transparent;
		font-size: 12px;
	}

	.swiper-button-next {
		right: 0;
	}

	.swiper-button-prev {
		left: 0;
		transform: rotate(180deg);
	}
}

@media screen and (max-width: 430px) {
	.c-scroll_item.mobile {
		padding-top: 10em;
		padding-left: 0;
		width: 100%;
		justify-content: center;
		display: flex;
	}

	.c-scroll_item.mobile .o-title_line {
		letter-spacing: 1px;
		line-height: 1.2;
	}

	.bg-scroll .c-scroll_item {
		display: none;
	}

	.c-scroll_item span {
		font-size: 10vw;
		background: rgb(245, 231, 57);
		background: linear-gradient(136deg, rgba(245, 231, 57, 1) 15%, rgba(246, 243, 163, 1) 50%, rgba(245, 231, 57, 1) 90%);
		-webkit-background-clip: text;
		color: transparent;
	}

	.o-title-testY.is-inview .o-title_line-testY:first-child {
		transform: scale(1.016);
	}

	.background {
		background: url(../img/bg_mobile.png) no-repeat bottom;
	}

	.pd-bg {
		background: url(../img/pd_mobile.png) no-repeat 45% 82%;
		background-size: 55%;
	}

	.sand-bg {
		background: url(../img/sand_mobile.png)no-repeat center;
		background-size: auto;
		background-position: 65% bottom;
	}

	.c-header .shadow {
		display: none;
	}

	.c-header .shadow_mobile {
		top: 5vh;
		display: block;
		background: linear-gradient(0deg, rgba(0, 0, 0, 1) 6%, rgba(0, 0, 0, 0) 12%);
	}

	.swiper-button-next,
	.swiper-button-prev {
		padding: 8px;
		width: 25px;
		height: 25px;
		border-radius: 100%;
		margin-top: 0;
		background-image: url('../img/icon/btn_p&n.png');
		background-size: cover;
		opacity: 1;
	}

	.swiper-button-next {
		background-image: url('../img/icon/btn_p&n.png');
	}

	.swiper-button-next::after,
	.swiper-button-prev::after {
		color: transparent;
		font-size: 12px;
	}

	.swiper-button-next {
		right: 0;
	}

	.swiper-button-prev {
		left: 0;
		transform: rotate(180deg);
	}
}

@media (max-width: 430px) and (max-height: 590px) {
	.c-scroll_item.mobile {
		padding-top: 15vh;
	}

	.pd-bg {
		background-size: 45%;
	}

	.sand-bg {
		background-size: 200%;
	}
}

.foot_mobile h5 {
	font-family: "Coinage Caps Kruger Gray";
}

@media screen and (max-width: 1180px) {
	.nav-menu {
		background-color: #000;
	}
}