/* CSS Document */
/* ページ全体設定 */
:root {
	--rad-main: 8px;
}

html {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

body {
	padding: 10px 10px 20px 10px;
	background: none;
	line-height: 12px !important;
	font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
	font-size: 10px;
	color: #252525;
}
input,
textarea,
select,
button {
	font-family: inherit;
}

/*
form {
	margin: 0px;
} */
/* fieldset {
	font-size: 8px;
	border: none !important;
	padding: 0;
	margin: 0 5px;
} */

/* LINK設定 */
A {
	color: #006699;
	text-decoration: none;
	cursor: pointer;
}
A:hover {
	color: #5888a0;
	text-decoration: none;
}

#movie {
	margin-top:15px;
}

.flex {
	display: -webkit-flex;	/* Chrome 21-27 */
	display: -moz-box;		/* Firefox 2-21 */
	display: -ms-flexbox;	/* IE9 */
	display: flex;
	-webkit-flex-wrap: wrap;	/* Chrome 21-27 */
	-ms-flex-wrap: wrap;		/* IE9 */
	flex-wrap: wrap;
	justify-content: center;

	div {
		position: relative;
	}
}

.pointer,
.input_wrapper label {
	cursor: pointer;
}

.container_title {
	/* text-align: center; */
	margin: 0 auto 13px auto;
	width: fit-content;
}
.container_sum {
	width: fit-content;
	margin: 0 auto 5px auto;
	font-size: 8px;
	color: #3c3c3c;
}

.container_search,
.container_paging {
	/* text-align: center; */
	margin: 5px auto;
	width: 800px;

	div {
		font-size: 10px;
		margin: auto 0;
	}
}
.container_search form {
	margin: 5px 10px;
}
.container_paging form {
	margin: 5px;
	font-size: 8px;
	color: #5d5d5d;
}

.form-input {
	/* display: block; */
	width: 120px;
	padding: 5px;
	font-size: 9px;
	text-align: right;
	color: #55595c;
	background-color: #fafafa;
	border: 1px solid #ccc;
	border-radius: .25rem;
}
.form-group {
	margin-top: 2px !important;
	margin-bottom: 0 !important;
}
.frm_tmdb_import,
.frm_all_cinema_search_word,
.frm_all_cinema_search_id {
	margin-top: 5px;
}
.btn {
  padding: 5px;
  font-size: 10px;
}

.btn_search,
.btn_import,
.btn_paging,
.btn_star_clear {
	height: 15px;
	display: inline-block;
	/* padding: 3px; */
	margin-bottom: 1px;
	padding: 0 5px;
	font-size: 8px;
	font-weight: 400;
	/* line-height: 1.5; */
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	/* border: 1px solid transparent; */
	border-radius: .25rem;
	color: #fff;
	transition: border-color 0.2s ease-in-out;	/* border-color (色の変更) にのみ0.2秒かけて滑らかに変化させる */
}

.btn_search {
	background-color: #437098;
	border-color: #7490a8;
}
.btn_import {
	background-color: #914040;
	border-color: #aa6565;
}
.btn_paging,
.btn_star_clear {
	background-color: #7d7d7d;
	border-color: #a3a3a3;
}
.btn_star_clear {
	margin-left: 10px;
}

.btn_search:focus,
.btn_import:focus,
.btn_paging:focus,
.btn_star_clear:focus,
img:focus {
	outline: 0;
}

.btn_search:active,
.btn_import:active,
.btn_paging:active,
.btn_star_clear:active {
	padding-top: 1px;
	padding-bottom: 1px;
}
.btn_search:active {
	border-color: #437098 #7490a8 #7490a8 #437098 !important;
}
.btn_import:active {
	border-color: #914040 #aa6565 #aa6565 #914040 !important;
}
.btn_paging:active,
.btn_star_clear:active {
	border-color: #7d7d7d #a3a3a3 #a3a3a3 #7d7d7d !important;
}

.list_wrapper {
	width: fit-content;
	margin: 15px auto;
	padding: 0;
	line-height: 12px;
	display: -webkit-flex;	/* Chrome 21-27 */
	display: -moz-box;		/* Firefox 2-21 */
	display: -ms-flexbox;	/* IE9 */
	display: flex;
	-moz-border-radius: var(--rad-main);
	-webkit-border-radius: var(--rad-main);
	border-radius: var(--rad-main);
	border: solid 1px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.1);
}

.list_img,
.list_img img {
	height: 90px;
	width: 60px;
	background-color: #e1e1e1ff;
	-moz-border-radius: var(--rad-main) 0 0 var(--rad-main);
	-webkit-border-radius: var(--rad-main) 0 0 var(--rad-main);
	border-radius: var(--rad-main) 0 0 var(--rad-main);
	box-shadow: 1px 0px 3px 1px rgba(0, 0, 0, 0.1);
}
.list_desc {
	width: 500px;
	padding: 5px 8px;
	text-align: left;
	.gr_title {
		display: grid;
		width: fit-content;
		margin-top: 2px;
		align-items: end;								/* 縦位置 */
		grid-template-rows: auto;						/* 行の高さ */
		grid-template-columns: minmax(0, auto) auto;	/* 列の数と幅 均等 */
		.dv_title {
			max-width: 450px;
			font-size: 11px;
			color: rgb(37, 70, 101);
			white-space: nowrap;
			/* overflow: hidden; */
			text-overflow: ellipsis;
			span {
				user-select: all; /* クリックしただけで全体が選択される設定 */
				cursor: cell;
			}
		}
		.dv_title_org {
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;		/* はみ出したテキストに「...」を表示する */
			font-size: 9px !important;
			margin: auto 0 0 3px;
			color: rgba(0, 0, 0, 0.7);
		}
	}
	.dv_release_info {
		width: fit-content;
		font-size: 8px;
		color: rgba(0, 0, 0, 0.4);
		margin: 1px 0;
	}
	.gr_tagline {
		display: grid;
		width: fit-content;
		margin-top: 4px;
		grid-template-rows: 10px;				/* 行の高さ */
		grid-template-columns: repeat(3, auto);	/* 列の数と幅 均等 */
		gap: 0 3px	;							/* 行・列の間隔 */
		div {
			display: table-cell;
			font-size: 9px;
			span {
				display: -webkit-box;			/* フレキシブルボックスとして表示 */
				line-clamp: 1;          		/* 標準プロパティ（互換性のために追加） */
				-webkit-line-clamp: 1;			/* 表示する行数 (例: 3行) */
				-webkit-box-orient: vertical;	/* ボックスの方向を垂直に設定 */
				font-size: 9px;
				text-overflow: ellipsis;		/* はみ出したテキストに「...」を表示する */
			}
		}
	}
	.dv_overview_3,
	.dv_overview_4 {
		font-size: 8px;
		width: 500px;
		margin: 4px 0 0 0;
		display: -webkit-box;			/* フレキシブルボックスとして表示 */
		line-clamp: 4;          		/* 標準プロパティ（互換性のために追加） */
		-webkit-line-clamp: 4;			/* 表示する行数 (例: 3行) */
		-webkit-box-orient: vertical;	/* ボックスの方向を垂直に設定 */
		overflow: hidden;				/* はみ出た部分を非表示にする */
		text-overflow: ellipsis;		/* はみ出したテキストに「...」を表示する */
	}
	.dv_overview_3 {
		line-clamp: 3;          		/* 標準プロパティ（互換性のために追加） */
		-webkit-line-clamp: 3;			/* 表示する行数 (例: 3行) */
	}
	.dv_overview_4 {
		line-clamp: 4;          		/* 標準プロパティ（互換性のために追加） */
		-webkit-line-clamp: 4;			/* 表示する行数 (例: 3行) */
	}
}

input {
	/* cursor: pointer; */
	margin: 0 5px 0 0;
}
.input_wrapper {
	margin: 7px 7px 7px 12px;
	padding: 8px 12px;
	font-size: 9px;
	-moz-border-radius: var(--rad-main);
	-webkit-border-radius: var(--rad-main);
	border-radius: var(--rad-main);
	/* border: solid 1px rgba(0, 0, 0, 0.2); */
	background-color: rgb(245, 252, 252);
	box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.1) inset;
	label {
		width: 77px;
		height: 12px;
		margin: 7px 0 0 0;
		align-items: center;
		font-size: 8px;
		display: inline-flex;
	}
	form {
		margin-right: 15px;
	}
	div {
		width: fit-content;
		margin-right: auto;
	}
	.tmdb_id {
		user-select: all; /* クリックしただけで全体が選択される設定 */
		cursor: cell
;
	}
}

.star_reg {
	display: inline-block;
	width: 9px;
	text-align: center;
	font-size: 11px;
	font-weight: bold;
	color: #b68522;
}
.star_1 {
	margin-left: 15px;
}

/* TOP-GRID */
.gr_count {
	display: grid;
	font-size: 8px;
	align-content: center;
	justify-content: center;
	/* grid-template-rows: 15px; */
	grid-template-columns: repeat(4, 90px 40px) 90px 60px;

	:is(div, span) {
		text-align: center;
		border: solid 1px rgb(222, 222, 222);
		box-shadow: 0px 0px 2px 1px rgba(98, 98, 98, 0.1) inset;
	}
	div {
		margin-left: 5px;
		-moz-border-radius: 5px 0 0 5px;
		-webkit-border-radius: 5px 0 0 5px;
		border-radius: 5px 0 0 5px;
		background-color: #e1e1e1;
		border-right: none;
	}
	span {
		margin-right: 5px;
		-moz-border-radius: 0 5px 5px 0;
		-webkit-border-radius: 0 5px 5px 0;
		border-radius: 0 5px 5px 0;
	}
}

/* ************************************************/
/*    DEBUG                                       */
/* ************************************************/
pre {
	font-size: 8px;
}

/* ************************************************/
/*    INPUTタグ設定                                */
/* ************************************************/
:root {
	--inp-pad-left: 5px;
	--inp-rad: 3px;
	--inp-shadow-wid: 1px;
	--inp-linecolor: #8d8d8d;
	/* --prof-det-mag: 20px; */
	--inp-fontsize: 9px;
}

.in_all {
	height: 11px;
	padding-left: var(--inp-pad-left);
	vertical-align: middle;
	font-size: var(--inp-fontsize);
	/* font-family: main; */
	border-radius: var(--inp-rad);
	border: none;
	box-shadow: 0 0 0 var(--inp-shadow-wid) var(--inp-linecolor);
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}
.in_all:focus {
	outline: 0;
	box-shadow: 0 0 0 var(--inp-shadow-wid) #252525;
}

[class^="in_search_"] {
	padding-right: 20px;
}
.in_search_title {
	width: 150px;
}
.in_search_id {
	width: 50px;
}

.frm_search span {
	position: relative;
	display: inline-block;
}

.a_input_clear {
	position: absolute;
	right: 7px;
	top: 50%;
	transform: translateY(-50%);
	color: #710000;
	font-weight: bold;
}

.in_page {
	width: 60px;
	text-align: center;
}
.in_id_search {
	width: 80px;
	height: 9px;
	text-align: center;
	font-size: var(--inp-fontsize);
}

/* ************************************************/
/*    PAGING                                      */
/* ************************************************/
#page_top {
	width: 50px;
	height: 50px;
	position: fixed;
	right: 10px;
	bottom: -50px;
	opacity: 0.6;
	background-image: url(../img/pagetop.svg);
}