@charset "utf-8";

/******************************************************
 *
 * ヘッダ
 *
 ******************************************************/
.contents-wrapper {
	padding-top: 90px;
}
.header-shrink .contents-wrapper {
	padding-top: 74px;
}
.header-minimize .contents-wrapper {
	padding-top: 45px;
}
a.link-target-position {
	margin-top: -90px;
	height: 90px;
}
.header-shrink a.link-target-position {
	margin-top: -74px;
	height: 74px;
}
.header-minimize a.link-target-position {
	margin-top: -45px;
	height: 45px;
}
.header-outer-box {
	position: relative;
    width: 100%;
	height: 0;
}
.header-box {
	position: fixed;
	top: 0;
	width: 100%;
	height: 45px;
	background-color: white;
	z-index: 9200; /* img.transparent-overlay < header-box < drawer-overlay < drawer-nav < z-index-max */
}
.header-shrink .header-box {
	height: 74px;
}
.header-minimize .header-box {
	height: 45px;
}
.header-box .header-inner-box {
	border-bottom: 1px solid #bfbfbf;
}
.header-box .header-button-box {
	display: block;
	padding: 3px 5px;
}
.header-box .header-button-box > ul {
	display: table;
	table-layout: fixed;
	width: 100%;
	border-collapse: separate;
	border-spacing: 6px 0;
}
.header-box .header-button-box > ul > li {
	position: relative;
	display: table-cell;
	height: 32px;
}
.header-box .header-button-box > ul > li.header-logo-box {
	vertical-align: middle;
	padding-right: 32px;
}
.header-box .header-logo-button {
	height: 32px;
}
.header-box .header-button-box > ul > li.header-icon-box {
	width: 46px;
}
@media (min-width: 321px) and (max-width: 375px) {
	.header-box .header-button-box > ul > li.header-icon-box {
		width: 44px;
	}
}
@media (max-width: 320px) {
	.header-box .header-button-box > ul > li.header-icon-box {
		width: 42px;
	}
}
@media (max-width: 539px) {
	.header-box .header-logo-button {
		position: relative;
		display: block;
	}
	.header-box .header-logo-button > img {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		display: block;
		margin: auto auto auto 0;
		height: auto;
		max-width: 100%;
		max-height: 100%;
	}
}
@media (min-width: 540px) {
	.header-box .header-logo-button {
		display: table;
		table-layout: fixed;
		border-spacing: 0;
	}
	.header-box .header-logo-button > img {
		display: table-cell;
		height: 32px;
		width: auto;
	}
}
.header-box .header-icon-button {
	position: relative;
    display: block;
    height: 100%;
}
.header-box span.header-icon-button {
    cursor: pointer;
}
.header-box .header-icon-button > img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: block;
	margin: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}

/* ジャンルメニュー */
.header-box ul.header-genre-menu-box {
	display: table;
	table-layout: fixed;
	width: 100%;
}
.header-minimize .header-box ul.header-genre-menu-box {
	display: none;
}
.header-box ul.header-genre-menu-box > li {
	display: table-cell;
	border-top-style: solid;
	border-width: 1px;
	border-color: #bfbfbf;
}
.header-box ul.header-genre-menu-box > li:not(:first-child) {
	border-left-style: solid;
}

.header-shrink .header-box .header-genre-icon-button {
	height: 16px;
}
.header-shrink .header-box .header-genre-icon-button.header-in-expand {
    display: none;
}
.header-box .header-genre-icon-button.header-in-shrink {
    display: none;
}
.header-shrink .header-box .header-genre-icon-button.header-in-shrink {
    display: block;
}
.header-box .header-genre-icon-button > img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: block;
	margin: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}

/* z-index 調整 / 背景調整 */
.header-outer-box .drawer-overlay {
	z-index: 9201;
	background-color: rgba(0, 0, 0, 0.7);
}
.header-outer-box .drawer-nav {
	z-index: 9202;
}