@import url('https://www.m-cellars.com/60029070/wp-content/themes/multipress/style.css');
@import url('https://www.m-cellars.com/60029070/wp-content/themes/multipress/theme.css');
@import url('https://www.m-cellars.com/60029070/wp-content/themes/multipress/common.css');
@import url('https://www.m-cellars.com/files/files_common.css');
@import url('https://www.m-cellars.com/files/files_pc.css');

/* 上記CSS読込で崩れる部分の調整
------------------------------------------------------------------------------------------------------------------- */
/* vertical-align */
.ec-layoutRole__contentTop *,
.ec-layoutRole__contents * {
	vertical-align: baseline;
	color: #333333 !important;
}
/* margin */
.ec-layoutRole__contentTop ol,
.ec-layoutRole__contentTop ol,
.ec-layoutRole__contents ul,
.ec-layoutRole__contents ul {
	margin-top: 0;
	margin-bottom: 10px;
}
.ec-layoutRole__contentTop .h1,
.ec-layoutRole__contentTop .h2,
.ec-layoutRole__contentTop .h3,
.ec-layoutRole__contentTop h1,
.ec-layoutRole__contentTop h2,
.ec-layoutRole__contentTop h3,
.ec-layoutRole__contents .h1,
.ec-layoutRole__contents .h2,
.ec-layoutRole__contents .h3,
.ec-layoutRole__contents h1,
.ec-layoutRole__contents h2,
.ec-layoutRole__contents h3 {
	margin-top: 20px;
	margin-bottom: 10px;
}
/* モーダルのフォント */
#ec-modal-header {
	font-size: 16px;
}
.ec-inlineBtn--action,
.ec-blockBtn--action,
.ec-blockBtn--cancel {
	color: #ffffff !important;
}

/* その他の調整
------------------------------------------------------------------------------------------------------------------- */
/* フォントの基準サイズ */
html {
	font-size: 16px;
}
/* 商品詳細のマージン */
#page_product_detail .ec-categoryNaviRole {
	margin-bottom: 70px;
}
/* 標準のページトップ非表示 */
.ec-blockTopBtn {
	display: none !important;
}
/* 標準の背景色 */
.ec-layoutRole {
	background: none;
}
/* カテゴリ */
.ec-itemNav__nav li a {
	margin: 5px;
	padding: 6px;
	background: #eeeeee;
}
/* 関連商品 */
#RelatedProduct-product_title {
	margin: 50px 0 30px;
	padding: 10px 10px 10px 20px;
	background: #525263;
	color: #ffffff;
	font-size: 21px;
}
/* 詳細不明 */
.ec-borderedDefs dd {
	line-height: 2;
}
/* 商品カテゴリプルダウン▽位置調整 */
.ec-headerSearch .ec-headerSearch__category .ec-select.ec-select_search::before {
	position: absolute;
	top: 0;
	right: 1.4em;
	bottom: 0;
	margin: auto;
}
/* ご注文手続き画面の合計金額ウィンドウ */
.ec-orderRole .ec-orderRole__summary {
	margin-top: 0 !important;
}
.ec-totalBox {
	position: sticky;
	top: 0;
}

/* PC
------------------------------------------------------------------------------------------------------------------- */
@media screen and (min-width: 768px) {
	/* 標準のロゴとコピーライト非表示 */
	.ec-headerRole,
	.ec-footerRole {
		display: none;
	}
	/* ティザーとフッターからのマージン */
	.ec-layoutRole__contentTop,
	.ec-layoutRole__footer {
		margin-top: 70px;
	}
}

/* SP
------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
	/* PC専用の要素を非表示 */
	#branding_box,
	#branding_box #site-description,
	#branding_box #header_information,
	#branding_box #header_information .main_header,
	#branding_box #access,
	#main_teaser,
	#footer_block,
	#footer_block .fixed_btn,
	.ec-headerNaviRole,
	.ec-footerTitle__logo {
		display: none !important;
		height: 0 !important;
	}
	/* 幅調整、背景非表示 */
	body {
		min-width: inherit !important;
		background: none !important;
	}
	/* ハンバーガーメニューの文字はみ出し対策 */
	.ec-drawerRole .ec-headerLinkArea .ec-headerLink__item {
		display: flex;
	}
	/* カートに入れるボタンの文字はみ出し対策 */
	.ec-blockBtn--action {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		justify-content: center;
		white-space: normal;
		line-height: 1.2em;
	}
	/* iPhoneでハンバーガーメニューが見切れる不具合対応 */
	.ec-headerLinkArea {
		padding-bottom: 20vw;
	}
}

/* 以下、案件ごとに追記で調整
------------------------------------------------------------------------------------------------------------------- */
.ec-blockBtn--action {
	border-color: var(--link_color) !important   ;
	background-color: var(--link_color) !important   ;
}
.ec-blockBtn--action:hover {
	color: var(--easys_standard_value006) !important;
	border-color: #9f7b17 !important;
	background-color: #9f7b17 !important;
}

/* ボタン */
.ec-inlineBtn--cancel:hover {
	color: #fff !important;
}

.ec-layoutRole__contents span.ec-inlineBtn--cancel {
	color: #fff !important;
}

.ec-progress__item .ec-progress__number {
	color: #fff !important;
}

/* カテゴリープルダウン */
select.category_id {
	color: #fff !important;
}

/* カート内 */
.ec-progress .is-complete .ec-progress__number,
.ec-progress .is-complete .ec-progress__number {
	background: none #9f7b17 !important;
}
.ec-progress .is-complete .ec-progress__label {
	color: #9f7b17 !important;
}

.ec-cartNavi .ec-cartNavi__badge {
	color: #fff !important;
}

/* キャンセルボタン */
.ec-blockBtn--cancel {
	color: var(--easys_standard_value006) !important;
	border-color: var(--link_color) !important ;
	background-color: var(--link_color) !important   ;
}
.ec-blockBtn--cancel:hover {
	color: var(--easys_standard_value006) !important;
	border-color: #9f7b17 !important   ;
	background-color: #9f7b17 !important    ;
}
/* ナビプルダウン表示 */
#access ul.menu ul.sub-menu li {
	border-bottom: 1px dotted;
}

div#access ul.sub-menu li.sub-gnavi a,
div#access ul.sub-menu li.sub-gnavi2 a {
	display: flex;
	line-height: initial;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-indent: 0;
	height: 55px;
}

div#access ul.sub-menu li.sub-gnavi a:hover,
div#access ul.sub-menu li.sub-gnavi2 a:hover {
	text-decoration: underline;
}
/*ハンバーガーメニュー*/
.ec-drawerRoleClose.is_active,
.ec-headerNavSP {
	left: inherit;
	right: 10px;
	color: var(--body_text_color);
	background-color: var(--basic_background_color);
}
/* 全ての商品ボタン */
.ec-headerSearch .ec-headerSearch__category .ec-select.ec-select_search {
	background-color: var(--link_color);
}
.ec-drawerRole,
.ec-drawerRole .ec-headerLinkArea {
	color: var(--body_text_color);
	background-color: var(--basic_background_color);
}
.ec-drawerRole .ec-headerCategoryArea .ec-headerCategoryArea__heading {
	color: var(--body_text_color);
}
/* ボーダー */
.ec-drawerRole .ec-headerLinkArea .ec-headerLink__list {
	border-top: 1px solid var(--border_color);
}
/* メニューリンク */
.ec-drawerRole .ec-headerLinkArea .ec-headerLink__item {
	color: var(--body_text_color);
	border-bottom: 1px solid var(--border_color);
}
/* ボタン画像版 */
.ec-drawerRoleClose.is_active,
.ec-headerNavSP {
	top: 20px;
	left: inherit;
	right: 20px;
	width: 12.5vw;
	height: 12.5vw;
	padding: 0;
	border-radius: 0;
	background: none transparent;
}
.fa-bars,
.fa-times {
	display: block;
	width: 100%;
	height: 100%;
}
.fa-bars:before,
.fa-times:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
}
.fa-bars:before {
	background: url(https://www.m-cellars.com/files/sp_btn_menu_off.png) no-repeat top center/100%;
}
.fa-times:before {
	background: none transparent;
}

/* メニューオープン時 */
.ec-layoutRole.is_active .fa-bars:before {
	background: none transparent;
}
.ec-drawerRoleClose.is_active .fa-times:before {
	background: url(https://www.m-cellars.com/files/sp_btn_menu_on.png) no-repeat top center/100%;
}

/* コピーライト */
.ec-footerRole {
	border: none;
}

.ec-footerRole .ec-footerRole__inner {
	display: block;
	background: transparent url(https://www.m-cellars.com/files/sp_footer_bg.png) repeat top center / 100%;
	font-style: normal;
	font-size: 12px;
}

.ec-footerRole .ec-footerRole__inner .ec-footerTitle {
	padding: 31vw 0 0;
	background-size: 100% !important;
	height: 37vw;
	color: #fff;
}

/* SPロゴ */
.ec-headerRole {
	padding: 0;
	height: calc(150 / 640 * 100vw);
}

/* 年齢確認ウィンドウ
---------------------------------------------------------------------------------------------------- */
#age_modal {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	display: flex;
	overflow: hidden;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);

	backdrop-filter: blur(5px);
}
#age_modal > div {
	position: relative;
	width: 960px;
	height: 530px;
	background: url('https://www.m-cellars.com/files/bnr_tobira_bg.jpg') center center / cover;
}
#age_modal > div > div {
	position: absolute;
	top: 353px;
	display: block;
	width: 300px;
	height: 70px;
	font-size: 0;
}
#age_modal > div > div::before {
	display: block;
	content: '';
	width: 100%;
	height: 100%;
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	cursor: pointer;
	background-image: radial-gradient(circle at 40% 0, transparent 0%, transparent 70%, #fff 70%, #fff 100%);
	background-size: 100% 500%;
	background-repeat: no-repeat;
	background-position: 50% 0%;
	color: #fff;
	transition: all 1s;
}
#age_modal > div > div:hover::before {
	background-position: 50% 100%;
}
#age_modal > div > div:nth-of-type(1) {
	left: calc(50% - 324px);
}
#age_modal > div > div:nth-of-type(2) {
	left: calc(50% + 24px);
}
#age_modal > div > div a {
	display: block;
	width: 100%;
	height: 100%;
}
#age_modal > div > div {
	border: solid 1px #fff;
}
#age_modal > div > div:nth-of-type(1) a {
	background: url('https://www.m-cellars.com/files/bnr_tobira_btn_yes_off.png') center center / cover;
}
#age_modal > div > div:nth-of-type(2) a {
	background: url('https://www.m-cellars.com/files/bnr_tobira_btn_no_off.png') center center / cover;
}
#age_modal > div > div a::before {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	content: '';
	opacity: 0;
	transition: all 1s;
	background-position: center !important;
}
#age_modal > div > div a:hover:before {
	opacity: 1;
}
#age_modal > div > div:nth-of-type(1) a:hover::before {
	background: url('https://www.m-cellars.com/files/bnr_tobira_btn_yes_on.png') center center / cover;
}
#age_modal > div > div:nth-of-type(2) a:hover::before {
	background: url('https://www.m-cellars.com/files/bnr_tobira_btn_no_on.png') center center / cover;
}
/* SP */
@media screen and (max-width: 768px) {
	#age_modal > div {
		width: calc(100vw * (640 / 640));
		height: calc(100vw * (550 / 640));
		background: url('https://www.m-cellars.com/files/sp_bnr_tobira_bg.png') center top/100%;
	}
	#age_modal > div > div {
		top: calc(100vw * (340 / 640));
		width: calc(100vw * (320 / 640));
		height: calc(100vw * (210 / 640));
		border: none;
	}
	#age_modal > div > div a {
		background: none !important;
	}
	#age_modal > div > div:nth-of-type(1) {
		left: 0;
		background: url('https://www.m-cellars.com/files/sp_bnr_tobira_btn_yes.png') center center / cover;
	}
	#age_modal > div > div:nth-of-type(2) {
		left: 50%;
		background: url('https://www.m-cellars.com/files/sp_bnr_tobira_btn_no.png') center center / cover;
	}
	#age_modal > div > div:nth-of-type(2) > a {
		display: none;
		opacity: 0;
	}
	#age_modal > div > div > a:hover:before {
		opacity: 0;
	}
	#age_modal > div > div:nth-of-type(1) > a:hover::before {
		background: none;
	}
	#age_modal > div > div:nth-of-type(2) > a:hover::before {
		background: none;
	}
	#age_modal > div > div::before,
	#age_modal > div > div a::before {
		display: none;
	}
}
