@CHARSET "utf-8";
/*------------------------------------------------------------------------------
	共通
------------------------------------------------------------------------------*/
html {
	font-size: 62.5%;
}

body, input, textarea {
	font-family: "Roboto", "メイリオ", "Meiryo",Verdana, "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", sans-serif;
	font-size: 1.4rem;
}

body * {
	box-sizing: border-box;
}

a {
	color: #333;
}

a:hover {
	color: #00A2D9;
}

input[type=text],
input[type=password],
input[type=time] {
	height: 3.2rem;
	padding: 0 5px;
	border: 1px solid #ccc;
	font-size: 100%;
}

textarea {
	padding: 5px;
	border: 1px solid #ccc;
	font-size: 100%;
}

select, option {
	height: 3.2rem;
	border: 1px solid #ccc;
	font-size: 100%;
}
/*------------------------------------------------------------------------------
	全体
------------------------------------------------------------------------------*/
.sh-wrapper {
	min-height: 100vh;
	color: #333;
	flex-direction: column;
	display: flex;
}
/*------------------------------------------------------------------------------
	ヘッダー
------------------------------------------------------------------------------*/
.sh-wrapper header {
	padding: 10px 20px;
	background: #FDB32B;
	color: white;
	z-index: 1;
}

.sh-wrapper header > ul {
	align-items: center;
	display: flex;
}

.sh-wrapper header > ul > li:first-child {
	font-weight: bold;
}

.sh-wrapper header > ul > li:last-child {
	margin-left: auto;
	position: relative;
}

.sh-wrapper header > ul > li:last-child  > a {
	color: white;
	cursor: pointer;
}

.sh-wrapper header nav {
	right: 0;
	top: calc(100% - 20px);
	padding-top: 20px;
	position: absolute;
	display: none;
	z-index: 1;
}

.sh-wrapper header nav li {
	width: 180px;
	padding: 20px;
	padding-bottom: 0;
	background: white;
	border-left: 1px solid #8892BF;
	border-right: 1px solid #8892BF;
}

.sh-wrapper header nav li:first-child {
	border-top: 1px solid #8892BF;
}

.sh-wrapper header nav li:last-child {
	padding-bottom: 20px;
	border-bottom: 1px solid #8892BF;
}

.sh-wrapper header nav li a {
	width: 100%;
	display: block;
}

.sh-wrapper header > ul > li:last-child:hover > nav {
	z-index: 1;
	display: block;
}
/*------------------------------------------------------------------------------
	メイン
------------------------------------------------------------------------------*/
.sh-wrapper main {
	width: 100%;
	flex: 1;
	display: flex;
}
/*------------------------------------------------------------------------------
	サイドバー
------------------------------------------------------------------------------*/
.sh-sidebar {
	padding: 20px;
	background: #f0f0f0;
	border-right: 1px solid #eee;
}

.sh-sidebar.config {
	background: white;
}

.sh-sidebar label {
	cursor: pointer;
}

.sh-sidebar ul {
	width: 150px;
}

.sh-sidebar p {
	margin-top: 20px;
	font-weight: bold;
	cursor: pointer;
}

.sh-sidebar p:before {
	font-family: FontAwesome;
	content: '\f067';
	padding-right: 5px;
}

.sh-sidebar p.expand:before {
	content: '\f068';
}

.sh-sidebar p + ul {
	display: none;
}

.sh-sidebar p.expand + ul {
	display: block;
}

.sh-sidebar a {
	margin: 20px 0 0 15px;
	display: inline-block;
}

.sh-sidebar input[type=checkbox],
.sh-sidebar .fa-chevron-right {
	display: none;
}

.sh-sidebar.main input[type=checkbox]:checked ~ .fa-chevron-left,
.sh-sidebar.config input[type=checkbox]:checked ~ .fa-chevron-left {
	display: none;
}

.sh-sidebar.main input[type=checkbox]:checked ~ .fa-chevron-right,
.sh-sidebar.config input[type=checkbox]:checked ~ .fa-chevron-right {
	display: block;
}

.sh-sidebar.main input[type=checkbox]:checked ~ ul,
.sh-sidebar.config input[type=checkbox]:checked ~ ul {
	display: none;
}
/*------------------------------------------------------------------------------
	コンテンツ
------------------------------------------------------------------------------*/
.sh-wrapper main .sh-contents {
	padding: 20px;
	flex: 1;
}
/*------------------------------------------------------------------------------
	ビュー
------------------------------------------------------------------------------*/
.sh-wrapper main .sh-contents .sh-view {
	display: flex;
}

.sh-wrapper main .sh-contents .sh-view > li:first-child {
	width: 75%;
	padding-right: 20px;
	border-right: 1px solid #eee;
}

.sh-wrapper main .sh-contents .sh-view > li:last-child {
	width: 25%;
	padding-left: 20px;
}
/*------------------------------------------------------------------------------
	ボタン
------------------------------------------------------------------------------*/
.sh-button {
	padding: 5px 20px;
	background: #FDB32B;
	border: 1px solid #FDB32B;
	color: white;
	font-weight: bold;
	cursor: pointer;
}

.sh-button.s {
	padding: 5px;
	background: #56a764;
	border: 1px solid #56a764;
}

.sh-button:disabled {
	background: #777;
	border: 1px solid #777;
	cursor: auto;
}
/*------------------------------------------------------------------------------
	ページャー
------------------------------------------------------------------------------*/
.sh-pager {
	color: #0b1e47;
	align-items: center;
	flex-wrap: wrap;
	display: flex;
}

.sh-pager .page-info {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sh-pager .page-link {
	display: flex;
	justify-content: flex-end;
	flex-grow: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sh-pager .page-link span {
	color: #fff;
	min-width: 25px;
	text-align: center;
	padding: 1px 5px;
	background: #56A764;
	border: 1px solid #56A764;
	border-radius: 3px;
	margin: 0 3px;
}

.sh-pager .page-link a {
	color: #56A764;
	min-width: 25px;
	text-align: center;
	padding: 1px 5px;
	background: #fff;
	border: 1px solid #56A764;
	border-radius: 3px;
	margin: 0 3px;
}

.sh-pager .page-link .prev, .sh-pager .page-link .next {
	color: #fff;
	padding: 1px 5px;
	background: #56A764;
	border: 1px solid #56A764;
	border-radius: 3px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.sh-pager .page-link .prev {
	margin: 0 3px 0 0;
}

.sh-pager .page-link .prev i {
	margin: 0 3px 0 0;
}

.sh-pager .page-link .next {
	margin: 0 0 0 3px;
}

.sh-pager .page-link .next i {
	margin: 0 0 0 3px;
}

@media screen and (max-width: 767px) {
	.sh-pager .page-info {
		width: 100%;
	}

	.sh-pager .page-link {
		justify-content: center;
		margin: 10px 0 0;
	}
}
/*------------------------------------------------------------------------------
	タブ
------------------------------------------------------------------------------*/
.sh-tab {
	width: 100%;
	display: flex;
}

.sh-tab li {
	padding: 10px 40px;
	background: #f0f0f0;
	border-bottom: 1px solid #ccc;
	cursor: pointer;
}

.sh-tab li:not(:last-child).selected {
	background: white;
	border: 1px solid #ccc;
	border-bottom: none;
	cursor: auto;
}

.sh-tab li:last-child {
	background: white;
	cursor: auto;
	flex: 1;
}
/*------------------------------------------------------------------------------
	テーブル
------------------------------------------------------------------------------*/
.sh-table {
	width: 100%;
	table-layout: fixed;
}

.sh-table th {
	padding: 10px;
	background: #f0f0f0;
	border: 1px solid #ccc;
	text-align: center;
}

.sh-table td {
	padding: 10px;
	border: 1px solid #ccc;
}

.sh-table.no-sep th,
.sh-table.no-sep td {
	background: transparent;
	border: none;
}

.sh-table.no-sep th {
	text-align: right;
}

.sh-table.no-sep-x th,
.sh-table.no-sep-x td {
	border-left: none;
	border-right: none;
}

.sh-table.break th,
.sh-table.break td {
	background: transparent;
	padding: 0;
	border: none;
	text-align: left;
	display: block;
}
.sh-table.break tr:not(:first-child) th {
	padding-top: 20px;
}

.sh-table.break td {
	padding-top: 10px;
}

.sh-table tr.selected {
	background: #f0f8ff !important;
}

.sh-table tr.invalid {
	background: #f0f0f0;
}

.sh-table tr.hide {
	display: none;
}
/*------------------------------------------------------------------------------
	オプションフィールド
------------------------------------------------------------------------------*/
.sh-option-field {
	margin-top: 20px;
}

.sh-option-field > p {
	padding: 10px 20px;
	background: #f0f0f0;
	color: #555;
	border: 1px solid #ccc;
	font-weight: bold;
}

.sh-option-field > div,
.sh-option-field > ul {
	padding: 20px;
	border: 1px solid #ccc;
	border-top: none;
}
/*------------------------------------------------------------------------------
	メディアフィールド
------------------------------------------------------------------------------*/
.sh-media-field  > div > img.media-image {
	max-width: 100%;
	max-height: 80px;
	margin-bottom: 20px;
	display: block;
}

.sh-media-field  > div > input.media-alt {
	margin-bottom: 20px;
	display: block;
}

.sh-media-field  > div > .media-expire {
	margin-bottom: 20px;
}

.sh-media-field  > div > img.media-image[src=''],
.sh-media-field  > div > img.media-image[src=''] ~ .media-alt,
.sh-media-field  > div > img.media-image[src=''] ~ .media-expire,
.sh-media-field  > div > img.media-image[src=''] ~ .media-cancel {
	display: none;
}
/*------------------------------------------------------------------------------
	スニペットプレビュー
------------------------------------------------------------------------------*/
.sh-snippet {
	max-width: 642px;
	padding: 20px;
	border: 1px solid #ccc;
}

.sh-snippet > p:first-child {
	color: #1A0DAB;
	font-size: 20px;
	font-weight: bold;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sh-snippet > p:last-child {
	font-size: 14px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sh-snippet > p:empty {
	display: none;
}
/*------------------------------------------------------------------------------
	ダイアログ（jquery-ui）
------------------------------------------------------------------------------*/
.ui-dialog .ui-dialog-buttonpane {
	border-width: 0 0 0 0;
}

.ui-dialog-buttonset .ui-button {
	background: #FDB32B;
	border: 1px solid #FDB32B;
	color:white;
	font-weight: bold;
}

.ui-dialog-buttonset .ui-button:last-child {
	background: white;
	color: #FDB32B;
}
/*------------------------------------------------------------------------------
	その他
------------------------------------------------------------------------------*/
.sh-page-title {
	color: #555;
	font-size: 2rem;
	font-weight: bold;
}

.sh-page-title.back {
	cursor: pointer;
}

.sh-page-title.back:before {
	content: '\f0a8';
	font-family: FontAwesome;
	padding-right: 5px;
}

.sh-required:after {
	content: '必須';
	margin-left: 5px;
	padding: 3px;
	background: red;
	color: white;
	font-size: 0.8em;
	vertical-align: top;
}

.sh-error {
	margin-bottom: 5px;
	color: red;
	font-size: 0.8em;
}

.sh-error:before {
	content: '\f071';
	font-family: FontAwesome;
	padding-right: 5px;
}

.sh-guide {
	color: #555;
	font-size: 0.8em;
}

.sh-help:after {
	content: "\f059";
	font-family: FontAwesome;
	font-size: 1.6rem;
	padding-left: 5px;
	color: #FDB32B;
	cursor: pointer;
}