:root {
	--background-color-gray: #cccccc;
	--color-primary: #009fe8;
	--color-white: #ffffff;
}

label.required::after {
	content: '[必須]';
	margin-left: 5px;
	font-size: 10px;
	color: #ff0000;
}

table.dataTable th {
	text-align: center;
}

table div.ruby {
	font-size: 10px;
}

table div.buttons {
	word-break: keep-all;
	white-space: nowrap;
}

th.dt-head-center {
	text-align: center;
}

th {
	padding: 5px;
}

td {
	padding: 5px;
}

td.dt-body-right {
	text-align: right;
}

td > div.buttons {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

div.alert > ul {
	margin: 0px;
}


/* summernote */

div.note-editor.note-frame.panel.panel-default {
	background-color: white;
}

div.note-editor.note-frame.panel.panel-default input[type="file"] {
	display: block;
}

div.note-editor.note-frame.panel.panel-default div.form-group.note-group-image-url {
	display: none;
}

div.note-editor.note-frame.panel.panel-default div.modal-footer {
	display: none;
}

/* /summernote */


/* 背景画像 */

.background_image_fit {
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.background_image_fill {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

/* /背景画像 */


/* 文字の後ろを...にする */

.ellipsis {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}

.ellipsis_2 {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.ellipsis_3 {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

/* /文字の後ろを...にする */


/* 正方形にする */

.square {
	position: relative;
}

.square::before {
	content: '';
	display: block;
	/* padding-topを75%にすると横:縦が4:3になる */
	/* padding-top: calc(100% * (3/4)); */
	padding-top: 100%;
}

/* /正方形にする */


input[type="number"] {
	text-align: right;
}

input[type="file"] {
	display: none;
}

div.caution {
	font-size: 10px;
	color: red;
}

.btn-warning {
	color: white;
}


/* ページネーション */

nav ul.pagination {
	margin-top: 10px;
}

nav ul.pagination li {
	width: 30px;
	height: 30px;
	margin: 2px;
}

nav ul.pagination li > a,
nav ul.pagination li > span {
	height: 100%;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
}

nav ul.pagination li > a {
	background-color: #eeeeff;
}

nav ul.pagination li > span {
	background-color: #cccccc;
}

/* /ページネーション */


/* 利用規約 */

div.terms {
	margin: 0px 100px
}

div.terms div.content-header {
	text-align: center;
}

div.terms h1 {
	font-weight: bold;
}

div.terms section {
	margin: 20px 0px;
}

div.terms ol.lower_alpha {
	list-style: lower-alpha;
}

div.terms div.last {
	text-align: right;
}

/* /利用規約 */


/* アプリユーザー */

section.app_user div.search div.wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
}

section.app_user div.search div.wrapper button {
	margin-left: 5px;
	word-break: keep-all;
	white-space: nowrap;
}


section.app_user div.icon img {
	width: 100%;
	max-width: 400px;
}

section.app_user div.icon button {
	margin-top: 5px;
	display: block;
}

section.app_user.edit div.row.company {
	margin-left:  0px;
}

/* /アプリユーザー */


/* 会社 */

div.content-wrapper div.sign-in-link {
	display: flex;
    justify-content: flex-end;
}

section.company div.count_area {
	margin-top: 10px;
	margin-bottom: 0px;
}

section.company div.count_area > label {
	margin: 0px;
}

section.company div.search div.wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
}

section.company div.search div.wrapper button {
	margin-left: 5px;
	word-break: keep-all;
	white-space: nowrap;
}

section.company div.approval div.wrapper {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

section.company tr.header > th {
	padding: 0px;
	border-bottom: none;
}

section.company div.industry_list {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

section.company div.industry_list label.industry_item > input[name="industry_id[]"] {
	display: none;
}

section.company div.industry_list label.industry_item > input[name="industry_id[]"] + div {
	cursor: pointer;
}

section.company div.industry_list label.industry_item > input[name="industry_id[]"]:checked + div {
	color: var(--color-white);
	background-color: var(--color-primary);
}

section.company div.industry_list label.industry_item > div {
	margin: 2px 5px;
	padding: 2px 5px;
	border-radius: 4px;
	border: 1px solid var(--color-primary);
}

section.company textarea[name="remarks"] {
	height: calc(6em + (0.375em * 2));
	line-height: 1.2em;
}

section.company.list tr.reject {
	background-color: var(--background-color-gray);
}

/* /会社 */
