/* ======================================================================================
HTML5において<style>タグを<head>の外に書くのは禁止の為、head内に書けない場合はここに書く

・ファイルが大きくなり過ぎるデメリットがあるが試してみる
・共通で使うものを増やして工夫する
・adjust.cssもうまく利用する
・基本的にテンプレファイルごとにスタイルを分ける
・必ずコメントでどのテンプレかをわかるようにする
・ＨＴＭＬタグでの指定は極力使わない
・インラインスタイルも活用する
・スコープをうまく使う
.page-a .xxx {
	ページA用
}
.page-b .yyy {
	ページB用
}

media queryは
360px  => sp
600px  => tab
900px  => PC
で書く
基本は320px想定で書く

====================================================================================== */

/* === /main ここまで ================ */

/* === header ================ */
/* 右からスライドイン */
div#js-modal-blackBack {	/* js用 */
	display: none;
	width: 100%;
	height: 100%;
	background: #00000080;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
}
section#js-modal-hMenuParentWrap {	/* js用 */
	position: fixed;
	top: 0;
	left: 100vw;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: flex-end;
	opacity: 0;
	visibility: hidden;
	z-index: 100;
	transition: 0.3s;
}
.js-modal-hMenuWrap {
	background: #fff;
	width: 100%;
	flex: 1;
	max-width: 400px;
	height: 100vh;
	overflow-y: auto;
	box-sizing: border-box;
	padding-bottom: 60px;	/* iosアプリも考慮して余分に下マージンを取る */
}
.modal-hMenuCloseBtnWrap {
	width: 52px;	/* 16 + 20 + 16 */
	height: 52px;
	font-size: 0;
	padding: 16px;
	box-sizing: border-box;
}
.modal-hMenuCloseBtnWrap img {
	width: 20px;
}

/* header */
.header-fixedWrap {
	width: 100vw;	/* モーダル出したときのスクロールバーによるページの横移動対策 */
	position: fixed;	/* 浮かせている場合bodyのpadding-topとheaderの高さを合わせる */
	top: 0;
	z-index: 20;
	background: #fff;
	box-shadow: 0 0 3px #bbb;
	box-sizing: border-box;
}
.header-mainWrap {
	height: 50px;	/* 浮かせている場合bodyのpadding-topとheaderの高さを合わせる */
}
body {
	padding-top: 50px;	/* 浮かせている場合bodyのpadding-topとheaderの高さを合わせる */
}

/* logo item */
.header-logo-link {
	display: block;
	padding: 16px;
}
.header-logo-image {
	width: 88px;
	height:  auto;
	display: block;
}

/* icon items */
.header-icon-itemWrap {	/* 要320対応 */
	display: flex;
	flex-direction: row;
	align-items: center;
	padding-right: 8px;
	gap: 14px;
}
.header-icon-item {
	width: 28px;
}
.header-icon-trigger {
	all: unset;
	display: block;
	cursor: pointer;
	position: relative;
	width: 100%;
	padding-bottom: 100%;
}
[data-wrap-name="switch-age-restricted"] .header-icon-trigger {
	padding-bottom: 68%;
}
.header-icon-trigger img,
.header-icon-trigger svg {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
}
#js-icon-header-switch-age-restricted {	/* 年齢制限アイコン jsで画像切替 */
	display: none;
}
.header-signin-wrap {
	min-width: 54px;	/* jsでの出し分けの幅確保 */
}
.header-signin-wrap [data-btn-name="sign up"],
.header-signin-wrap [data-btn-name="log in"] {	/* 要320対応 */
	min-height: auto;
	font-size: 12px;
	background: #E3003B;
	color: #fff;
	padding: 4px 6px;
	border-color: #E3003B;
	box-shadow: none;
}

/* --- cart --- */
.header-icon-item-cart-badge {
  display: none;  /* Jで表示 */
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -5px;
  right: -10px;
  padding: 2px 4px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  background: #f4364a;
  color: #fff;
  min-width: 20px;
  box-sizing: border-box;
}

/* 来店ポイントのアニメーション */
/* 共通の赤丸スタイル（News, Points 用） */
.flag-mark {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	padding: 0 6px;
	height: 24px;
	text-align: center;
	line-height: 18px;
	background: #f4364a;
	color: white;
	border-radius: 999px;
	font-size: 11px;
	font-family: verdana, sans-serif;
	font-weight: bold;
	border: solid 2px white;
	vertical-align: middle;
	margin-left: 0.5em;
}

.flag-mark.is-hidden {
	display: none;
}

/* マイページ用のバッチ */
.js-mypage-point-flag,
.js-mypage-news-flag {
	position: absolute;
	top: 0;
	right: calc(50% - 48px);
	margin: 0;
}

/* ヘッダー用の赤丸サイズだけ個別で調整 */
.js-header-menu-flag {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: -5px;
	right: -5px;
	width: 20px;
	min-width: 20px;
	height: 20px;
	line-height: 16px;
	padding: 0;
	border-radius: 50%;
	font-size: 12px;
	animation: switchtext 0.5s 6 alternate;
}

@keyframes switchtext {
	from { opacity: 1.0; }
	to { opacity: 0; }
}
.hamMenu-mark-pointVitFlag-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* menuの中身 */
.hamMenu-userRank-flag_1 {
	display: none !important;
}
.hamMenu-userRank-flag_2 {
	margin-bottom: 8px;
}
.hamMenu-userRank-mark {
	width: auto;
	min-width: fit-content;
	background: #4c5069;
	color: #f7e8bc;
	border: solid 2px #4c5069;
}
.hamMenu-userRank-markInner {
	border: solid 2px #f7e8bc;
	font-size: 12px;
	font-weight: bold;
	padding: 2px 4px;
}
.hamMenu-icon-wrap {
	width: 28px;
}

/* media query */
@media screen and (min-width:360px){
	.header-icon-itemWrap {
		gap: 16px;
	}
	.header-signin-wrap [data-btn-name="sign up"],
	.header-signin-wrap [data-btn-name="log in"] {	/* 要320対応 */
		font-size: 14px;
	}	
}
@media screen and (min-width:600px){	/* ここからTAB想定 */
	.header-mainWrap {
		height: 65px;	/* 浮かせている場合bodyのpadding-topとheaderの高さを合わせる */
	}
	body {
		padding-top: 65px;	/* 浮かせている場合bodyのpadding-topとheaderの高さを合わせる */
	}
	.header-icon-itemWrap {
		gap: 32px;
	}
	.header-icon-item {
		width: 32px;
	}
	.header-signin-wrap [data-btn-name="sign up"],
	.header-signin-wrap [data-btn-name="log in"] {	/* 要320対応 */
		padding: 6px 8px;
		font-size: 16px;
	}	
}
@media screen and (min-width:900px){	/* ここからPC想定 */
	.js-modal-hMenuWrap {
		max-width: 600px;
	}
}

/* === header ここまで ================ */

/* === footer ================ */
footer {	/* cls対策でjsで表示frameにある */
	background: #333;
	transition: opacity 0.3s ease;
	opacity: 0;
	visibility: hidden;
}
footer.showOn {
	opacity: 1;
	visibility: visible;
}
.footerInnerWrap {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	padding: 48px 16px;
}
footer * {
	box-sizing: border-box;
}
.footer-contents-wrap {
	margin-bottom: 32px;
}
.footer-contents-wrap > ul {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.footer-contents-wrap > ul > li {
	list-style: none;
	width: 50%;
	margin-bottom: 16px;
}
.footer-contents-wrap > ul > li > a {
	color: #fff;
}
.footer-contents-wrap > ul > li > a:hover {
	text-decoration: underline;
	color: #cacaca;
	cursor: pointer;
}
.footer-SNS-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.footer-SNS-title {
	color: #fff;
	margin-bottom: 16px;
}
.footer-SNS-listWrap {
	display: flex;
	flex-direction: row;
	margin-bottom: 16px;
}
.footer-SNS-listItem {
	border-radius: 30px;
	background:#fff;
	margin: 0 8px;
	display: block;
	position: relative;
	width: 32px;
	height: 32px;
}
.footer-SNS-logo{
	width:32px;
	height:32px;
	padding:6px;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
.footer-abj-wrap {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 16px;
}
.footer-abj-cover-wrap {
	font-size: 0;
}
.footer-abj-cover-wrap img {
	width: 60px;
	display: block;
}
.footer-abj-text-wrap {
    font-size: 14px;
		color: #cacaca;
}
.footer-abj-text-wrap a {
    color: #cacaca;
		display: inline-block;
		text-decoration: underline;
}
.footer-abj-text-wrap a:hover {
	opacity: 0.8;
	text-decoration: none;
}

/* media query */
@media screen and (min-width:360px){
}
@media screen and (min-width:600px){	/* ここからTAB想定 */
	.footerInnerWrap {
		flex-direction: row;
	}
	.footer-contents-wrap{
		width: 50%;
	}
}
@media screen and (min-width:900px){	/* ここからPC想定 */
}
/* === footer ここまで ================ */











