/* Global */

html {
	scroll-padding-top: 70px;
}

body,
#hcw,
#footer {
	background: white;
}

body.sm {
	background: linear-gradient(90deg, white 0, var(--cxl) 220px, var(--cxl) 440px, white 440px, white 1300px, var(--cxl) 1300px, white 1520px, white)
		repeat-y center white;
	background-size: 1520px 100%;
}

ul,
ol,
li {
	margin: 0;
	padding: 0;
}

a,
.article .nex {
	text-decoration: solid underline #A4A4A4 1px;
	cursor: pointer;
	transition: color .15s ease-out 0s, text-decoration-color .15s ease-out 0s;
}

a {
	color: var(--cg4);
}

a:hover,
.article .nex:hover {
	color: var(--cm3);
	text-decoration-color: var(--cm3);
}

ul {
	list-style: none;
}

h1 {
	margin: .8em 0;
	color: var(--ctd);
	font-size: 24px;
	font-weight: normal;
	line-height: 1.2em;
}

h1:first-child {
	margin-top: .4em;
}

h2 {
	margin: 1em 0;
}

h2 {
	color: var(--cm3);
	font-size: 18px;
	font-weight: bold;
}

h2 a {
	text-decoration-color: var(--cm3);
}

h3 {
	margin: 1em 0;
	font-size: 14px;
	line-height: 1.2em;
}

h3,
h3 a {
	color: var(--ctd);
}

h4 {
	margin: 1.5em 0 .2em;
	padding: 0 4px 1px;
	border-bottom: 1px solid #A1A1A1;
	background: var(--cmf);
	color: var(--cm3);
	font-size: 12px;
	font-weight: normal;
}

.shd {
	box-shadow: 0 0 3px var(--cgc);
}

.mobile {
	display: none;
}

/* Header */

#header,
#bcn {
	background: linear-gradient(-45deg, var(--cmd), var(--cmf) 530px, var(--cmd) 533px);
}

#hd-tbar {
	height: 32px;
}

#hd-tbar a span {
	text-decoration: underline;
}

#hd-tbar a:hover {
	color: var(--cm3);
}

#hd-tbar a img {
	position: relative;
	top: -1px;
	width: 16px;
	height: 12px;
	vertical-align: middle;
	opacity: .5;
	transition: opacity .15s ease-out 0s;
}

#hd-tbar a:hover img {
	opacity: 1;
}

#hd-tbar .hl-tba,
#hd-tbar .hl-tba span::before,
#hd-tbar .hl-tba span::after {
	transition: background-color .25s ease-out 0s;
}

#hd-tbar .hl-tba {
	display: none;
	justify-content: center;
	position: absolute;
	right: 0;
	width: 48px;
	height: 32px;
	cursor: pointer;
	z-index: 1;
}

#hd-tbar:hover .hl-tba,
#hd-tbar.open .hl-tba {
	background-color: var(--cmd);
}

#hd-tbar .hl-tba span {
	position: relative;
	transition: transform .25s ease-out 0s;
}

#hd-tbar .hl-tba span::before,
#hd-tbar .hl-tba span::after {
	content: '';
	display: block;
	position: absolute;
	left: -7px;
	width: 14px;
	height: 4px;
	background-color: var(--cm0);
}

#hd-tbar .hl-tba span::before {
	top: 11px;
	transform: rotate(45deg);
}

#hd-tbar .hl-tba span::after {
	top: 18px;
	transform: rotate(-45deg);
}

#hd-tbar.open .hl-tba span {
	transform: rotate(90deg);
}

#hd-tbar:hover .hl-tba span::before,
#hd-tbar.open .hl-tba span::before,
#hd-tbar:hover .hl-tba span::after,
#hd-tbar.open .hl-tba span::after {
	background-color: white;
}

#hd-tbar .hl-tbb,
#hd-tbar .hl-tbb a {
	color: var(--cg6);
	font-size: 12px;
	text-decoration: none;
}

#hd-tbar .hl-tbb {
	display: flex;
	justify-content: space-between;
	height: 32px;
}

#hx-tsub {
	display: flex;
}

#hx-tsub > li,
#hx-monx a {
	height: 32px;
}

#hx-tsub > li {
	display: flex;
	align-items: center;
	margin-right: 12px;
}

#hx-monx {
	display: flex;
}

#hx-monx a {
	display: flex;
	align-items: center;
	margin-left: 12px;
	padding-left: 33px;
	background: no-repeat 0 1px;
	background-size: auto 30px;
}

/* ---- */

#ya-site-form0 {
	display: inline-block;
	width: 145px;
	height: 32px;
	vertical-align: top;
}

#ya-site-form0 .ya-site-form__search-input {
	padding: 7px 0 0 5px !important;
}

#ya-site-form0 .ya-site-form__search-input input {
	height: 18px !important;
}

#ya-site-form0 .ya-site-form__submit_type_image {
	height: 16px !important;
	background: url(../images/search.png) no-repeat transparent !important;
	background-size: 16px 16px !important;
}

/* ---- */

#hd-main {
	background: white;
}

#hx-title {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	color: var(--cm0);
}

#hx-title .ts-main {
	font-size: 28px;
	font-weight: bold;
	line-height: 1em;
}

#hx-title .ts-pre,
#hx-title .ts-post {
	padding-left: 1px;
	font-size: 11px;
	font-style: italic;
}

#hx-right ul {
	text-align: right;
}

#hx-right li {
	display: inline-block;
	margin-right: 12px;
}

#hx-right img {
	width: auto;
	height: 80px;
}

#hx-right div {
	padding-right: 12px;
}

#hx-right div a {
	color: var(--cm0);
	font-size: 13px;
	font-weight: bold;
	text-decoration-color: var(--cm0);
}

/* Menu */

#hd-menu li,
#hd-menu li a,
#submenu li a {
	transition: background-color .15s ease-out 0s, color .15s ease-out 0s, text-decoration-color .15s ease-out 0s, opacity .15s ease-out 0s;
}

#hd-menu .ml-service > li > a,
#hd-menu .mx-top a,
#hd-menu .mx-etc a {
	color: white;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
}

#hd-menu li.mi-etc,
#hd-menu .mx-etc,
#hd-menu .mx-sub {
	display: none;
}

#hd-menu li.mi-msm {
	float: left;
}

#hd-menu li.mi-special {
	float: right;
}

#hd-menu .ml-service > li > a {
	width: 24px;
	height: 30px;
	padding: 0 12px;
	background: url(../images/icons.png) no-repeat;
	background-size: 32px auto;
}

#hd-menu li.mi-msm > a {
	background-position: center -1px;
}

#hd-menu li.mi-special > a {
	background-position: center -33px;
}

/* Submenu */

#submenu {
	background: var(--cmf);
}

#hd-menu .mx-sub a,
#submenu li a {
	font-size: 14px;
	line-height: 1.3em;
	text-decoration: none;
}

#submenu.fsm li a {
	font-size: 13px;
}

#hd-menu .mx-sub li.now a,
#submenu li.now a {
	color: var(--cm3);
}

@media (min-width:901px) {

	/* + Menu */

	#hd-menu,
	#hd-menu .mx-top {
		height: 30px;
	}

	#hd-menu {
		position: relative;
		background: var(--cm0);
	}

	#hd-menu .mx-top {
		display: flex;
	}

	#hd-menu .ml-service > li > a,
	#hd-menu .mx-top a {
		display: block;
	}

	#hd-menu .mx-top a {
		display: flex;
		align-items: center;
		height: 30px;
		padding: 0 8px;
	}

	#hd-menu li.mi-msm {
		position: relative;
	}

	#hd-menu li.mi-msm:hover > span {
		position: absolute;
		left: 48px;
		top: 0;
		display: block;
		width: 48px;
		height: 30px;
		z-index: 3;
	}

	#hd-menu .mx-top li.now a {
		background-color: var(--cm5);
	}

	#hd-menu .ml-service > li > a:hover,
	#hd-menu .mx-top li a:hover {
		background-color: var(--cm6);
	}

	#hd-menu .ml-main {
		overflow: hidden;
	}

	/* + MSM */

	#hd-menu li.mi-msm #msm {
		display: flex;
		flex-wrap: wrap;
		position: absolute;
		top: 30px;
		max-height: 0;
		width: 1080px;
		box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
		background: var(--cmf);
		font-size: 13px;
		line-height: 1.2em;
		opacity: .97;
		overflow-y: scroll;
		transition: max-height .25s ease-out 0s, opacity .25s ease-out 0s;
		z-index: 2;
	}

	#hd-menu li.mi-msm:hover #msm {
		max-height: calc(100vh - 182px);
	}

	#msm > span {
		display: block;
		position: sticky;
		top: 0;
		width: 100%;
		z-index: 3;
	}

	#msm > span a {
		position: absolute;
		right: 0;
		width: 30px;
		height: 30px;
		background: url(../images/icons.png) no-repeat center -161px;
		background-size: 32px auto;
		border-radius: 0 0 0 4px;
		opacity: .25;
	}

	#msm > span a:hover {
		background-color: var(--cmd);
		opacity: 1;
	}

	#msm > div {
		width: 240px;
		padding: 0 10px 10px;
	}

	#msm h3 {
		margin: 8px 0 1px;
	}

	#msm h3,
	#msm .msm-etc	{
		position: relative;
		left: -6px;
	}

	#msm .msm-list li {
		position: relative;
	}

	#msm .msm-list li::before {
		display: block;
		position: absolute;
		left: 4px;
		top: 9px;
		width: 5px;
		height: 5px;
		border-radius: 5px;
		background: var(--cm6);
		content: '';
	}

	#msm div a {
		display: block;
		border-radius: 4px;
		text-decoration: none;
	}

	#msm div a:hover {
		background-color: var(--cmd);
		color: var(--cm3);
	}

	#msm h3 a,
	#msm .msm-etc a {
		padding: 6px 6px 4px;
	}

	#msm .msm-list li a {
		padding: 4px 0 3px 14px;
	}

	#msm .msm-etc {
		padding-top: 8px;
	}

	#msm .msm-etc a {
		color: var(--ctd);
		font-size: 14px;
		font-weight: bold;
		line-height: 1.3em;
	}

	#msm-xhc {
		height: 18px;
		padding-left: 2px;
		color: var(--cg8);
		font-size: 18px;
		line-height: 16px;
	}

	/* + Frame */

	body.sm #frame {
		display: flex;
		align-items: flex-start;
	}

	/* + Submenu */

	#submenu {
		flex: 0 0 240px;
		margin: 20px 10px 20px 0;
	}

	#submenu li a {
		position: relative;
		display: block;
		padding: 7px 12px 5px;
	}

	#submenu li.now a {
		background: #D3E6F5;
	}

	#submenu li a:hover {
		background: var(--cmd);
	}

	#submenu li + li a::before {
		position: absolute;
		left: 0;
		top: 0;
		width: 220px;
		display: block;
		height: 1px;
		background: linear-gradient(90deg, var(--cmf) 9px, var(--cmd) 15px, var(--cmd) 205px, var(--cmf) 211px, var(--cmf));
		content: '';
	}

}

/* BCN */

#bcn > div {
	display: flex;
	align-items: center;
	height: 25px;
}

#bcn > div > div {
	padding: 0 12px;
	color: var(--cg4);
	font-size: 12px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

#bcn .bcn-sep {
	display: inline-block;
	position: relative;
	width: 4px;
}

#bcn .bcn-sep::before {
	position: absolute;
	left: 1px;
	top: -6px;
	width: 0;
	height: 0;
	border-width: 3px;
	border-style: solid;
	border-color: transparent transparent transparent var(--cxd);
	content: '';
}

/* Notice */

div.notice {
	border: 1px solid var(--cmb);
	background: var(--cmf);
}

/* Misc */

#content,
.article {
	font-size: 14px;
	line-height: 1.6em;
}

.list li {
	margin: .5em 0 !important;
	padding-left: 11px;
	line-height: 1.2em;
	list-style: circle;
}

/* Content */

#content {
	margin-bottom: 1em;
	padding: 12px 12px 0;
	flex: 1 1 auto;
}

.article .clear {
	padding-top: 1em;
}

.article p {
	margin: 1em 0;
}

.article ul,
.article ol {
	margin: 1.1em 0;
}

.article li ul,
.article li ol {
	margin: 0;
}

.article ul li,
.article ol {
	padding-left: 33px;
}

.article li li {
	padding-left: 20px;
}

.article ul li {
	position: relative;
}

.article ul li::before,
.article li ul li::before {
	display: block;
	position: absolute;
	top: 8px;
	width: 4px;
	height: 4px;
	box-shadow: inset 0 0 0px 1px white;
	content: '';
}

.article ul li::before {
	left: 20px;
	border: 1px solid var(--cxd);
	background: var(--cxd);
}

.article li ul li::before {
	left: 7px;
	border: 1px solid var(--cg5);
	border-radius: 3px;
	background: var(--cg5);
}

.article li ul li ul li::before {
	left: 8px;
	top: 8px;
	width: 3px;
	height: 3px;
	border: 1px solid var(--cxd);
	border-radius: 0;
	background: white;
	box-shadow: none;
	transform: rotate(45deg);
}

.article ol > li {
	padding: 0;
	background: none;
}

.article li {
	margin: 3px 0;
}

.article .lsx > li {
	margin: 6px 0;
}

.article .lsx > li span.lsx-btn {
	display: inline-block;
	position: relative;
	top: 2px;
	width: 17px;
	height: 17px;
	margin-right: 5px;
	border-radius: 2px;
	background: url(../images/icons.png) no-repeat center -135px #80ADD5;
	background-size: 32px auto;
	cursor: pointer;
	vertical-align: top;
	transition: background-color .15s ease-out 0s;
}

.article .lsx > li span.lsx-btn:hover {
	background-color: var(--cm2);
}

.article .lsx > li ul {
	display: none;
}

.article div.hr {
	height: 4px;
	border-top: 1px solid var(--cgd);
}

.article .nex + * {
	display: none;
}

/* Content: Aux */

table.sb,
table.sb td,
table.sb th {
	border: 1px solid var(--cxd);
}

table.sb div.hr {
	border-color: var(--cg8);
}

#ya-site-results img.b-head__logo {
	margin: 0 3px 0 0;
	vertical-align: sub;
}

.mdl-block {
	display: none;
	margin: 8px 0;
	padding: 8px 10px;
	background: #FCFCFC;
	border: 1px solid var(--cge);
	border-radius: 4px;
}

.mdl-block h2 {
	display: none;
}

.mdl-block table {
	margin: 8px 6px 10px;
}

/* Content: Hint */

.hint {
	display: inline-block;
	border-bottom: 1px dotted #0000FF;
}

.hint::after {
	position: absolute;
	display: none;
	width: 374px;
	height: 32px;
	margin: -14px 0 0 -80px;
	content: '';
}

.hint:hover::after,
.hint:hover > div {
	display: block;
}

.hint > div {
	position: absolute;
	width: 360px;
	margin: 18px 0 0 -80px;
	padding: 4px 6px;
	border: 1px solid #A8A8A8;
	border-radius: 5px;
	background: #FFFFD0;
	color: var(--cg4);
	font-size: 11px;
	text-align: left;
	box-shadow: 0 0 3px var(--cgc);
	opacity: .9;
	cursor: default;
	z-index: 1;
}

.hint > div::before,
.hint > div::after {
	position: absolute;
	top: -32px;
	width: 0;
	height: 0;
	border-style: solid;
	content: '';
}

.hint > div::before {
	left: 81px;
	border-width: 16px;
	border-color: transparent transparent var(--cg8) transparent;
}

.hint > div::after {
	left: 80px;
	border-width: 17px;
	border-color: transparent transparent #FFFFD0 transparent;
}

/* Content: Ext */

.cgnews-note {
	margin-top: 3px;
	padding-top: 2px;
	border-top: 1px dashed var(--cgc);
	font-size: 12px;
	font-style: italic;
}

.cgnews-img {
	position: relative;
	top: -2px;
	vertical-align: top;
}

#gl-thumbs {
	font-size: 0;
	line-height: 0;
}

#gl-thumbs img {
	margin: 0 20px 20px 0;
}

/* Footer */

#footer {
	background: var(--cm0);
	font-size: 12px;
}

/* ---- */

#ovft-menu,
#ovft-qap {
	font-size: 13px;
}

#ovft-menu {
	padding-top: 7px;
	background-color: var(--cmd);
}

#ovft-menu ul {
	position: relative;
	padding-right: 48px;
}

#ovft-menu li {
	display: inline-block;
	height: 23px;
	padding-left: 12px;
	vertical-align: middle;
}

#ovft-menu #ovft-m2t {
	position: absolute;
	right: 0;
	top: -7px;
	width: 48px;
	padding: 0;
}

#ovft-menu #ovft-m2t a {
	display: block;
	height: 30px;
	background: url(../images/icons.png) no-repeat center -97px;
	background-size: 32px auto;
	transition: background-color .25s ease-out 0s;
}

#ovft-menu #ovft-m2t a:hover {
	background-color: var(--cmb);
}

#ovft-qap {
	background-color: var(--cmf);
	padding: 16px 0 20px;
}

#ovft-qap h3 {
	margin: 10px 0 6px;
}

#ovft-qap p {
	margin: 0;
}

#ovft-qap li {
	position: relative;
	padding: 2px 0 2px 13px;
}

#ovft-qap li::before {
	display: block;
	position: absolute;
	left: 3px;
	top: 7px;
	width: 5px;
	height: 5px;
	border-radius: 5px;
	background: var(--cm6);
	content: '';
}

/* ---- */

#mpft,
#mpft a {
	color: var(--cmf);
}

#mpft a {
	text-decoration-color: var(--cma);
}

#mpft a:hover {
	text-decoration-color: white;
}

#ofnt {
	margin: 0 12px;
	padding: 2px 0 5px;
	border-top: 1px solid var(--cma);
	color: var(--cmc);
	font-size: 10px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* ---- Thin Top ---- */

body.tton {
	padding-top: 182px;
}

body.tton #header {
	position: fixed;
	top: 0;
	width: 100%;
	box-shadow: 0 0 6px 0 var(--cg8);
	z-index: 2;
}

body.tton #hx-title .ts-pre,
body.tton #hx-title .ts-post,
body.tton #hx-right {
	display: none;
}

body.tton #hd-tbar {
	position: relative;
	height: 0;
}

body.tton #hd-tbar .hl-tba {
	display: flex;
}

body.ttpl #hd-tbar .hl-tbb {
	display: none;
}

body.tton #hd-tbar .hl-tbb {
	display: flex;
	position: absolute;
	left: 0;
	right: 0;
	top: 32px;
	height: 0;
	background-color: var(--cmd);
	overflow: hidden;
	opacity: 0;
	transition: height .25s ease-out 0s, opacity .25s ease-out .1s;
	z-index: 1;
}

body.tton #hd-tbar.open .hl-tbb {
	height: 32px;
	overflow: visible;
	opacity: 1;
}

body.tton #hd-main > div {
	height: 32px;
}

body.tton #hx-title {
	justify-content: center;
	height: 28px;
	padding-left: 38px;
	background-position-y: -400px;
}

body.tton #hx-title .ts-main {
	font-size: 18px;
}

body.tton #hx-title .ts-main p {
	display: inline;
	margin-right: .3em;
}

body.ttal {
	padding-top: 62px;
}

body.ttsp #hd-tbar .hl-tba span,
body.ttsp #hd-tbar .hl-tba span::before,
body.ttsp #hd-tbar .hl-tba span::after {
	background-color: white;
}

body.ttsp #header,
body.ttsp #hd-main,
body.ttsp #hd-menu {
	background: none;
	box-shadow: none !important;
	transition: background-color .15s ease-out 0s;
}

body.ttsp #hx-title,
body.ttsp #hx-right div a {
	color: white;
	text-decoration-color: white;
}

body.ttsp #hx-title {
	background-position-y: -450px;
}

body.ttsp #hx-right {
	display: block;
	width: 200px;
	margin-right: 48px;
	padding-bottom: 3px;
	text-align: right;
	line-height: 11px;
}

body.ttsp #hx-right ul {
	display: none;
}

body.ttsp #hx-right div a {
	font-size: 11px;
}

body.ttsp #hd-tbar:hover .hl-tba {
	background-color: rgba(128, 128, 128, .5);
}

@media (min-width:901px) {

	body.tton #hd-menu li.mi-msm:hover #msm {
		max-height: calc(100vh - 62px);
	}

	body.ttsp #hd-menu .ml-service > li > a:hover,
	body.ttsp #hd-menu .mx-top li a:hover {
		background-color: rgba(128, 128, 128, .5);
	}

}

/* ---- Narrow View ---- */

@media (max-width:1079px) {

	body.sm {
		background-position: -220px 0;
	}

	#hd-tbar .hl-tbb,
	#hd-tbar .hl-tbb a {
		font-size: 11px;
	}

	#hd-menu li.mi-msm #msm {
		width: 900px;
		font-size: 12px;
	}

	#msm > div {
		width: 205px;
	}

	#msm .msm-list li::before {
		top: 8px;
	}

}

/* ---- Tablet View ---- */

@media (max-width:900px) {

	html {
		scroll-padding-top: 40px;
	}
	
	body.sm {
		background-image: none;
	}

	body.sm #content {
		margin-left: 0;
	}

	#hx-monx span,
	#hd-menu .ml-main,
	#bcn,
	#submenu {
		display: none;
	}

	body.tton #header {
		background: var(--cm0);
	}

	body.ttsp #header {
		background: none;
	}

	#hd-tbar .hl-tba {
		right: 0;
		width: 40px;
	}

	#hd-tbar:hover .hl-tba {
		background-color: var(--cm6);
	}

	#hd-tbar .hl-tba span::before,
	#hd-tbar .hl-tba span::after {
		background-color: white;
	}

	#hx-monx li+li a {
		margin-left: 6px;
	}

	body.tton #hd-main {
		margin: 0px 40px;
		background: none;
	}

	#hd-main > div {
		position: relative;
	}

	#hx-title {
		justify-content: flex-start;
	}

	body.tton #hx-title {
		margin-left: 4px;
		background-position-y: -450px;
		color: white;
	}
	
	#hx-title .ts-pre,
	#hx-title .ts-main {
		padding-bottom: 3px;
	}

	#hx-title .ts-main {
		font-size: 20px;
	}

	body.tton #hx-title .ts-main {
		padding-bottom: 0;
		font-size: 11px;
	}

	body.tton #hx-title .ts-main p {
		display: block;
		margin-right: 0;
	}

	#hx-right {
		position: absolute;
		right: 0;
		top: 57px;
		width: 275px;
		padding-top: 0;
		line-height: 14px;
		text-align: right;
		z-index: 1;
	}

	body.ttsp #hx-right {
		position: static;
		margin-right: 0;
		padding-bottom: 4px;
	}

	#hx-right ul {
		display: inline-block;
		padding-left: 24px;
		background: linear-gradient(90deg, transparent, white 24px, white);
	}

	#hx-right ul img {
		width: auto;
		height: 40px;
	}

	#hx-right div a {
		font-size: 11px;
	}

	body.ttsp #hx-right div a {
		color: white;
		text-decoration-color: white;
	}

	#hd-menu .ml-service {
		height: 30px;
		background: var(--cm0);
	}

	body.tton #hd-menu .ml-service {
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		height: 0;
	}

	body.ttsp #hd-menu .ml-service {
		background: none;
	}

	#hd-menu li.mi-etc,
	#hd-menu .ml-service a {
		display: block;
	}

	#hd-menu li.mi-special {
		display: none;
	}

	body.tton #hd-menu .ml-service > li > a {
		height: 32px;
		padding: 0 8px;
	}

	#hd-menu .ml-service > li > a:hover {
		background-color: var(--cm6);
	}

	body.ttsp #hd-menu .ml-service > li > a:hover {
		background-color: rgba(128, 128, 128, .5);
	}

	#hd-menu .ml-main {
		max-height: calc(100vh - 132px);
		overflow: scroll;
	}

	body.tton #hd-menu .ml-main {
		max-height: calc(100vh - 62px);
	}

	#hd-menu .ml-main ul {
		display: flex;
		flex-wrap: wrap;
	}

	#hd-menu .ml-main > * {
		padding: 4px 7px;
	}

	#hd-menu .mx-top,
	#hd-menu .mx-etc {
		background: var(--cm6);
	}

	#hd-menu .ml-main li:last-child {
		margin-right: 0;
	}

	#hd-menu .ml-main a,
	#hd-menu .ml-main a::before {
		display: inline-block;
	}

	#hd-menu .ml-main a {
		box-sizing: border-box;
		height: auto;
		min-height: 24px;
		padding: 4px 5px 1px;
		border-radius: 4px;
		line-height: 1.4em;
	}

	#hd-menu .mx-top li.now a {
		color: var(--cxh);
	}

	#hd-menu .mx-top a:hover,
	#hd-menu .mx-etc a:hover {
		background: var(--cm4);
	}

	#hd-menu .mx-top a::before,
	#hd-menu .mx-etc a::before {
		position: relative;
		top: -2px;
		width: 5px;
		height: 5px;
		margin-right: 4px;
		background: var(--cmd);
		content: '';
	}

	#hd-menu li.mi-etc a::before {
		display: none;
	}

	#hd-menu li.mi-etc a {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 36px;
		height: 100%;
	}

	#hd-menu li.mi-etc a span,
	#hd-menu li.mi-etc a span::before,
	#hd-menu li.mi-etc a span::after {
		display: block;
		position: relative;
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background-color: white;
	}

	#hd-menu li.mi-etc a span::before,
	#hd-menu li.mi-etc a span::after {
		content: '';
		position: absolute;
	}

	#hd-menu li.mi-etc a span::before {
		left: -10px;
	}

	#hd-menu li.mi-etc a span::after {
		left: 10px;
	}

	#hd-menu .mx-etc ul {
		border-top: 1px solid var(--cma);
		padding-top: 4px;
	}

	#hd-menu .mx-sub {
		border-bottom: 1px solid var(--cmd);
		background: var(--cmd);
	}

	#hd-menu .mx-sub a:hover {
		background: var(--cma);
		color: white;
	}

	#hd-menu .mx-sub a::before {
		position: relative;
		top: -2px;
		width: 6px;
		height: 6px;
		margin-right: 4px;
		border-radius: 3px;
		background: var(--cm6);
		content: '';
	}

	#mpft > ul > li,
	#mpft > ul > li:first-child {
		flex: 1 0 120px;
	}

}

/* ---- Mobile View ---- */

@media (max-width:580px) {

	.mobile {
		display: block;
	}
	
	body.tton {
		padding-top: 132px;
	}

	body.ttal {
		padding-top: 62px;
	}

	#hx-tsub li:last-child {
		display: none;
	}

	#hd-main > div {
		min-width: 280px;
		height: 70px;
	}

	#hx-title {
		height: 50px;
		padding-left: 60px;
		background-size: 50px auto;
	}

	body.tton #hx-title {
		background-size: 100px auto;
		font-size: 11px;
	}

	#hx-title .ts-pre,
	#hx-title .ts-post {
		display: none;
	}

	#hx-title .ts-main {
		width: 120px;
		font-size: 13px;
	}

	body.tton #hx-title .ts-main {
		width: auto;
	}

	#hx-right {
		top: 12px;
		background: none;
	}

	body.ttsp #hx-right {
		display: none;
	}

	#hx-right div a {
		font-size: 9px;
	}

}

@media (max-width:420px) {

	#hx-title .ts-main {
		font-size: 12px;
	}

}

@media (max-width:550px) and (min-width:400px) {

	#mpft > ul > li,
	#mpft > ul > li:first-child {
		flex-basis: 170px;
	}

}
