/*****************************************
*                  body                  *
*****************************************/

@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
/*@import url(http://fonts.googleapis.com/earlyaccess/cwtexhei.css);*/

* {outline: 0;}

*::selection {
	color: #ffffff;
	background: #505050;
}

html {height: 100%; overflow-y: scroll;}

body {
	height: 100%;
	font-size: 12px;
/*	font-family: 'cwTeXHei', 'Microsoft JhengHei', Tahoma, Verdana, Arial, Helvetica, sans-serif;*/
/*	font-family: 'sourcehansans-tc', 'Microsoft JhengHei', Tahoma, Verdana, Arial, Helvetica, sans-serif;*/
	font-family: 'Noto Sans S Chinese', 'Noto Sans TC', 'Microsoft JhengHei', Tahoma, Verdana, Arial, Helvetica, sans-serif;
/*	text-shadow: rgba(0, 0, 0, 0.2) 0 0 0.1px;*/
	text-shadow: rgba(0, 0, 0, 0.1) 0 0 0.1px;
	background: #f7f7f6; /* f4f4f2 */

	-webkit-transition: opacity 0.5s;
	-moz-transition: opacity 0.5s;
	-ms-transition: opacity 0.5s;
	-o-transition: opacity 0.5s;
	transition: opacity 0.5s;
	
}

.ipad body {text-shadow: none;}

.jf-loading body {
	opacity: 0;
	visibility: hidden;
}

.jf-active body,
.jf-inactive body {
	opacity: 1;
	visibility: visible;
}

/*.notosanstc body {font-family: 'source-han-sans-traditional', 'Microsoft JhengHei', Tahoma, Verdana, Arial, Helvetica, sans-serif;}*/

a {
	text-decoration: none;
	cursor: pointer;
}

a:hover {text-decoration: none;}

input.ipt-text, textarea {
	color: #252525;
	font-size: 15px;
	font-family: 'sourcehansans-tc', 'Microsoft JhengHei', Tahoma, Verdana, Arial, Helvetica, sans-serif;
	text-shadow: rgba(0, 0, 0, 0.2) 0 0 0.1px;
	margin: 0;
	padding: 0;
	border: #dedede 1px solid;
	background: #f7f7f7;
	border-radius: 0;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.ipad input.ipt-text, .ipad textarea {text-shadow: none;}

input.ipt-file {
	width: 0;
	height: 0;
	opacity: 0;
	overflow: hidden;
}

.combobox {
	position: relative;
	display: inline-block;
	height: 46px;
	font-size: 14px;
}
.combobox-disabled {
	opacity: 0.5;
	pointer-events: none;
}
.combobox a {
	display: block;
	height: 44px;
	line-height: 44px;
	padding-right: 88px;
	padding-left: 18px;
	border: #dedede 1px solid;
	background: url(../images/common/combobox-arrow.png) #f7f7f7 right center no-repeat;
	white-space: nowrap;
}
.combobox-disabled a {
	cursor: default;
}
.combobox ul {
	display: none;
	position: absolute;
	left: 0;
	width: 100%;
	max-height: 266px;
	margin-top: -1px;
	border: #dedede 1px solid;
	box-sizing: border-box;
	z-index: 2;
	overflow-x: hidden;
	overflow-y: auto;
}
.combobox li {
	color: #000000;
	line-height: 44px;
	padding: 0 18px;
	background: #ffffff;
	cursor: pointer;
	white-space: nowrap;
}
.combobox li:hover {
	color: #ffffff;
	background: #d7000f;
}
.combobox li[data-role="category"] {
	color: #000000;
	font-weight: 500;
/*	font-style: italic;*/
	text-align: center;
	cursor: default;
}
.combobox li[data-role="category"]:hover {
	color: #000000;
	background: #ffffff;
}

#wrap {
	position: relative;
	width: 100%;
	height: 100%;
}

#wrap2 {
	min-height: 100%;
}

.inner {
	position: relative;
	width: 1000px;
	margin: 0 auto;
}

#mask {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 2;
}

#warnings {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 90px;
	background: url(../images/common/warnings.jpg) center 0 repeat-x;
	z-index: 2;
}

#warnings div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(../images/common/warnings-text.png) center center no-repeat;
}

#warnings #cookiepolicy {
	display: none;
	top: -172px;
	right: 0;
	left: auto;
	width: 385px;
	height: 172px;
	color: #5a5a5a;
	font-size: 14px;
	text-align: justify;
	line-height: 25px;
	padding: 20px 25px;
	border: #e5e5e5 1px solid;
	border-right: 0;
	background: #ffffff;
	box-sizing: border-box;
}

#warnings #cookiepolicy .link {
	color: #5a5a5a;
	padding-bottom: 3px;
	border-bottom: #5a5a5a 1px solid;
}

#warnings #cookiepolicy .close {
	position: absolute;
	top: -37px;
	right: 0;
	width: 35px;
	height: 35px;
	border: #e5e5e5 1px solid;
	border-right: 0;
	border-bottom: 0;
	background: url(../images/common/cookiepolicy-close.png) #ffffff center center no-repeat;
}

/*****************************************
*                 header                 *
*****************************************/

#header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 137px;
	border-bottom: #dddddd 1px solid;
	background: #ffffff;
	z-index: 3;
	
	-webkit-transition: height 0.2s;
	-moz-transition: height 0.2s;
	-ms-transition: height 0.2s;
	-o-transition: height 0.2s;
	transition: height 0.2s;
	
}

#header.compact {height: 56px;}

#header .logo {
	width: 116px;
	height: 28px;
/*	margin: 36px 0 10px 30px;*/

	position: absolute;
	top: 36px;
	left: 30px;

	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;

}

#header.compact .logo {
	-webkit-transform: scale(0.82);
	-moz-transform: scale(0.82);
	-ms-transform: scale(0.82);
	-o-transform: scale(0.82);
	transform: scale(0.82);
}

#header .logo a {
	display: block;
	width: 100%;
	height: 100%;
	background: url(../images/common/logo.png) 0 0 no-repeat;
}

#header.compact .logo {
	float: left;
/*	margin-top: 26px;*/

	top: 14px; /* 26px */

}

#menu {
	position: absolute;
	top: 74px;
	left: 0;

	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;

}

#header.compact #menu {
	float: left;
/*	margin-top: 9px;
	margin-left: 10px;*/

	position: absolute;
	top: 0;
	left: 156px;

}

#menu ul {}

#menu li {
	float: left;
	margin-right: 10px;
}

#header.compact #menu li {margin-right: 0;}

#menu li a {
	display: block;
	width: 124px;
	height: 63px;
	overflow: hidden;
}

#header.compact #menu li a {height: 56px;}

#menu li a span {
	display: block;
	width: 68px;
	height: 16px;
	color: #505050;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 1px;
/*	font-size: 0;
	text-indent: -5000px;*/
	margin: 24px 0 0 29px;
/*	background-image: url(../images/common/menu-items.png?v=170224);*/
	background-repeat: no-repeat;
}

#menu li a:hover span {color: #d7000f;}

#header.compact #menu li a span {margin-top: 21px;} /* 33px */

.m-products span {background-position: 0 0;}
.m-about span {background-position: 0 -16px;}
.m-news span {background-position: 0 -32px;}
.m-service span {background-position: 0 -48px;}
.m-community span {background-position: 0 -64px;}
#menu li .m-blog span {
	display: inline-block;
	width: auto;
}

.m-products:hover span {background-position: -68px 0;}
.m-about:hover span {background-position: -68px -16px;}
.m-news:hover span {background-position: -68px -32px;}
.m-service:hover span {background-position: -68px -48px;}
.m-community:hover span {background-position: -68px -64px;}

#header .others {
	position: absolute;
	top: 74px;
	right: 15px;

	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;

}

#header.compact .others {top: 0;} /* 9px */

#header .others ul {}

#header .others li {
	float: left;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
}

#header.compact .others li {
/*	-webkit-transform: scale(0.81);
	-moz-transform: scale(0.81);
	-ms-transform: scale(0.81);
	-o-transform: scale(0.81);
	transform: scale(0.81);*/
}

#header .others li a {
	display: block;
	width: 63px;
	height: 63px;
	font-size: 0;
	text-indent: -5000px;
	background-image: url(../images/common/menu-others.png?v=190709);
	background-repeat: no-repeat;
}

#header.compact .others li a {
	height: 56px;
}

#header .others .c-facebook {background-position: center 0; width: 44px;}
#header .others .c-facebook:hover {background-position: center -63px;}

#header .others .c-contact {background-position: center -126px;}
#header .others .c-contact:hover {background-position: center -189px;}

#header .others .c-jp {background-position: center -252px;}
#header .others .c-jp:hover {background-position: center -315px;}

#header .others .c-member {background-position: center -378px;}
#header .others .c-member:hover {background-position: center -441px;}

#header.compact .others .c-facebook {background-position: center -2px;}
#header.compact .others .c-facebook:hover {background-position: center -65px;}

#header.compact .others .c-contact {background-position: center -128px;}
#header.compact .others .c-contact:hover {background-position: center -191px;}

#header.compact .others .c-jp {background-position: center -254px;}
#header.compact .others .c-jp:hover {background-position: center -317px;}

#header.compact .others .c-member {background-position: center -380px;}
#header.compact .others .c-member:hover {background-position: center -443px;}

#header .others .c-member-avatar {
	position: relative;
	text-indent: 0;
	text-align: center;
	background: none;
}

#header .others .c-member-avatar .avatar {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 30px;
	height: 30px;
	margin: -17px 0 0 -17px;
	border: #dfdfdf 2px solid;
	border-radius: 50%;
	background: #dfdfdf;

	background-image: url(../member/images/member/icon-avatar.svg);
	background-size: cover;

	vertical-align: middle;
	overflow: hidden;
}

#header .others .c-member-avatar .avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#header .secondary {

	display: none;

	position: absolute;
	top: 137px; /* 138px */
	width: 100%;
	padding: 26px 0 14px;
	border-top: #d7000f 7px solid;
	border-bottom: #e6e6e6 1px solid;
	background: #ffffff;

	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;

}

#header.compact .secondary {
	top: 56px; /* 84px */
}

#header .secondary a {
	color: #505050;
	font-size: 14px;
}

#header .secondary .inner {
	width: 940px;
}

#submenu {}
#submenu a {}
#submenu a:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
}
#submenu > div {display: none;}

#submenu .sm-products {font-size: 0;}

#submenu .sm-products > a {
	display: block;
	width: 82px;
	height: 16px;
	margin-bottom: 19px;
	background: url(../images/common/submenu-products-list.png) 0 0 no-repeat;
}

#submenu .sm-products .group {
	margin-bottom: 24px;
	padding-bottom: 26px;
}

#submenu .sm-products .group-alcohol {
	display: inline-block;
	padding-right: 15px;
	border-bottom: #dedede 1px solid;
	vertical-align: top;
}

#submenu .sm-products .group-drink,
#submenu .sm-products .group-special {
	display: inline-block;
	border: none;
	margin-right: 15px;
	margin-bottom: 0;
}

#submenu .sm-products .group-commercial {
	display: inline-block;
	width: 330px;
	border-bottom: #dedede 1px solid;
}

#submenu .sm-products .group:last-child {border: none; margin-bottom: 0;}

#submenu .sm-products .group-title {
	float: left;
/*	width: 79px;*/
/*	height: 19px;*/
	font-size: 19px;
	font-weight: 500;
/*	text-indent: -5000px;*/
	margin: 8px 35px 0 0;
/*	background-image: url(../images/common/submenu-products-title.png);*/
/*	background-repeat: no-repeat;*/
}
/*
#submenu .sm-products .group-alcohol .group-title {
	background-position: 0 0;
}

#submenu .sm-products .group-drink .group-title {
	background-position: 0 -19px;
}
*/

#submenu .sm-products .group-special .group-title {margin-right: 16px;}
#submenu .sm-products .group-commercial .group-title {margin-right: 28px;}
#submenu .sm-products .group-content {float: left;}
#submenu .sm-products .group-content ul {}
#submenu .sm-products .group-content li {float: left; margin-right: 10px;}
#submenu .sm-products .group-content li a {
	display: block;
	width: 110px;
}
#submenu .sm-products .group-content li .pic {
	width: 110px;
	height: 110px;
	background-image: url(../images/common/submenu-products-thumbs.png?v=200525);
	background-repeat: no-repeat;
}
#submenu .sm-products .group-content li .name {
	font-size: 15px;
/*	font-weight: bold;*/
	text-align: center;
	line-height: 20px;
}

#submenu .sm-products .group-commercial li .name {
	padding-bottom: 20px;
}

.group-alcohol .item-1 .pic {background-position: 0 0;}
.group-alcohol .item-2 .pic {background-position: -110px 0;}
.group-alcohol .item-3 .pic {background-position: -220px 0;}
.group-alcohol .item-4 .pic {background-position: -330px 0;}
.group-alcohol .item-5 .pic {background-position: -440px 0;}
.group-alcohol .item-6 .pic {background-position: -550px 0;}

.group-drink .item-1 .pic {background-position: 0 -110px;}
.group-drink .item-2 .pic {background-position: -110px -110px;}

.group-special .item-1 .pic {background-position: 0 -220px;}

.group-commercial .item-1 .pic {background-position: -110px -220px;}

#submenu .sm-about,
#submenu .sm-service {
	padding: 3px 0 4px;
}
#submenu .sm-about .group,
#submenu .sm-service .group {float: left; margin-right: 12px;}
#submenu .sm-about .group:last-child,
#submenu .sm-service .group:last-child {margin-right: 0;}
#submenu .sm-about .group-content,
#submenu .sm-service .group-content {}
#submenu .sm-about .group-content li,
#submenu .sm-service .group-content li {
	margin-bottom: 12px;
	border: #dedede 1px solid;
}
#submenu .sm-about .group-content li a,
#submenu .sm-service .group-content li a {
	display: block;
	width: 303px;
	height: 90px;
	font-size: 0;
	text-indent: -5000px;
	background-image: url(../images/common/submenu-about-items.png);
	background-repeat: no-repeat;
}

#submenu .sm-service .group-content li a {
	background-image: url(../images/common/submenu-service-items.png);
}

#submenu .sm-about .item-1 {background-position: 0 0;}
#submenu .sm-about .item-2 {background-position: 0 -90px;}
#submenu .sm-about .item-3 {background-position: 0 -180px;}
#submenu .sm-about .item-4 {background-position: -303px 0;}
#submenu .sm-about .item-5 {background-position: -606px 0;}
#submenu .sm-about .item-6 {background-position: -303px -90px;}

#submenu .sm-service .item-1 {background-position: 0 0;}
#submenu .sm-service .item-2 {background-position: -303px 0;}
#submenu .sm-service .item-3 {background-position: -606px 0;}

#submenu .sm-community {padding: 4px 0 11px;}

#submenu .sm-community .group {
	float: left;
	width: 250px;
}

#submenu .sm-community .group:last-child {width: 190px;}

#submenu .sm-community .group-title {
	height: 20px;
/*	font-size: 0;
	text-indent: -5000px;*/
	font-size: 19px;
	font-weight: 500;
	text-indent: 0;
	margin-bottom: 22px;
/*	background-image: url(../images/common/submenu-community-title.png);*/
	background-repeat: no-repeat;
}

#submenu .sm-community .group-kirin .group-title {background-position: 0 0;}
#submenu .sm-community .group-bar .group-title {background-position: 0 -20px;}
#submenu .sm-community .group-ichiban .group-title {background-position: 0 -40px;}
#submenu .sm-community .group-afternoontea .group-title {background-position: 0 -60px;}

#submenu .sm-community .group-content {}
#submenu .sm-community .group-content ul {}
#submenu .sm-community .group-content li {line-height: 26px;}
#submenu .sm-community .group-content li a {}



#submenu .sm-blog {}

#submenu .sm-blog ul {
	font-size: 0;
	text-align: center;
	padding-top: 4px;
	padding-bottom: 16px;
}

#submenu .sm-blog li {
	display: inline-block;
	text-align: left;
	margin-right: 25px;
	vertical-align: top;
}

#submenu .sm-blog li:last-child {
	margin-right: 0;
}

#submenu .sm-blog li a {
	display: block;
	width: 215px;
	height: 240px;
}

#submenu .sm-blog .image {
	width: 100%;
	height: 129px;
	background-color: #e0e0e0;
	overflow: hidden;
	/* background-position: center center;
	background-repeat: no-repeat;
	background-size: cover; */
}

#submenu .sm-blog .image img {
	width: 100%;
}

#submenu .sm-blog .info {
	color: #191919;
	font-size: 14px;
	line-height: 22px;
	padding: 10px 20px;
	border: #e0e0e0 1px solid;
	border-top: 0;
	box-sizing: border-box;
}

#submenu .sm-blog .info .text {
	height: 66px;
	display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

#submenu .sm-blog .category {
	color: #555555;
	font-size: 13px;
	margin-bottom: 3px;
	/* font-weight: 500; */
}

#submenu .sm-blog .more {
	display: inline-block;
	color: #575757;
	position: relative;
	/* padding-bottom: 5px;
	border-bottom: #a2a2a2 1px solid; */
	margin: 6px 20px 8px 5px;
}

#submenu .sm-blog .more::after {
	position: absolute;
	top: 2px;
	right: -12.5px;
	display: inline-block;
	width: 7px;
	height: 9px;
	content: '';
	padding-right: 9px;
	vertical-align: top;
	background: url(../images/common/submenu-arrow.png) right center no-repeat;
}

/*****************************************
*                  main                  *
*****************************************/

#main {
	position: relative;
	padding-top: 138px;
	padding-bottom: 933px;
	overflow: auto;
	z-index: 1;
}

.box {
	position: relative;
	width: 940px;
	margin: 0 auto;
}

.box-title {
	position: relative;
	font-size: 0;
	text-indent: -5000px;
	background-position: 0 0;
	background-repeat: no-repeat;
}

.box-content {
	position: relative;
}

/*****************************************
*                 footer                 *
*****************************************/

#footer {
	position: relative;
	/* height: 758px; */
	height: 933px;
	padding-top: 138px;
	/* margin-top: -758px; */
	margin-top: -933px;
	box-sizing: border-box;
	clear: both;
	z-index: 1;
	background: #f7f7f6;
}

#sitemap {}

#sitemap a {}

#sitemap a:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
}

#sitemap .box-title {
	height: 17px;
	font-size: 17px;
	font-weight: 500;
	text-indent: 0;
	margin-bottom: 0;
/*	background-image: url(../images/common/box-title-sitemap.png);*/
}

#sitemap .box-content {
	padding-top: 42px;
	margin-bottom: 0;
}

#sitemap .group {
	float: left;
	width: 117px;
}

#sitemap .group:nth-child(5) {width: 135px;}
#sitemap .group:nth-child(6) {width: 220px;}
#sitemap .group:last-child {
	width: 100%;
	border-top: #dedede 1px solid;
	margin: 40px 0 0;
}

#sitemap .group-title {
	color: #383838;
	font-size: 14px;
	font-weight: 500;
	text-shadow: none;
	padding-bottom: 18px;
}

#sitemap .group:last-child .group-title {padding: 0;}

#sitemap .group-content {font-size: 14px;}
#sitemap .group-content ul {}
#sitemap .group-content li {
	color: #505050;
	line-height: 25px;
}
#sitemap .group-content a {color: #505050;}

#sitemap .group:last-child .group-content {
	padding: 25px 0;
}
#sitemap .group:last-child .group-content ul {text-align: center;}
#sitemap .group:last-child .group-content li {line-height: 33px;}
#sitemap .group:last-child .group-content li.fltL {
	float: none;
	display: inline-block;
	margin: 0 1em;
}
#sitemap .group:last-child .group-content li a {
	color: #383838;
	font-size: 13px;
	font-weight: 500;
}
#sitemap .group:last-child .group-content li:last-child a {
	position: absolute;
	top: -25px;
	right: 0;
	display: block;
	width: 120px;
	height: 33px;
	font-size: 0;
	text-indent: -5000px;
	background: url(../images/common/footer-page-top.png) 0 0 no-repeat;
}

#copyright {
	width: 940px;
	color: #505050;
	font-size: 12px;
	margin: 0 auto;
	/* padding-top: 46px; */
	padding-top: 35px;
	border-top: #dedede 1px solid;
}

/*****************************************
*                   pop                  *
*****************************************/

/*****************************************
*                fetching                *
*****************************************/

.fetching {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.7);
	z-index: 2;
}

.fetching .loader {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 42px;
	height: 42px;
	margin: -25px 0 0 -25px;
	border-top: #d7000f 4px solid;
	border-right: #d7000f 4px solid;
	border-bottom: transparent 4px solid;
	border-left: transparent 4px solid;
	border-radius: 50%;
	-webkit-animation: loader 1.0s linear 0s infinite;
	animation: loader 1.0s linear 0s infinite;
}

@keyframes loader {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	50% {
		-webkit-transform: rotate(180deg);
		transform: rotate(180deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@-webkit-keyframes loader {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	50% {
		-webkit-transform: rotate(180deg);
		transform: rotate(180deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

/*****************************************
*                 loading                *
*****************************************/

/*****************************************
*             common settings            *
*****************************************/

.tst-opacity {
	-webkit-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	-moz-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	-ms-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	-o-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.clearFix:after {
	clear: both;
	content: '.';
	display: block;
	height: 0;
	overflow: hidden;
	visibility: hidden;
}

.ele {position: absolute;}

.fltR {float: right;}
.fltL {float: left;}

.textHide {font-size: 0; text-indent: -5000px;}