@charset 'utf-8';

/*------------------------------------------------------------------------------
 normalize
 ------------------------------------------------------------------------------*/
* {
	margin: 0;
	padding: 0;
	line-height: 1.0;
}
*, ::after, ::before {
	box-sizing: border-box;
}
html {
	height: 100%;
	-webkit-text-size-adjust: 100%;
}
body {
	position: relative;
	height: 100%;
	font-size: 14px;
	font-family: ArialMT, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'メイリオ', sans-serif;
	color: #333;
	background: #EEE;
	-webkit-text-size-adjust: none;
}
a {
	text-decoration: underline;
	color: #36C;
}
a:active {
	opacity: 0.7;
}
img {
	max-width: 100%;
	border: 0;
}
ul, ol {
	list-style: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
button, input, select, textarea {
	font-size: 100%;
	font-family: ArialMT, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'メイリオ', sans-serif;
}
video {
	max-width: 100%;
}

/*------------------------------------------------------------------------------
 wrapper
 ------------------------------------------------------------------------------*/
#wrapper {
	position: relative;
	height: auto !important;
	height: 100%;
	min-height: 100%;
	background: #FFF;
}
@media screen and (max-width: 520px) {
	#wrapper {
		width: 100%;
	}
}
@media screen and (min-width: 521px) {
	#wrapper {
		width: 375px;
		margin: 0 auto;
		border-right: 1px solid #CCC;
		border-left: 1px solid #CCC;
	}
}
#wrapper:after {
	content: '';
	display: block;
	width: 100%;
	height: 46px; /* footer */
}

/*------------------------------------------------------------------------------
 header
 ------------------------------------------------------------------------------*/
#header {
	display: flex;
	align-items: center;
	height: 50px;
	padding: 0 10px;
	color: #FFF;
	/*background: #4CB4DE;*/
	background: #1F9BD4;
}

/* menu */
#header .menu {
	flex: 0 0 30px;
}
#header .menu img {
	width: 100%;
}

/* name */
#header .name {
	flex: 1;
	min-width: 0;
	line-height: 1.2;
	margin-left: 15px;
}
#header .name a {
	display: inline-block;
	padding-right: 20px;
	font-size: 16px;
	font-weight: bold;
	color: #FFF;
	text-decoration: none;
	background: url(/shop/images/external-link.png) no-repeat right 50% / 12px;
}
#header .name a:active {
	opacity: 1;
	color: yellow;
}

/*------------------------------------------------------------------------------
 container
 ------------------------------------------------------------------------------*/
.cHead {
	position: relative;
}
.cHead h2 {
	display: flex;
	align-items: center;
	min-height: 42px;
	padding: 0 8px;
	color: #FFF;
	background: #115982;
	font-size: 15px;
	font-weight: bold;
}
.cHead h2 small {
	font-size: 90%;
	font-weight: normal;
}

/* cHeadLink */
.cHeadLink {
	position: absolute;
	right: 8px;
	top: 13px;
	color: #FFF;
}
.cHeadLink a {
	color: #FFF;
	text-decoration: none;
}

/* cMenu(TOP) */
.cHead._top .cMenu {
	margin: 2px 0 0 auto;
}
.cHead._top .cMenu .marker {
	font-size: 1em;
}

/* cMenu */
.cHead:not(._top) .cMenu {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 40px;
	margin: 1px;
	font-size: 13px;
}
.cHead:not(._top) .cMenu a {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	width: 100%;
	height: 100%;
	padding: 0 5px;
	background: #DEF;
}
.cHead:not(._top) .cMenu a:not(:first-child) {
	width: calc(100% - 1px);
	margin-left: 1px;
}
.cHead:not(._top) .cMenu a.on {
	color: #FFF;
	text-decoration: none;
	text-shadow: 0 1px 1px #444444;
	background: #2F73C8;
}
.cHead:not(._top) .cMenu .marker {
	display: none;
}
.cHead:not(._top) .cMenu small {
	display: none;
}

/* cBody */
.cBody {
	margin: 15px 8px;
}

/* ptSummary */
.ptSummary {
	position: absolute;
	right: 8px;
	top: 5px;
	text-align: center;
	display: block;
	width: 80px;
}
.ptSummary dt {
	height: 15px;
	line-height: 15px;
	font-size: 11px;
	color: #FFF;
	background: #4CCD32;
	border-radius: 2px 2px 0 0;
}
.ptSummary dd {
	height: 18px;
	line-height: 18px;
	font-size: 12px;
	background: #E6F9F8;
	border-radius: 0 0 2px 2px;
}
.ptSummary dd strong {
	margin-right: 3px;
	font-size: 13px;
	color: #008BD1;
}

/*------------------------------------------------------------------------------
 footer
 ------------------------------------------------------------------------------*/
#footer {
	position: absolute;
	left: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 46px;
	font-size: 12px;
	color: #FFF;
	background: #222;
}
#footer a {
	font-size: 14px;
	color: #2AC;
	text-decoration: none;
}
#footer small {
	margin: 0 20px;
	font-size: 1em;
	color: #FFF;
}

/*------------------------------------------------------------------------------
 gMenu
 ------------------------------------------------------------------------------*/
.gMenu {
	overflow: hidden;
}
.gMenu.side {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	position: fixed;
	left: -100%;
	top: 0;
	width: 72%;
	height: 100vh;
	background: #FFF;
	border-left: 2px solid #000;
	transition: all .4s;
	z-index: 200;
}
.gOpen .gMenu.side {
	left: 0;
}

/* h5 */
.gMenu h5 {
	padding: 8px;
	font-size: 13px;
	font-weight: normal;
	color: #FFF;
	background: #1F9BD4;
}

/* item */
.gMenu .item a {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 45px;
	padding: 8px;
	font-weight: bold;
	color: #36C;
	text-decoration: none;
}
.gMenu .item a:active {
	background: #EAF1F8;
	box-shadow: inset 0 0 10px rgba(187,204,237,.7);
}
.gMenu .item a:after {
	position: absolute;
	top: 50%;
	right: 8px;
	content: '';
	display: block;
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-style: solid solid none none;
	border-width: 2px;
	border-color: #36C;
	transform: rotate(45deg);
}
.gMenu .item:not(:last-child) a {
	border-bottom: 1px solid #E1E1E1;
}
.gMenu .item a.nolink {
	color: #999;
	opacity: 0.8;
}
.gMenu .item .count {
	text-align: center;
	display: inline-block;
	width: 18px;
	height: 18px;
	line-height: 18px;
	font-family: Arial;
	font-weight: normal;
	color: #FFF;
	background: #F00;
	border-radius: 100%;
	margin-left: 3px;
}

/*------------------------------------------------------------------------------
 gOverlay
 ------------------------------------------------------------------------------*/
#gOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 100;
	background: #000;
	visibility: hidden;
	opacity: 0;
	transition: all .4s;
	cursor: pointer;
}
.gOpen #gOverlay {
	visibility: visible;
	opacity: 0.8;
}

/*------------------------------------------------------------------------------
 message
 ------------------------------------------------------------------------------*/
#message {
	margin: 15px 0;
	padding: 10px;
	background-color: #FFF;
	background-repeat: no-repeat;
	background-position: 5px 3px;
	border: 1px solid #CCC;
	border-radius: 3px;
}
#message.mssg_error {
	color: red;
	background-color: #FAE2E3;
	background-image: url(/shop/images/ico_error.png);
	border-color: #EC9B9B;
}
#message.mssg_caution {
	color: black;
	background-color: #FFFAC6;
	background-image: url(/shop/images/ico_caution.png);
	border-color: #D3C200;
}
#message.mssg_success {
	color: black;
	background-color: #DFFAD3;
	background-image: url(/shop/images/ico_success.png);
	border-color: #72CB67;
}
#message.mssg_info {
	color: black;
	background-color: #DDE9F7;
	background-image: url(/shop/images/ico_info.png);
	border-color: #50B0EC;
}
#message * {
	line-height: 1.4;
}
#message dt {
	padding-left: 30px;
}
#message dd {
	margin: 10px 0 0;
}
#message dd .errorList {
	color: #222;
}
#message.mar_bot {
	margin-bottom: 15px;
}

/*------------------------------------------------------------------------------
 notice
 ------------------------------------------------------------------------------*/
.notice {
	margin: 15px 0;
	padding: 5px 5px 0 20px;
	font-size: 13px;
	background: #FFC;
	border: 1px solid #CCC;
}
.notice li {
	line-height: 1.4;
	padding: 0 0 5px;
	list-style: square;
}

/*------------------------------------------------------------------------------
 quill
 ------------------------------------------------------------------------------*/
.ql-align-center  { text-align: center;  }
.ql-align-left    { text-align: left;    }
.ql-align-right   { text-align: right;   }
.ql-align-justify { text-align: justify; }
.ql-size-small    { font-size: 0.75em;   }
.ql-size-large    { font-size: 1.5em;    }
.ql-size-huge     { font-size: 2.5em;    }

/*------------------------------------------------------------------------------
 misc
 ------------------------------------------------------------------------------*/
.s  { font-size: 13px; }
.ss { font-size: 12px; }
.c { text-align: center; }
.r { text-align: right; }
.l { text-align: left; }
.lh120 { line-height: 1.2 !important; }
.lh130 { line-height: 1.3 !important; }
.lh140 { line-height: 1.4 !important; }
.lh150 { line-height: 1.5 !important; }
.ib {
	display: inline-block !important;
}
.nowrap {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.noData {
	line-height: 1.4;
	margin: 15px 8px;
}
.infoAlert {
	margin: 15px 8px;
}
#error {
	line-height: 1.4;
	margin: 15px 8px;
	padding: 8px;
	color: red;
	background: #EEE;
	border: 1px solid #CCC;
}
