@charset "UTF-8";

/* reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Common setting */
* {
	font-family: Verdana,"游ゴシック Medium","Yu Gothic Medium","游ゴシック体",YuGothic,sans-serif;
  font-size: 13px;
  color: #333;
}

.block-header {
	display: flex;
	flex-direction: column;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	width: 200px;
	height: 100vh;
}

.block-main {
	position: relative;
	padding: 10px 10px 30px 224px;
}

.block-main.is-fk-choice-list {
	padding: 10px 10px 30px 10px;
}

.button-large,
.button-large-gray,
.button-middle,
.button-middle-gray,
.button-small,
.button-small-gray,
.button-smaller,
.button-smaller-gray,
.button-smallest,
.button-smallest-gray {
  display: inline-block;
	box-sizing: border-box;
	text-align: center;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
	text-decoration: none;
}

.button-large,
.button-large-gray {
	border-radius: 6px;
	font-size: 15px;
	line-height: 30px;
	min-width: 120px;
	padding: 0 15px;
	font-weight: bold;
}

.button-middle,
.button-middle-gray {
	border-radius: 5px;
	font-size: 13px;
	line-height: 26px;
	min-width: 100px;
	padding: 0 10px;
	font-weight: bold;
}

.button-small,
.button-small-gray {
	border-radius: 4px;
	font-size: 9px;
	line-height: 18px;
	min-width: 80px;
	padding: 0 5px;
}

.button-smaller,
.button-smaller-gray {
  border-radius: 4px;
  font-size: 9px;
  line-height: 18px;
  min-width: 70px;
  padding: 0 5px;
}

.button-smallest,
.button-smallest-gray {
  border-radius: 4px;
  font-size: 9px;
  line-height: 18px;
  min-width: 60px;
  padding: 0 5px;
}

.button-large,
.button-small,
.button-smaller,
.button-smallest,
.button-middle {
	color: #fff;
	background-color: rgba(0, 123, 187, 0.9);
	border: 1px solid rgb(0, 123, 187);
	transition-duration: 200ms;
	transition-property: background-color, box-shadow;
}

.button-icon {
  margin: 0;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  padding: 2px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background: #eee;
  cursor: pointer;
}
.button-icon:hover {
  background: #fdd;
  border-color: #f99;
}

@supports(--css: variables) {
	.button-large,
  .button-small,
  .button-smaller,
  .button-smallest,
	.button-middle {
		background-color: var(--main-color-a9, rgba(0, 123, 187, 0.9));
		border: 1px solid var(--main-color, rgb(0, 123, 187));
	}
}

.button-large:hover,
.button-small:hover,
.button-smaller:hover,
.button-smallest:hover,
.button-middle:hover {
	background-color: #fff;
	color: rgb(0, 123, 187);
	box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.2);
}

@supports(--css: variables) {
	.button-large:hover,
  .button-small:hover,
  .button-smaller:hover,
  .button-smallest:hover,
	.button-middle:hover {
		color: var(--main-color, rgb(0, 123, 187));
	}
}


.button-large-gray,
.button-small-gray,
.button-smaller-gray,
.button-smallest-gray,
.button-middle-gray {
	color: #666;
	background-color: #eee;
	border: 1px solid #888;
	transition-duration: 200ms;
	transition-property: background-color, box-shadow;
}

.button-large-gray:hover,
.button-small-gray:hover,
.button-smaller-gray:hover,
.button-smallest-gray:hover,
.button-middle-gray:hover {
	background-color: #f5f5f5;
	box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.2);
}

/* Login */
.block-login form {
	display: block;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #f5f5f5;
	border: 1px solid #888;
	border-radius: 5px;
	width: 300px;
	text-align: center;
	padding: 10px;
	box-sizing: border-box;
	box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.2);
}

.block-login p {
	color: #e60033;
	text-align: center;
	font-size: 13px;
	line-height: 20px;
	padding: 10px 0;
}

.block-login dl {
	margin-top: 10px;
	margin-bottom: 15px;
	display: flex;
	flex-flow: row wrap;
	width: 100%;
}

.block-login dt {
	flex-basis: 40%;
	font-size: 14px;
	color: #333;
	padding-bottom: 5px;
	line-height: 28px;
}

.block-login input[type="text"],
.block-login input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	font-size: 13px;
	line-height: 200%;
	-webkit-appearance: none;
	appearance: none;
	padding: 0 3px;
	border: 1px solid #888;
	border-radius: 3px;
	box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.2) inset;
}

.block-login dd {
	flex-basis: 60%;
	padding-bottom: 5px;
}

/* Logo */
.block-logo {
	flex-basis: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #fff;
	position: relative;
}

.block-logo img {
	width: 100%;
}

.block-logo .profile-name {
    position: absolute;
    right: 5px;
    bottom: 5px;
    text-shadow: -2px -2px 10px rgb(0, 123, 187),
                  2px -2px 10px rgb(0, 123, 187),
                  -2px 2px 10px rgb(0, 123, 187),
                   2px 2px 10px rgb(0, 123, 187);
    color: white;
    font-size: 25px;
}
@supports(--css: variables) {
    .block-logo .profile-name {
        text-shadow: -2px -2px 10px var(--main-color, rgb(0, 123, 187)),
                      2px -2px 10px var(--main-color, rgb(0, 123, 187)),
                      -2px 2px 10px var(--main-color, rgb(0, 123, 187)),
                       2px 2px 10px var(--main-color, rgb(0, 123, 187));
    }
}

.block-list-action {
  margin: 10px 0;
  visibility: hidden;
  opacity: 0;
  transition-property: visibility, opacity;
  transition-duration: 200ms;
}

.block-list-action.enabled {
  visibility: visible;
  opacity: 1;
  }

.list-action-item {
  margin-right: 10px;
}

.list-action-item button {
  min-width: 60px;
}

/* Menu */
.block-menu {
	flex-grow: 1;
	overflow: auto;
	background-color: rgb(0, 123, 187);
	padding-bottom: 20px;
}

@supports(--css: variables) {
	.block-menu {
		background-color: var(--main-color, rgb(0, 123, 187));
	}	
}

.menu_item {
	margin-top: 10px;
}

.menu-item p {
	position: relative;
	padding: 0 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.4);
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	font-size: 13px;
	line-height: 32px;
	color: #fff;
	font-weight: bold;
}

.button-toggle-category {
	position: absolute;
	width: 24px;
	height: 24px;
	top: 4px;
	right: 4px;
	overflow: hidden;
	cursor: pointer;
}

.button-toggle-category svg {
	fill: rgba(255, 255, 255, 0.4);
	transition-duration: 200ms;
	transition-property: fill, transform;
}

.button-toggle-category svg:hover {
	fill: rgba(255, 255, 255, 0.6);
}

.button-toggle-category.close svg {
	transform: rotate(180deg);
}

.button-toggle-category.load-close svg {
	transition-property: none!important;
}

.menu-item li {
	padding: 0 10px;
	background-color: rgba(255, 255, 255, 0.1);
	transition-duration: 200ms;
	transition-property: background-color;
}

.menu-item li:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

.menu-item li a {
	display: block;
	font-size: 13px;
	line-height: 250%;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Account */
.block-account {
	flex-basis: 40px;
	position: relative;
}

.block-account p {
	font-size: 13px;
	text-align: center;
	color: #333;
	line-height: 40px;
	background-color: #ddd;
	overflow: hidden;
	white-space: nowrap;
}

.block-account nav {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 200px;
	height: 40px;
	background-color: #fff;
}

.block-account a {
	display: block;
	font-size: 13px;
	color: #fff;
	text-decoration: none;
	line-height: 40px;
	text-align: center;
	background-color: rgba(0, 123, 187, 0.8);
}

@supports (--css: variables) {
	.block-account a {
		background-color: var(--main-color-a8, rgba(0, 123, 187, 0.8));
	}
}

/* Toggle header Button */
.button-toggle-header {
	position: fixed;
	top: 50%;
	margin-top: -12px;
	left: 200px;
	display: block;
	height: 24px;
	width: 24px;
	overflow: hidden;
}

/* Title */
.block-title {
	margin-bottom: 20px;
	height: 24px;
	font-size: 24px;
}

.block-title h1 {
	display: inline-block;
	font-size: 24px;
	line-height: 24px;
	font-weight: bold;
	color: #333;
	margin-right: 5px;
	vertical-align: middle;
}

.button-toggle-search {
	display: inline-block;
	vertical-align: middle;
	height: 24px;
	width: 24px;
	overflow: hidden;
}

.button-toggle-header svg,
.button-toggle-search svg,
.button-toggle-action {
	fill: #aaa;
	cursor: pointer;
	transition-duration: 200ms;
}

.button-toggle-header svg,
.button-toggle-search svg {
	width: 24px;
	height: 24px;
	transition-property: fill, transform;
}

.button-toggle-action {
	width: 21px;
	height: 21px;
	transition-property: fill;
}

.button-toggle-header svg:hover,
.button-toggle-search svg:hover,
.button-toggle-action:hover {
	fill: rgb(0, 123, 187);
}

@supports (--css: variables) {
	.button-toggle-header svg:hover,
	.button-toggle-search svg:hover,
	.button-toggle-action:hover {
		fill: var(--main-color, rgb(0, 123, 187));
	}
}

.button-toggle-header.close svg,
.button-toggle-search svg.open {
	transform: rotate(180deg);
}

.button-toggle-header.load-close svg {
	transition-property: none!important;
}

/* Sub menu */
.block-sub-menu {
	position: absolute;
	right: 10px;
	top: 10px;
}

.block-sub-menu li {
	display: inline-block;
}

/* List */
.block-list {
	width: 100%;
	line-height: 150%;
	margin-bottom: 20px;
}

.block-list tr {
  background-color: #ffffff;
}

.block-list tr:nth-child(odd) {
	background-color: #f8f8f8;
}

.block-list tr.selected {
	background-color: #FADBDE;
}

@supports (--css: variables) {
	.block-list tr.selected {
		background-color: var(--main-color-a2, #FADBDE);
	}
}

.block-list th {
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
	background-color: #eee;
	color: #555;
	font-weight: bold;
	text-align: center;
	vertical-align: top;
	line-height: 18px;
	position: relative;
	padding: 4px 3px 11px 3px;
	min-width: 23px;
}

.block-list th:first-child {
	border-left: 1px solid #eee;
}

.block-list th:last-child {
	border-right: 1px solid #eee;
}

.block-list td {
	padding: 1px 3px;
	border: 1px solid #eee;
}

.block-list td.wordbreak {
	word-break: break-all;
}

.block-list td.ellipsis {
	max-width: 300px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.list-header {
	color: #555;
	text-align: center;
	padding-bottom: 4px;
}

.list-sort {
	display: flex;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
}

.list-sort li {
	font-size: 9px;
	line-height: 11px;
	width: 50%;
	box-sizing: border-box;
}

.list-sort li:first-child {
	border-right: 1px solid #fff;
}

.list-sort a {
	color: #ddd;
	text-decoration: none;
	transition-duration: 200ms;
	transition-property: color;
}

.list-sort a.active {
	color: #aaa;
}

.list-sort a:hover {
	color: #aaa;
}

.block-list .list-pk {
  position: sticky;
  left: 0;
  z-index: 20;
}

.block-list .list-command {
  position: sticky;
  right: 0;
  z-index: 20;
  text-align: center;
  width: 10px;
}

.block-list th {
  position: sticky;
  top: 0;
  z-index: 10;
}

.block-list th.list-pk, .block-list th.list-command {
  z-index: 30;
}

.block-list td.list-pk, .block-list td.list-command {
  white-space: nowrap;
  vertical-align: middle;
  background: inherit;
}

.block-list .list-pk:before {
  content: "";
  display: inline-block;
  height: 100%;
  border: 1px solid;
  top: 0;
  right: 0;
  position: absolute;
}

.block-list .list-command:before {
  content: "";
  display: inline-block;
  height: 100%;
  border: 1px solid;
  top: 0;
  left: 0;
  position: absolute;
}

.block-list th.list-pk:before, .block-list th.list-command:before {
  border-color: #fff;
}

.block-list td.list-pk:before, .block-list td.list-command:before {
  border-color: #eee;
}

.block-list .list-button {
	width: 50px;
	min-width: 50px;
	padding: 1px;
	display: inline-block;
}

.list-button input[type="submit"],
.list-button input[type="button"],
.list-button button {
	display: block;
	width: 100%;
	font-size: 12px;
	line-height: 24px;
	text-align: center;
	-webkit-appearance: none;
	appearance: none;
	border: 1px solid #888;
	color: #666;
	background-color: #eee;
	border-radius: 3px;
	padding: 0;
	margin: 1px;
	transition-duration: 200ms;
	transition-property: color, background-color, border;
}

.list-button input[type="submit"]:hover,
.list-button input[type="button"]:hover,
.list-button button:hover {
	color: rgb(0, 123, 187);
	background-color: #fff;
	border: 1px solid rgb(0, 123, 187);
}

@supports (--css: variables) {
	.list-button input[type="submit"]:hover,
	.list-button input[type="button"]:hover,
	.list-button button:hover {
		color: var(--main-color, rgb(0, 123, 187));
		border: 1px solid var(--main-color, rgb(0, 123, 187));
	}
}

.block-list td.list-action {
	position: relative;
	width: 21px;
	padding: 0;
	vertical-align: middle;
}

.list-action svg {
	vertical-align: middle;
}

.list-action-menu {
	display: none;
	position: fixed;
	right: 35px;
	min-width: 150px;
	max-width: 250px;
	border: 1px solid #888;
	z-index: 100;
	box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.2);
}

.list-action-menu input[type="submit"] {
	display: block;
	font-size: 13px;
	line-height: 250%;
	text-align: center;
	background-color: #fff;
	color: #666;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	border: none;
	padding: 0 5px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	box-sizing: border-box;
}

.list-action-menu input[type="submit"]:hover {
	color: #fff;
	background-color: rgb(0, 123, 187);
}

@supports (--css: variables) {
	.list-action-menu input[type="submit"]:hover {
		background-color: var(--main-color, rgb(0, 123, 187));
	}
}

/* Pagenation info */
.block-pagination-info {
	margin-bottom: 10px;
	position: relative;
}

.pagination-info-nolist {
	font-size: 15px;
	line-height: 200%;
}

.pagination-info {
	color: #888;
}

.list-csv-interface {
	position: absolute;
	top: -5px;
	right: 0;
}

.list-csv-interface form {
	display: inline-block;
}

.align-top {
  text-align: left;
  vertical-align: top;
}

.align-middle {
  text-align: left;
  vertical-align: middle;
}

.align-center {
  text-align: center;
  vertical-align: middle;
}

.icon-label {
  display: inline-block;
  border: 1px solid;
  border-radius: 5px;
  padding: 2px;
  margin: 5px 0;
  text-align: center;
  white-space: nowrap;
  background: #fff;
}

/* Pagination */
.block-pagination nav {
	text-align: center;
	font-size: 0;
}

.block-pagination ul {
	display: inline-block;
}

.pagination-before,
.pagination-next,
.block-pagination li {
	margin: 0 2px;
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	text-align: center;
	min-width: 26px;
	border: 1px solid rgb(0, 123, 187);
	background-color: rgb(0, 123, 187);
	color: #fff;
	line-height: 24px;
	border-radius: 13px;
	font-size: 12px;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
	transition-property: background-color, box-shadow;
	transition-duration: 200ms;
}

@supports (--css: variables) {
	.pagination-before,
	.pagination-next,
	.block-pagination li {
		border: 1px solid var(--main-color, rgb(0, 123, 187));
		background-color: var(--main-color, rgb(0, 123, 187));
	}
}

.block-pagination li a {
	padding: 0 3px;
}

.pagination-before a,
.pagination-next a {
	padding: 0 10px;
}

.pagination-before {
	margin-right: 10px;
}

.pagination-next {
	margin-left: 10px;
}

.pagination-before:hover,
.pagination-next:hover,
.block-pagination li:hover {
	background-color: #fff;
	box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.2);
}

.block-pagination .pagination-current,
.block-pagination .pagination-dot {
	background-color: transparent;
	color: #888;
	border: 1px solid transparent;
	box-shadow: none;
}

.block-pagination .pagination-current:hover,
.block-pagination .pagination-dot:hover {
	box-shadow: none;
	background-color: transparent;
}

.block-pagination .pagination-dot {
	padding: 0;
	margin: 0;
}

.block-pagination nav a {
	display: block;
	text-decoration: none;
	color: #fff;
	text-align: center;
	transition-property: color;
	transition-duration: 200ms;
}

.block-pagination nav a:hover {
	color: rgb(0, 123, 187);
}

@supports (--css: variables) {
	.block-pagination nav a:hover {
		color: var(--main-color, rgb(0, 123, 187));
	}
}

/* Search */
.block-search {
	display: none;
}

.search-item {
	display: flex;
	margin-bottom: 1px;
}

.search-item dt {
	flex-basis: 150px;
	width: 150px;
	min-width: 150px;
	max-width: 150px;
	color: #555;
	font-weight: bold;
	background-color: #eee;
	border: 1px solid #eee;
	line-height: 20px;
	text-align: center;
	padding: 7px 3px;
	word-break: break-all;
	box-sizing: border-box;
}

.search-item dd {
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	border-right: 1px solid #eee;
	padding: 3px;
}

.search-button {
	margin-top: 10px;
	margin-bottom: 30px;
}

.search-button .button-middle {
	margin-right: 5px;
}

.search-button input {
	vertical-align: bottom;
}

/* Form */
.block-input input[type="text"],
.block-input input[type="number"],
.block-input input[type="password"],
.block-search input[type="text"],
.block-search input[type="number"] {
	font-size: 13px;
	line-height: 200%;
	padding: 0 3px;
	border: 1px solid #888;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2) inset;
	border-radius: 4px;
}

.input-caution {
  white-space: break-spaces;
  color: #a00;
  font-weight: normal;
  font-size: 12px;
  margin-top: 0.5em;
}

.no_title .input-caution {
  border-left: 1px solid #eee;
  background-color: #f8f8f8;
  margin: 0;
  padding: 5px;
}

.input-group {
  width: 100%;
  max-height: 10000px;
  margin-top: 30px;
  margin-bottom: 30px;
  border-left: 10px solid #ddd;
  overflow-y: hidden;
  transition-duration: 200ms;
  transition-property: max-height;
}

.input-group.close {
  max-height: 36px;
  overflow-x: hidden;
}

.input-group .input-group {
  margin: 10px 0 10px 1px;
  border: 1px solid #eee;
  box-sizing: border-box;
  border-left: 10px solid #ddd;
  width: calc(100% - 1px);
}
.input-group-title {
  width: 100%;
  color: #555;
  font-weight: bold;
  background-color: #ddd;
  line-height: 36px;
  min-height: 10px;
  text-align: left;
  box-sizing: border-box;
  padding: 0 10px;
  word-break: break-all;
  margin-bottom: 1px;
  position: sticky;
  left: 0;
}

.input-group-button {
  position: absolute;
  width: 24px;
  height: 24px;
  line-height: 24px;
  right: 10px;
  top: 50%;
  margin-top: -12px;
  color: #888;
  border: 1px solid #888;
  border-radius: 50%;
  transform: rotate(0deg);
  cursor: pointer;
  text-align: center;
  transition-duration: 200ms;
  transition-property: transform;
  user-select: none;
  background: #eeeeee;
  fill: rgba(0, 0, 0, 0.4);
  pointer-events: all;
}

.input-group.close .input-group-button {
  transform: rotate(180deg);
}

.block-search .input-group {
  margin: 0;
}

.block-search .input-group .input-group {
  margin: 10px 0 10px 1px;
}

.input-group-button.hidden {
  display: none;
}

.input-month {
  width: 80px;
}
.input-date {
	width: 100px;
}

.input-datetime {
	width: 170px;
}

.input-text-short {
	width: 100px;
}

.input-text-shorter {
  width: 60px;
}

.input-text-shortest {
  width: 40px;
}

.input-text-middle {
	width: 250px;
}

.input-text-long {
	width: 90%;
}

.block-input select,
.block-search select {
	background-color: #fff;
	background-image: url("../img/arrow_drop_down-24px.svg");
	background-repeat: no-repeat;
	background-position: center right;
	padding: 0 25px 0 5px;
	border: 1px solid #888;
	border-radius: 4px;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2) inset;
	-webkit-appearance: none;
	appearance: none;
	line-height: 200%;
	font-size: 13px;
}

.block-input label,
.block-search label {
	display: inline-block;
	font-size: 13px;
	line-height: 200%;
	white-space: nowrap;
  padding-right: 10px;
  margin-right: 5px;
}

.block-input input[type="radio"],
.block-input input[type="checkbox"],
.block-search input[type="radio"],
.block-search input[type="checkbox"] {
	margin-right: 5px;
	vertical-align: text-bottom;
}

.block-input textarea {
	font-size: 13px;
	line-height: 150%;
	padding: 5px 3px;
	border: 1px solid #888;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2) inset;
	border-radius: 4px;
	width: 90%;
}

.block-input .button-file {
	display: none;
}

.block-input .input-selected-file {
	color: #888;
}

.block-input .input-relation-button {
	margin-right: 10px;
}

.block-input .input-relation-name {
	margin-left: 10px;
	color: #888;
}
.block-input .input-relation-name:empty {
  display: none;
}

.input-calendar {
	white-space: nowrap;
}

.input-calendar svg {
	fill: #999;
	cursor: pointer;
	vertical-align: middle;
	margin-left: 4px;
}

.input-calendar svg:hover {
	fill: #666;
}

/* Input */
.input-item {
	display: flex;
	width: 100%;
	margin-bottom: 1px;
}

.input-item dt {
	flex-basis: 220px;
	width: 220px;
	min-width: 220px;
	max-width: 220px;
	color: #555;
	font-weight: bold;
	background-color: #eee;
	border: 1px solid #eee;
	line-height: 20px;
	text-align: left;
	box-sizing: border-box;
	position: relative;
	padding: 7px 40px 7px 10px;
	word-break: break-all;
	pointer-events: all;
}

.input-required,
.input-optional {
	position: absolute;
	top: 5px;
	right: 5px;
	font-size: 11px;
	line-height: 16px;
	display: inline-block;
	width: 30px;
	background-color: #fff;
	text-align: center;
}

.input-required {
	color: #e60033;
	border: 1px solid #e60033;
}

.input-optional {
	color: #888;
	border: 1px solid #888;
}

.input-item dd .input-optional, .input-item dd .input-required {
  position: unset;
  margin: 0 5px;
  font-weight: bold;
}
.input-item dd {
	flex-grow: 1;
	border: 1px solid #eee;
}

.input-item dd p,
.input-item dd div {
	line-height: 150%;
	padding: 3px;
}

.input-item.no_title dt {
  display: none;
}

.input-item.no_title dd {
  padding-left: 0;
}
.input-item.no_title dd > p,
.input-item.no_title dd > div {
  border-left: 1px solid #eee;
}

.input-item dd p {
	background-color: #f8f8f8;
}

.input-csv-format {
	position: relative;
	margin: 25px 3px 3px 3px;
	padding: 3px;
	border: 1px solid #888;
	color: #888;
	border-top-right-radius: 3px;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

.input-csv-format .title {
	display: inline-block;
	position: absolute;
	top: -22px;
	left: -1px;
	font-size: 11px;
	color: #fff;
	background-color: #888;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	line-height: 200%;
	width: 77px;
	text-align: center;
}

.input-csv-update-button {
	margin-bottom: 5px;
}

.input-regist-button {
	margin-top: 15px;
}

.input-regist-button input {
	vertical-align: bottom;
}

.input-regist-button .button-middle {
	margin-right: 5px;
}

.input-update-button {
	position: fixed;
	z-index: 100;
	right: 10px;
	top: 40px;
	background-color: #fff;
	border: 1px solid #888;
	padding: 5px;
	box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.2);
}

.input-update-button li {
	text-align: left;
	margin-top: 5px;
}

.input-update-button li:first-child {
	margin-top: 0;
}

.button-toggle-password {
	margin-left: 5px;
}

/* Relation input */
.relation-item {
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1px;
  outline: none;
}

.relation-scroll-bar {
  visibility: hidden;
  position: sticky;
  left: 0;
  height: 15px;
  padding: 0 !important;
  margin: 0 !important;
}
.relation-scroll-bar.show {
  visibility: visible;
}
.relation-scroll-bar .scroll-bar {
  position: absolute;
  height: 15px;
  width: 100%;
  bottom: 0;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid rgba(80, 80, 80, 0.2);
  background: white;
}
.relation-scroll-bar .scroll-bar.over {
  position: fixed;
}
.relation-scroll-bar .scroll-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30%;
  padding: 2px;
}
.relation-scroll-bar .scroll-bar .scroll-handle::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(80, 80, 80, 0.2);
  border-radius: 5px;
}
.relation-scroll-bar .scroll-bar:hover .scroll-handle::before {
  background: rgba(80, 80, 80, 0.5);
}

.relation-item-list {
	display: table;
	border-collapse: collapse;
}

.relation-item-body {
  display: table-row-group;
}

.relation-item-header,
.relation-item-description,
.relation-item-data {
	display: table-row;
}

.relation-item-header li,
.relation-item-description li,
.relation-item-data li {
	display: table-cell;
	vertical-align: top;
	border: 1px solid rgba(170, 170, 170, 0.2);
}

.relation-item-header li {
	background-color: #eee;
	color: #777;
	font-size: 11px;
	text-align: center;
	font-weight: bold;
}

.relation-item-description li {
	background-color: #f8f8f8;
	color: #777;
	font-size: 11px;
	padding: 3px;
	line-height: 150%;
}

.relation-item-data li {
	padding: 3px;
}

.relation-item-data textarea {
	min-width: 100px;
}

.relation-item-data select {
  max-width: 200px;
}

.button-relation-add-item {
  margin: 5px auto 5px 5px;
  position: sticky;
  left: 5px;}

.relation-item-required,
.relation-item-optional {
	display: inline-block;
	font-size: 11px;
	line-height: 150%;
	background-color: #fff;
	padding: 0 3px;
	margin-right: 3px;
	font-weight: bold;
}

.relation-item-required {
	color: #e60033;
	border: 1px solid #e60033;
}

.relation-item-optional {
	color: #888;
	border: 1px solid #888;
}

/* CSV data */
.block-csv-data p {
	font-size: 13px;
	line-height: 200%;
	margin-bottom: 15px;
}

.block-csv-data ul {
	border: 1px solid #888;
	padding: 5px;
}

.block-csv-data li {
	margin-top: 5px;
	font-size: 13px;
	line-height: 20px;
	padding-left: 37px;
}

.block-csv-data li:first-child {
	margin-top: 0;
}

.block-csv-data li span.regist,
.block-csv-data li span.update {
	margin-left: -37px;
	margin-right: 5px;
	display: inline-block;
	font-size: 11px;
	line-height: 17px;
	border: 1px solid #888;
	border-radius: 3px;
	padding: 0;
	width: 30px;
	text-align: center;
}

.block-csv-data li span.regist {
	background-color: #eee;
	color: #666;
}

.block-csv-data li span.update {
	background-color: #888;
	color: #fff;
}

/* block-csv-progress */
.progress-data {
	width: 300px;
	display: flex;
	flex-flow: row wrap;
}

.progress-data dt {
	flex-basis: 40%;
	box-sizing: border-box;
	border: 1px solid #eee;
	background-color: #eee;
	color: #555;
	font-size: 15px;
	font-weight: bold;
	line-height: 200%;
	text-align: center;
	margin-top: 1px;
}

.progress-data dd {
	flex-basis: 60%;
	box-sizing: border-box;
	border: 1px solid #eee;
	font-size: 15px;
	line-height: 200%;
	text-align: right;
	margin-top: 1px;
	padding-right: 5px;
}

.progress-message {
	margin-top: 50px;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	color: #3eb370;
}

.progress-box {
	text-align: center;
	margin-top: 30px;
}

.progress-bar {
	display: inline-block;
	width: 300px;
	border: 1px solid #888;
	text-align: left;
	border-radius: 3px;
}

.progress-gauge {
	display: block;
	width: 0;
	height: 6px;
	background: linear-gradient(rgba(170, 207, 83, 0.8), rgb(170, 207, 83));
	overflow: hidden;
	font-size: 0;
}
.block-csv-progress .error-message, .block-progress .error-message {
	color: #e60033;
	text-align: center;
	margin-top: 30px;
}
.relation-error-message {
  color: #e60033;
  font-size: 10px;
  background: transparent !important;
}
.relation-error-message:empty {
  display: none;
}
.no-regist {
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
.no-regist input, .no-regist textarea, .no-regist select, .no-regist button {
  opacity: 0.5;
}
.no-regist li:first-child {
  pointer-events: auto;
}
.no-regist li:first-child input {
  opacity: 1;
}

/* tooltip */
dd div.tooltip, dd .tooltip div {
  padding: 0;
}

.tooltip {
  position: relative;
  pointer-events: all;
}

.tooltip .icon {
  width: 20px;
  cursor: pointer;
}

.tooltip.empty .icon {
  opacity: 0.5;
  cursor: not-allowed;
}

.tooltip .text {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, -10px);
  width: 250px;
  min-width: 50px;
  max-width: -webkit-fill-available;
  max-height: 100px;
  overflow-y: auto;
  white-space: normal;
  margin: 0;
  padding: 5px;
  background: rgb(50, 50, 50);
  color: #fff;
  border-radius: 5px;
  visibility: hidden;
  opacity: 0;
  transition-property: visibility, opacity;
  transition-duration: 200ms;
  border: 3px solid rgb(50, 50, 50);
  word-break: break-all;
  z-index: 100;
}
.tooltip.bottom .text {
  top: 100%;
  bottom: unset;
  transform: translate(-50%, 10px);
}
.tooltip.left .text {
  bottom: unset;
  top: 50%;
  left: unset;
  right: 100%;
  transform: translate(-10px, -50%);
}
.tooltip.right .text {
  bottom: unset;
  top: 50%;
  left: 100%;
  transform: translate(10px, -50%);
}

.tooltip::after {
  content: "";
  display: inline-block;
  border: 10px solid transparent;
  border-top-color: rgb(50, 50, 50);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  width: 0;
  height: 0;
  visibility: hidden;
  opacity: 0;
  transition-property: visibility, opacity;
  transition-duration: 200ms;
  z-index: 100;
}
.tooltip.bottom::after {
  bottom: unset;
  border-top-color: transparent;
  top: 100%;
  transform: translate(-50%, -10px);
  border-bottom-color: rgb(50, 50, 50);
}
.tooltip.left::after {
  bottom: unset;
  left: unset;
  border-top-color: transparent;
  top: 50%;
  right: 100%;
  transform: translate(10px, -50%);
  border-left-color: rgb(50, 50, 50);
}
.tooltip.right::after {
  bottom: unset;
  left: unset;
  border-top-color: transparent;
  top: 50%;
  left: 100%;
  transform: translate(-10px, -50%);
  border-right-color: rgb(50, 50, 50);
}

.tooltip.show .text, .tooltip.show::after {
  visibility: visible;
  opacity: 1;
}

/* Result message */
.block-result-message {
	color: #3eb370;
	font-weight: bold;
	font-size: 20px;
	line-height: 200%;
	margin-bottom: 15px;
	text-align: center;
}

/* Messages */
.block-messages {
	padding-left: 2em;
	list-style-type: disc;
	margin-bottom: 15px;
}

.block-messages li {
	font-size: 13px;
	line-height: 150%;
	color: #3eb370;
}

/* Errors */
.block-errors {
	padding-left: 2em;
	list-style-type: disc;
	margin-bottom: 15px;
}

.block-errors li {
	font-size: 13px;
	line-height: 150%;
	color: #e60033;
}

.block-filefinder.filefinder {
	line-height: initial;
	width: 100%;
	height: calc(100vh - 90px);
	min-width: 320px;
	min-height: 240px;
	overflow: auto;
	resize: both;
	border: 2px ridge #aaa;
	box-sizing: border-box;
	position: relative;
}

.block-filefinder.filefinder .view {
	position: absolute;
	right: 5px;
	left: 5px;
	top: 5px;
	bottom: 5px;
	width: auto;
	height: auto;
}

.input-error {
  background-color: rgba(233, 84, 100, 0.7);
}

/* Modal */
.modal_background {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
}

.modal_frame {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  background: #fff;
  z-index: 100000;
  -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}

.modal_title {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  line-height: 30px;
  padding: 0 10px;
  color: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.modal_main {
  font-size: 12px;
  line-height: 20px;
  min-height: 60px;
  margin: 20px 20px 0 20px;
  padding: 0;
  color: rgba(0, 0, 0, 1);
  box-sizing: border-box;
  position: relative;
}

.modal_main.over::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 20px;
  background: linear-gradient(rgba(255,255,255,0) 0, rgba(255,255,255,.7) 20%, rgba(255,255,255,1) 80%);
}

.modal_message {
  max-height: 200px;
  overflow-y: auto;
  padding-bottom: 5px;
  box-sizing: border-box;
}

.modal_form {
  margin-bottom: 10px;
}

.modal_input {
  width: 100%;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 200%;
  padding: 0 3px;
  border: 1px solid #888;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2) inset;
  border-radius: 4px;
}

.modal_footer {
  padding-top: 10px;
  padding: 10px 10px 15px;
  text-align: right;
}

.modal_button {
  display: inline-block;
  height: 30px;
  line-height: 30px;
  min-width: 60px;
  text-align: center;
  margin: 0 5px 0 0;
  padding: 0 5px;
  border: 1px solid #ddd;
  background: #fff;
  color: #000;
  border-radius: 5px;
  font-size: 12px;
  -webkit-box-shadow: 1px 1px 2px #bbb;
  box-shadow: 1px 1px 2px #bbb;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  box-sizing: border-box;
}

/* ローディング */
.loading {
  display: inline-block;
  color: rgba(0, 0, 0, 0.5);
  font-size: 3px;
  margin: 0 10px;
  width: 1em;
  height: 1em;
  line-height: 1em;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  -webkit-animation: load4 1.3s infinite linear;
  animation: load4 1.3s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
@-webkit-keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}
@keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
}

.nowrap {
  white-space: nowrap;
}

.no-space {
  margin: 0 !important;
  padding: 0 !important;
}

/* 編集不可にする */
.read-only .file_uploader {
  pointer-events: none;
}
.read-only .file_uploader .close_button,
.read-only .file_uploader .choose_area {
  visibility: hidden;
}
.read-only .file_uploader .download_button {
  pointer-events: all;
}
.read-only .tox-tinymce {
  pointer-events: none;
}
/* アコーディオン */
.accordion {
  position: relative;
  max-height: 10000px;
  transition-duration: 200ms;
  transition-property: max-height;
  overflow: hidden;
  white-space: break-spaces;
}
.accordion.close {
  max-height: 80px;
}
.accordion.close:after {
  content: '';
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
}
.accordion .toggle-btn {
  content: '';
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="rgba(0, 0, 0, 0.4)"><path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"></path><path d="M0 0h24v24H0z" fill="none"></path></svg>');
  position: absolute;
  width: 24px;
  height: 24px;
  line-height: 24px;
  right: 5px;
  top: 5px;
  color: #888;
  border: 1px solid #888;
  border-radius: 50%;
  transform: rotate(0deg);
  cursor: pointer;
  text-align: center;
  transition-duration: 200ms;
  transition-property: transform;
  user-select: none;
  background-color: #eeeeee;
  fill: rgba(0, 0, 0, 0.4);
  pointer-events: all;
}
.accordion.close .toggle-btn {
  transform: rotate(180deg);
}
