@charset "UTF-8";

/* 寸法方法の強制
----------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* font
----------------------------------------------- */
body {
	touch-action: manipulation; /* パンおよびズームのジェスチャーは有効にしますが、ダブルタップでのズームなど、標準外の追加的なジェスチャーを無効します。 */	
	/* ○×などの文字が小さくなってしまう問題への対処としてフォントを指定 */
/*	font-family: 'Quicksand', sans-serif; */
/*	font-family: "メイリオ", "MS Pゴシック", "osaka"; */
/*	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-family: 'Zen Kaku Gothic New';
	font-family: 'Noto Sans JP', sans-serif;
	font-family: 'M PLUS 1p', sans-serif;
	font-family: 'Poppins', sans-serif;
*/
	font-family: 'M PLUS 1 Code', sans-serif;
}

body:has(.edit_mode) {
	background-color: #73b9b9;
	background-color: #88aadd;
}

h1, h2, h3 {
/*	font-family: 'Cinzel', serif; */
	font-family: 'Mochiy Pop P One', sans-serif;
}

/* h1
----------------------------------------------- */
h1 {
	font-size: 18px !important;
	margin: 0;
	margin-bottom: 10px;
	font-weight: normal;
	padding: 6px 14px 8px;
	color: #090909;
}
h1.farm {
/*	border-bottom: 2px solid #9d009d;
	border-bottom: 2px solid #333;*/
	/* color: #9d009d; */
	color: #20a3c4;
}

/* h2
----------------------------------------------- */
h2 {
	padding: 12px 14px 8px;
	margin-top: 20px;
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: normal;
	color: #090909;
	border: none;
	border-bottom: 1px solid #eee;
}

/* h3
----------------------------------------------- */
h3 {
	margin-top: 20px;
	padding: 12px 16px 8px;
	font-size: 14px;
	font-weight: normal;
	color: #333;
}

/* quiet
----------------------------------------------- */
.quiet {
	color: #aaa;
}

/* new
----------------------------------------------- */
.ui_new {
	color: #ff0080;
	margin-right: 5px;
}

/* 警告
----------------------------------------------- */
.ww {
	color: #ff0080;
}

/* sale
----------------------------------------------- */
b.sale {
	color: #ff0080;
	font-size: 14px;
}

/* margin
----------------------------------------------- */
.margin_top_1 {
	margin-top: 20px;
}

/* 通知
----------------------------------------------- */
.msg {
	margin: 12px 10px;
/*	margin: 20px 10vw; */
	border: none;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 13px;
	line-height: 19px;
	padding: 14px 20px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	text-align: left;
	background-color: #fafafa;
}
.msg a:hover {
	text-decoration: underline;
}
.msg a {
	color: inherit;
	text-decoration: underline dashed;
}
.msg b {
	font-size: 17px;
	padding: 0px 3px;
}

.info {
/*	border-left: 1px solid #0080ff; */
	color: #0080ff;
}

.warn {
	color: #ff8040;
/*	border-left: 1px solid #ff8040; */
}

.err {
	color: #ff0000;
	/* color: #008000; */
/*	border-left: 1px solid #ff0000; */
}

.confirm {
	color: #ff0080;
/*	border-left: 1px solid #ff0080; */
}

/* ナビバー
----------------------------------------------- */
#navbar {
	margin: 0;
	border: 1px solid #f0f0f0;
	background-color: #fff;
	padding: 4px 4px;
	font-size: 14px;
	line-height: 2.0em;
	position: relative;
}
#navbar .menu,
#navbar .user,
#navbar .app_name {
	vertical-align: top;
}

/* 1) アプリ名 */
#navbar .app_name {
	display: inline-block;
	font-weight: bold;
	margin: 0 4px 0 3px;
}
#navbar .menu .app_name a {
	font-size: 22px;
	color: #333;
}

/* 2) メニューリンク */
#navbar .menu a:hover {
	color: #0088fe;
}

#navbar .menu {
	display: inline-block;
	/* width: 100%; */
	width: calc(100% - 40px);
}
#navbar .menu a {
	font-size: 14px;
	margin-left: 3px;
	color: #333;
}

/* 3) ユーザー情報 */
#navbar .user {
	position: absolute;
	/* bottom: 0; */
	top: 0;

	right: 0;
	display: inline-block;
	color: #999;
	margin-right: 10px;
	white-space: nowrap;
	/* width: 120px; */
	text-align: right;
	/* display: none; */
}
#navbar .user a {
	color: #333;
}
#navbar .user a:hover {
	color: #0088fe;
}

/* 4) アイコン */
#navbar i {
	vertical-align: top;
	font-size: 24px;
	margin-top: 1px;
	width: 30px;
}

/* 5) 検索フォーム */
#navbar form {
	display: block;
	margin: 0;
	padding: 0;
	margin-left: 5px;
	background-color: transparent;
	text-align: left;
}
#navbar input {
	height: 26px;
	margin-top: -2px;
	max-width: 80%;
	background-color: #f0f0f0;
	border-radius: 8px;
	border: 1px solid #ccc;
	background-color: #fff;
	transition: 0.3s;
	color: #333;
/*	font-family: 'Mochiy Pop P One', sans-serif; */
}
#navbar input::placeholder {
	color: #ccc;
}
#navbar input:hover {
	border: 1px solid #0088fe;
}

/* RWD: ナビバー: 500px以上の場合 */
@media screen and (min-width: 500px) {
	#navbar form {
		display: inline-block;
		width: 240px;
	}
}

/* 大枠
----------------------------------------------- */
#main_frame {
	margin: 5px 20px 10px 20px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	padding-top: 10px;
	padding-bottom: 50px;
	background-color: #fff;
	min-height: 400px;
	font-size: 13px;
	border-radius: 5px;
	line-height: 1.4;
}

/* debug
----------------------------------------------- */
#debug {
	margin: 5px;
	border: 1px dashed #bbb;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	background-color: #fff;
	padding: 5px;
	font-size: 13px;
	border-radius: 5px;
	line-height: 1.6em;
	padding-bottom: 100px;
}

body {
	background-color: #fafafa;
	color: #090909;
	color: #0d0d0d;
}

/* 横幅調整
----------------------------------------------- */
.container {
	margin-right: auto;
	margin-left:  auto;
	position: relative;
}

/* RWD */
@media screen and (max-width: 799px) {
	.container { width: 100%; }
	#main_frame {
		margin: 0;
	}
}
@media screen and (min-width: 800px) and (max-width: 999px) {
	.container { width: 700px; }
}
@media screen and (min-width:1000px) and (max-width: 1200px) {
	.container { width: 900px; }
}
@media screen and (min-width:1200px) and (max-width: 1319px) {
	.container { width: 1100px; }
}
@media screen and (min-width: 1320px) {
	.container { width: 1280px; }
}
@media screen and (min-width: 1520px) {
	.container { width: 1480px; }
}
/*
@media screen and (min-width: 1620px) {
	.container { width: 1580px; }
}
@media screen and (min-width: 1720px) {
	.container { width: 1680px; }
}
*/

/* 左・右・中央
----------------------------------------------- */
.center {
	text-align: center;
}
.left {
	text-align: left;
}
.right {
	text-align: right;
}

/* ページ遷移で画面がかくかくしないように常にスクロールバーを出す
----------------------------------------------- */
html {
	overflow-y: scroll;
	/* font-size: 100%; */
}

hr {
	border-top: 1px dashed #ddd;
}
hr.no_menu {
	/* border-top: 1px solid #20a3c4; */
	border-top: 1px dashed #333;
	border-top: 1px dashed #ccc;
	margin-top: -8px;
}


/* Googleアイコンの設定
----------------------------------------------- */
.material-symbols-outlined {
	padding: 2px 2px;
	vertical-align: top;
	user-select: none;
	display: inline-block;
	font-size: inherit;

	/* アイコンの画風/タッチの指定 */
	font-variation-settings:
	'FILL' 0,
	'wght' 400,
	'GRAD' 0,
	'opsz' 48;
}

/* ナビバーのアイコンサイズ */
#navbar .material-symbols-outlined {
	font-size: 24px;
}

/* 小説のパンくずリストのアイコンサイズ */
.novel_path .material-symbols-outlined {
	font-size:   16px;
	padding: 0px 2px;
}

/* ノベル編集の操作アイコン */
.btn .material-symbols-outlined {
	font-size:   18px;
	padding: 0px 2px;
}

/* お気に入りボタンやユーザーブックマークのアイコン */
button .material-symbols-outlined {
	font-size:   24px;
}

/* 画像メニュー上に表示されるアイコン */
.cmd_btns .btn .material-symbols-outlined {
	font-size:   30px;
	/* margin-bottom: 3px; */
}

/* 画面下部のアイコンはその親要素でfont-sizeを指定し、アイコンのサイズはinheritで引き継いでいるので、さらなる指定は不要 */

/* 不要なもの？
----------------------------------------------- */
/* img.icon {
	width:  24px;
	height: 24px;
	vertical-align: top;
	display: inline-block;
	padding: 0;
} */

/* thum
----------------------------------------------- */
img.thum {
	width:  120px;
	height: 120px;
	/* 縦横比を維持する */
	object-fit: contain;
	vertical-align: top;
	display: inline-block;
	padding: 0;
}
img.thum.common_img {
	border-radius: 5px;
	border: 1px dashed #333;
}

img {
	transition: 0.3s;
	vertical-align: top; /* 画像の下に余白がはいるのでそれを消すために ref: https://technical-creator.com/img-tag-vertical-align/ */
}
img.big {
	max-width:  100%;
	max-height: 100%;
}
img.small {
	max-width:  120px;
	max-height: 120px;
}

pre {
	margin: 5px 10px;
	border-radius: 5px;
	padding: 5px 9px;
	background-color: #fafafa;
	text-align: left;
	line-height: 1.6em;
	color: #090909;
	font-size: 11px;

	/* preだけど折り返す */
    white-space: -moz-pre-wrap; /* Mozilla */
    white-space: -pre-wrap;     /* Opera 4-6 */
    white-space: -o-pre-wrap;   /* Opera 7 */
    white-space: pre-wrap;      /* CSS3 */
    word-wrap: break-word;      /* IE 5.5+ */

	font-family: Consolas;
}
pre .red {
	color: #ff0000;
}

label {
	display: inline-block;
	max-width: 100%;
	margin: 0;
	font-weight: 100;
}

ul, ol {
	list-style: none;
}

table {
	text-align: left;
}

th {
	font-family: 'Mochiy Pop P One', sans-serif;
	font-weight: normal;
}

th, td {
/*	line-height: 1.8em; */
	text-align: left;
	vertical-align: middle;
}

button {
	cursor: pointer;
	outline: none;
}

code {
	font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
}

/* ボタンのラベルは選択不可
----------------------------------------------- */
button {
	user-select: none;
}

button[type=submit] {
	border: 1px solid #333;
	border: 1px solid #666;
	/* color: #333; */
	margin-top: 5px;
	margin-bottom: 10px;
}

/* リンク
----------------------------------------------- */
a {
	color: #0088fe;
	/* color: #e36a55; */
	text-decoration: none;
}
a.disabled {
	pointer-events: none;
	color: #aaa;
	text-decoration: line-through;
}
a:hover {
	opacity: 0.8;
}

button.disabled {
	pointer-events: none;
	color: #aaa;
	text-decoration: line-through;
}


/* clearfix (float解除)
----------------------------------------------- */
.clearfix:after {
	height: 0;
	visibility: hidden;
	content: ".";
	display: block;
	clear: both;
}

/* form
----------------------------------------------- */
form {
	/* background-color: #fafafa; */
	border-radius: 8px;
	/* margin: 5px 0; */
	/* padding: 5px 0; */
	text-align: center;
	/* padding-bottom: 30px; */
}

form button,
form input,
form select {
	vertical-align: middle;
}

form.login {
	border: 1px solid #eee;
	border-radius: 10px;
/*	width: 90%; */
	margin: 10px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	padding-bottom: 20px;
}

form.for_upload {
	/* border: 1px solid #292626; */
	border-radius: 10px;
/*	width: 10%; */
	/* margin: 5px auto 30px; */
	/* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); */
	/* padding: 10px 20px 20px; */
	background-color: #fff;
}
form.for_upload input[type="file"] {
	padding: 60px 20px;
	height: auto;
}


/* input / textarea
----------------------------------------------- */

/* input / textarea / selectを共通化 */
input, select, textarea {
	line-height: 1.4em;
	background-color: #fff;
	border: 1px solid #bbb;

	/* transition: 0.3s; */
	color: #333;
    height: 40px; /* 同じ高さを指定 */
    padding: 0 10px; /* パディングを統一 */
    font-size: 14px; /* フォントサイズを統一 */
    border-radius: 4px; /* 角の丸みを統一 */
}

textarea {
	padding: 6px 10px;
	width: calc(100% - 20px);
	margin: 5px 10px;
	height: 7em;
	display: block;
}
form > textarea {
}
td textarea {
	margin: 0;
	width: 100%;
}

input:hover,
textarea:hover {
	border: 1px dashed #333;
	/* outline: none; */
}

textarea.as_prompt {
	border-radius: 10px;
	height: 360px;
	font-size: 18px;
	background-color: #f3f3f0;
	border: 2px solid #333;
	color: #333;
}
textarea.as_prompt:active,
textarea.as_prompt:focus {
	outline: none;
	/* box-shadow: 0 0 7px rgba(0, 0, 0, 0.1); */
	/* border: 2px solid darkgreen; */
	/* background-color: #fff; */
	/* border: 2px solid #333; */
		/* outline: 2px solid #333; */
	/* outline-offset: -2px; */
	/* color: #333; */
}

::placeholder {
	color: #ddd;
}
::placeholder {
	color: #aaa;
}

/* inputのタイプごとの設定
----------------------------------------------- */
input[type="text"] {
	width: 100%;
}
input[type="text"].short {
	width: 40%;
}

input[type="search"] {
	border: 1px solid transparent;
}

input[type="checkbox"] {
	transition: 0.3s;
	height: 20px;
	width:  20px;
}

input[type="checkbox"]:hover {
	cursor: pointer;
}

input[type="file"] {
	background-color: #fafafa;
	border: 2px dashed #333;
	border-radius: 3px;
	padding: 20px 20px;
	display: inline-block;
	width: calc(100% - 40px);
	transition: 0.3s;
}
input[type="file"]:hover {
	background-color:  #e8ffe8;
	background-color:  #f0f0f0;
	background-color:  #f7fff7;
	border: 2px dashed #008000;
}

input[type="url"],
input[type="number"],
input[type="date"],
input[type="datetime"],
input[type="text"],
input[type="password"] {
/*
	padding-left:  5px;
	padding-right: 5px;
	height: 30px;
*/
}
input[type="password"] {
	width: 100%;
}

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

input[type="url"] {
	width: 100%;
}

input[type="date"] {
	width: 280px;
}
input[type="datetime"] {
	width: 180px;
}

/* select
----------------------------------------------- */
select {
	width: 200px;
	/* width: 200px;
	height:      36px;
	line-height: 36px;
	font-size: 14x;
	background-color: #f5f5f5;
	padding: 0 4px;
	border-radius: 5px;
	border: 1px dashed #333;
	margin-top: 5px; */
}
select option {
}

select:focus {
}
select:hover {
	cursor: pointer;
	background-color: #fafafa;
}

/* top_bar
----------------------------------------------- */
.top_bar {
	border-bottom: 1px solid #333;
	padding: 5px;
}

.top_bar a {
	padding: 5px;
	display: inline-block;
	border: 1px solid #f0f0f0;
	min-width: 60px;
	text-align: center;
	color: #333;
	font-weight: bold;
}

.top_bar a:hover {
	background-color: #f0f0f0;
	border: 1px solid #333;
}

/* フッター
----------------------------------------------- */
#footer {
	background-color: #333;
	color: #fff;
	padding: 10px;
	padding-bottom: 80px;
}

#footer .title {
	font-family: 'Cinzel', serif;
	display: inline-block;
	color: #fff;
	font-size: 30px;
	font-weight: bold;
	padding: 10px 3px;
}
#footer .title:hover {
	color: #ccc;
}

#footer .f_menu a {
	width: 120px;
	display: inline-block;
	padding: 5px;
	color: #fff;
	font-size: 15px;
}
#footer .f_menu a:hover {
	color: #ccc;
}
#footer .copyright {
	font-size: 9px;
	color: #aaa;
	margin: 8px 5px 0;
}

/* .btn
----------------------------------------------- */
.btn {
	font-family: 'Mochiy Pop P One', sans-serif;
	/* transition: 0.3s; */
	display: inline-block;
	/* min-width: 8em; */
	padding: 14px 18px;
	font-size: 14px;
	text-align: center;
	position: relative;
	border-radius: 5px;
	border: 1px solid transparent;
	line-height: 1.2em;
	background-color: #f5f5f5;
	color: #090909;
}
.btn.yes_btn {
	border: 2px solid #333;
}
.btn.blue {
	color: #0088aa;
}
.btn.now {
	background-color: #090909;
	color: #f5f5f5;
}
.btn.new {
	color: #ff0080;
}

.btn:hover {
	background-color: #fff;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
	/* color: #0088fe; */
	/* border: 1px solid #0088fe; */
/*	border-radius: 8px; */
}

/* 押せないボタン */
span.non_btn {
	font-family: 'Mochiy Pop P One', sans-serif;
	transition: 0.3s;
	display: inline-block;
	padding: 14px 18px;
	font-size: 14px;
	text-align: center;
	position: relative;
	border-radius: 5px;
	border: 1px solid transparent;
	background-color: transparent;
	line-height: 1.2em;
	color: #aaa;
}

.pack_btns span.non_btn {

}

/* 管理者用
----------------------------------------------- */
.only_admin {
	border: 1px solid red;
}

/* 小さいボタン
----------------------------------------------- */
.small_btn {
	font-family: 'Mochiy Pop P One', sans-serif;
	/* transition: 0.3s; */
	display: inline-block;
	padding: 5px 8px;
	font-size: 12px;
	text-align: center;
	position: relative;
	border-radius: 5px;
	border: 1px solid #ccc;
	line-height: 1.2em;
	background-color: #f5f5f5;
	color: #090909;
	margin-left: 10px;
}
.small_btn:hover {
	background-color: #fff;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
	color: #0088fe;
	border: 1px solid #0088fe;
}

/* 画面"右側"にささやかに設置するリンクボタン
----------------------------------------------- */
a.right_btn {
	display: block;  /* インラインブロックからブロックに変更 */
	width: fit-content; 
	padding: 6px 10px;
	margin : 6px 10px;
	font-size: 13px;
	text-align: center;
	border: 1px solid transparent;
	text-decoration: none;
	margin-left: auto;  /* 左側のマージンを自動で調整 */
	margin-right: 0;    /* 右側のマージンを0に */
	border-radius: 5px;
	transition: 0.3s;
}
a.right_btn:hover {
	border: 1px dashed #0088fe;

}

/* 戻るボタン
----------------------------------------------- */
a.back_btn {
	transition: 0.3s;
	display: inline-block;
	font-weight: bold;
	border-radius: 0px;
	color: #fff;
	padding: 9px 18px 9px 14px;
	background-color: #090909;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	font-size: 14px;
	text-align: center;
	border: 1px solid transparent;
	border-radius: 0 10px 10px 0;
	text-decoration: none;
	margin: 10px 0 20px;
}
/* back_btnが連続した場合は2つ目のUIは左にマージンを入れる */
a.back_btn + .back_btn {
	margin-left: 10px;
	border-radius: 10px;
}

a.back_btn:hover {
	background-color: #fff;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
	color: #0088fe;
	border: 1px solid #0088fe;
}

/* togglenボタン
----------------------------------------------- */
.togglen {
	font-family: 'Mochiy Pop P One', sans-serif;
	/* transition: 0.3s; */
	display: inline-block;
	display: block;
	min-width: 120px;
	padding: 8px 18px;
	margin: 5px 10px;
	font-size: 14px;
	font-size: 12px;
	text-align: center;
	position: relative;
	border-radius: 5px;
	/* border: 1px dashed green;
	color: green; */
	border: 1px dashed #333;
	color: #333;
	line-height: 1.2em;
	background-color: #fff;
}
.togglen:hover {
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	background-color: #f5f5f5;
}
.togglen.show { 
	border: 1px solid #00aa55;
	color: #00aa55;
}

.head_info {
	/* background-color: #fffff2; */
	padding: 2px;
	border: 1px dashed #00aa55;
	margin: 10px;
	margin-top: 0px;
	border-radius: 8px;
}
.head_info.show {
	margin-top: 5px;
}

/* 
----------------------------------------------- */
.left_title {
	/* display: inline-block; */
	float: left;
	/* font-size: 14px; */
	width: 80px;

	/* background-color: #008000; */
	padding: 20px 0 20px 10px;
	text-align: center;
	margin-right: 5px;
}

/* 目立つ１つだけのボタン
----------------------------------------------- */
.one_btn {
	margin: 10px 10px;
	padding: 6px 0;
	text-align: center;
}
.one_btn .btn {
	padding: 12px;
	margin : 4px;
	border: 2px solid #333;
	/* border-radius: 3px; */
}
.one_btn .btn:hover {
	/* color: #000; */
	/* color: #333; */
	/* border: 2px solid #333; */
}

/* 目立つボタン複数・センター寄せ
----------------------------------------------- */
.strong_btns {
	border: 1px dashed #ddd;
	border-radius: 5px;
	background-color: #fff;
	margin: 10px 10px;
	padding: 6px 0;
	text-align: center;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.strong_btns .btn {
	padding: 12px;
	margin : 4px;
}

.btn.primary {
	/* 赤とオレンジのグラデーション色 */
	background-image: linear-gradient(45deg, #ff0080, #bfbf00);
	font-family: 'M PLUS 1 Code', sans-serif;
	border: none;
	color: #fff;
	/* border: 1px solid #ccc; */
}

/* btns / 管理画面の上部にあるメニューなど左寄せでぴっちりと並べるUI
----------------------------------------------- */
.pack_btns {
	border: 1px dashed #ddd;
	border-radius: 5px;
	background-color: #fff;
	margin: 10px 10px;
	padding: 2px;
	text-align: left;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.pack_btns .btn,
.pack_btns span.non_btn {
	margin: 2px;
	padding: 8px;
	min-width: 60px;
/*	background-color: #333;
	color: #fff; */
}

.pack_btns.small .btn,
.pack_btns.small span.non_btn {
	margin: 2px;
	padding: 4px 4px;
	min-width: 40px;
	font-size: 9px;
}


/* 小さいボタン
----------------------------------------------- */
.s_btn {
	font-family: 'Mochiy Pop P One', sans-serif;
	transition: 0.3s;
	display: inline-block;
	font-size: 12px;
	text-align: center;
	position: relative;
	border-radius: 5px;
	border: 1px solid transparent;
	background-color: #f5f5f5;
	line-height: 1.2em;
	color: #090909;
	margin: 2px;
	/* margin-bottom: 5px; */
	padding: 8px;
	min-width: 6em;
}

/* one_form
----------------------------------------------- */
form.one_form {
	margin: 15px auto;
	text-align: center;
}

.one_form * {
	vertical-align: top;
}
.one_form > div {
	display: inline-block;
}

.one_form .name,
.one_form input,
.one_form .btn {
	margin: 0;
	display: inline-block;
	line-height: 1.2em;
	padding: 10px;
	font-size: 14px;
	border: 1px solid;
}
.one_form .name {
	margin-left: 10px;
	border: transparent;
}

.one_form input {
	margin-left: 5px;
	width: 40%;
	max-width: 200px;
	border-color: #ccc;
}
.one_form input:focus {
	border-color: #0080ff;
}
.one_form .btn {
	margin-left: 10px;
	width: 80px;
}

/* タブ
----------------------------------------------- */
.tabs {
	margin-top: 15px;
	margin-bottom: 15px;
	border-bottom: 1px solid #e5e5e5e5;
	font-family: 'Mochiy Pop P One', sans-serif;
}

.tabs .tab {
	margin: 0;
	margin-left: 5px;
	display: inline-block;
	padding: 8px 8px 6px;
	text-align: center;
	min-width: 70px;
	font-size: 12px;
	border-bottom: 1px solid transparent;
	color: #999;
	border-radius: 5px 5px 0 0;
/*	font-weight: bold; */
	border-top:	  1px solid #f0f0f0;
	border-left:  1px solid #f0f0f0;
	border-right: 1px solid #f0f0f0;
}

.tabs .tab:first-child {
	margin-left: 5px;
}

.tabs .tab.now {
	/* font-weight: bold; */
	color: #333;
	background-color: #fafafa;
	border-top:   1px solid #bbb;
	border-left:  1px solid #bbb;
	border-right: 1px solid #bbb;
}
.tabs .tab:hover {
	background-color: #fafafa;
	cursor: pointer;
	color: #333;
	border-bottom: 1px solid #0088fe;
}

/* thums_panel
----------------------------------------------- */
.thum_panel {
	position: fixed;
	top:  0;
	left: 0;
	width: 100%;
	height: 100px;
	height: 0;
	overflow-y: scroll;
	z-index: 500;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);

/*	display: none; */
	overscroll-behavior: none;
	background-color: #fafafa;
	transition-duration: 0.4s;
	transition-timing-function: cubic-bezier(.04,.62,.07,1.1);
}

.thum_panel.show {
/*	display: block; */
	height: calc(100vh - 60px);
	border-bottom: 2px solid #333;
}

/* thums
----------------------------------------------- */
:root {
	--thums_min: 3;
}
/* 基準 */
@media screen and (min-width: 0px) {
	.thums {
		min-height: 100%;
		padding: 0px;

		display: grid;
		grid-template-columns: repeat(var(--thums_min), calc(100% / var(--thums_min)));
		/* grid-auto-rows: calc(100vw / var(--thums_min) * 1.4); */

		grid-template-rows: repeat(1000, max-content);
	}
	.thums .item {
		/* 縦幅は横幅の1.4倍まで */
		max-height: calc(100vw / var(--thums_min) * 1.4);
	}
}

/* RWD: ナビバー: 700px以上の場合 */
@media screen and (min-width: 700px) {
	.thums {
	    grid-template-columns: repeat(9, calc(100% / 9));
	    /* grid-auto-rows: calc(100vw / 9 * 1.4); */
	}
	.thums .item {
		/* 縦幅は横幅の1.4倍まで */
		max-height: calc(100vw / 9 * 1.4);
	}
}


.line_item .item {
	display: inline-block;
}

.req_frame .item {
	display: inline-block;
	vertical-align: top;
	padding: 5px;
}
.req_frame .item.selected {
	box-shadow: 0 1px 4px rgba(0, 0, 5, 0.3);
	border-bottom: none;
	border-radius: 20px 20px 0 0;
	overflow: hidden;
}
.req_frame img {
	border: 1px solid #333;
	border: 1px solid transparent;
}

.req_frame .item > img:hover {
	border: 1px solid #0080ff;
	cursor: pointer;
}
.req_frame .line {
	border: 1px dashed #eee;
	background-color: #fafafa;

	border-radius: 5px;
	/* padding: 5px; */
	margin: 5px;
}

.req_frame .info_req {
	width: 30%;
	padding: 5px;
	margin: 5px;
	border-radius: 5px;

	display: inline-grid; /* Gridレイアウトを指定 */
	/* 横には2つの要素を配置 */
	/* 最低の幅は200px; */
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));

	grid-template-rows: repeat(auto-fit, minmax(0, 1fr)); /* 子要素を縦に均等に配置 */
	gap: 8px; /* 子要素間の間隔を指定 */
	height: 100%; /* 親要素が持つ高さを100%に設定し、子要素を均等に分配 */	
}

.req_frame .info_req a {
	background-color: #fff;
	padding: 5px;
	border: 1px dashed #ddd;

	border-radius: 5px;
}
.req_frame .info_req a.dup_btn {
	border: 1px solid #0080ff;
}

/* .info_req以下の要素は縦に均等に並べる */
.req_frame .info_req * {

	
}


.inner_panel {
	grid-column: 1 / -1;
	max-width: 100%;
	box-shadow: 0 1px 4px rgba(0, 0, 5, 0.3);
	border-right: none;
	border-left: none;
	margin: 10px 10px;
	border-radius: 10px;
	background-color: #fafafa;
	min-height: 400px;
	overflow: hidden;
	position: relative;
}
.inner_panel .memo {
	padding: 0 5px 5px 5px;
	font-size: 11px;
	color: #aaa;
}

.inner_panel img {
	width: 100%;
	max-height: 80vh;
	object-fit: contain;
	margin: 0 auto;
	text-align: center;
	background-color: #fff;
}
.inner_panel img:hover {
	cursor: pointer;
}
.inner_panel .to_note_list {
	margin-top: 5px;
}
.inner_panel .to_note_list .name {
	margin: 0 5px 0 12px;
	display: inline-block;
}

.thums .item {
	position: relative;
	border: 1px solid #fff;
	width: 100%;
	height: 100%;
	min-width: 80px;
	overflow: hidden;
	/* 縦幅は横幅の1.4倍まで */
	/* max-height: calc(100vw / var(--thums_min) * 1.4); */
}

.thums .item.selected {
	box-shadow: 0 1px 4px rgba(0, 0, 5, 0.3);
	border-bottom: none;
	border-radius: 0px 20px 0 0;
	overflow: hidden;
}

.thums .item img {
/*	object-fit: cover; */
	object-fit: contain;
	width: 100%;
	height: 100%;
}

.thums .item input[type="checkbox"] {
	position: absolute;
	top: 5px;
	left: 5px;
}

.thums .item label {
	border: 1px solid #f0f0f0;
	/* transition: 0.3s; */
}
.thums .item label:hover {
	border: 1px solid #0080ff;
}
.thums .item label:has(input:checked) {
	border: 4px solid #0088fe;
	/* border-radius: 8px; */
}

.thums .item.unsafe {
	/* outline: 1px solid red; */
	border: 1px solid red;
	border-radius: 8px;
}
.thums .item.by_batch {
	/* outline: 1px solid green; */
	border: 1px solid #00aa55;
	border-radius: 8px;
}

.thums .item .seed_ui {
	position: absolute;
	right: 0px;
	top: 0px;
	display: inline-block;
	background-color: #ff0080;
	color: #fff;
	border-radius: 0 0 0 5px;
	font-weight: bold;
	width: 30px;
	line-height: 22px;
	height:      22px;
	font-size: 9px;
	text-align: center;
	vertical-align: bottom;
}
.thums .item .how_ui {
	font-family: 'M PLUS 1 Code', sans-serif;
	position: absolute;
	display: inline-block;
	background-color:#333;
	margin: 2px 0;
	color: white;
	/* text-shadow: 1px 1px 0 rgba(0,0,0,0.3),
               -1px -1px 0 rgba(0,0,0,0.3),
                1px -1px 0 rgba(0,0,0,0.3),
                -1px 1px 0 rgba(0,0,0,0.3); */
	min-width: 24px;
	max-width: 100%;
	padding: 1px 6px 0;
	line-height: 1.4em;
	font-size: 11px;
	text-align: left;
	vertical-align: bottom;
	/* opacity: 0.5; */
	word-wrap: break-word; /* テキストを強制的に折り返す */
	
	position: absolute;
	top:   -2px;
	left:  -2px;
	background-color: #444;
	color: #fff;
	font-weight: bold;
	font-size: 10px;
	padding: 0px 4px 1px;
	text-align: center;
	border-radius: 0 3px 3px 0;
	border: 1px solid #fff;

}
.thums .item .how_ui.how_i2i {
	background-color: #00ff00;
	background-image: linear-gradient(45deg,  #38a338, #f5ea88);
	background-image: linear-gradient(45deg,  #1ee0ee, #f5ea88);
}
.thums .item .how_ui.how_t2i {
	background-color: pink;
	background-image: linear-gradient(45deg, rgb(219, 107, 126), #bdf3dd);
}
.thums .item .how_ui.how_upload {
	background-color: #5757f5;
	background-image: linear-gradient(45deg, #5757f5, #57c8f5);
}
.thums .item .how_ui.how_web {
	background-color: #9d009d;
	background-image: linear-gradient(45deg, #6e0c6e, #f5abd6);
}
.thums .item .how_ui.how_unsafe {
	background-color: #f83f3f;
	background-image: linear-gradient(45deg, #f83f3f, #5e1d09);
}
.thums .item .how_ui.how_old {
	background-color: #9e3131;
	background-image: linear-gradient(45deg, #9e3131, #461d10);
}
.thums .item .how_ui.how_crop {
	background-color: #24b6b6;
	background-image: linear-gradient(45deg, #24b6b6, #1d8e8e);
}
.thums .item .how_ui.how_dim25 {
	background-color: #67af08;
	background-image: linear-gradient(45deg, #3d6d05, #67af08);
}
.thums .item .how_ui.how_paint {
	background-color: #ff8c00;
	background-image: linear-gradient(45deg, #ff8c00, #ff0000);
}
.thums .item .how_ui.how_sp_movie {
	background-color: #598c97;
	background-image: linear-gradient(45deg, #36636d, #54dddd);
}
.thums .item .how_ui.how_copy {
	background-color: rgb(133, 133, 29);
	background-image: linear-gradient(45deg, #949424, #4d235e);
}

.thums .item .pic_cmd_btn {
	position: absolute;
	/* 中央に配置 */
	right: calc(50% - 25px);
	border-radius: 20px;
	width:  50px;
	height: 50px;
	padding: 5px 5px;

	bottom: -15px;
	bottom: 0px;
	display: inline-block;
	/* background-color: #0080ff; */
	/* color: #fff; */
	/* border: 1px solid #999; */
	border: 1px dashed rgb(0, 0, 0, 0.3);
	box-shadow: 0 1px 4px rgba(255, 255, 255, 0.3);
	/* color: #999; */
	color: rgb(0,0,0,0);
	/*
	text-shadow: 1px 1px 0 #fff,
             -1px -1px 0 #fff,
             1px -1px 0 #fff,
             -1px 1px 0 #fff;
	border-radius: 8px;
	font-weight: bold;
	font-size: 9px;
	text-align: center;
	vertical-align: bottom;
	*/
	text-align: center;
	/* z-index: 1000; */

	transition: 0.3s;
}
.thums .item .pic_cmd_btn:hover {
	cursor: pointer;
	padding: 15px 0px;
	border: 1px solid #333;
	background-color: rgb(255, 255, 255, 0.7);
	color: #333;
}

.thums .item .check_ui {
	position: absolute;
	top: 5px;
	left: 5px;
	display: none;
	background-color: #f0f0f0;
	color: #fff;
	border-radius: 30px;
	font-weight: bold;
	width:  30px;
	height: 30px;
	font-size: 9px;
	text-align: center;
	vertical-align: baseline;
/*	transition: 0.3s; */
}

.thums .item:hover {
	opacity: 0.8;
	cursor: pointer;
	/* border: 1px solid #333; */
}

/* コマンドボタン群 */
.cmd_btns {
	display: grid;
	/* 横幅いっぱいにボタンをならべ、かつ、ボタンの最低幅も指定可能な記述方法 */
	grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); /* 列の幅を設定 */
	gap: 10px;     /* ボタン間の間隔を設定 */
	padding: 10px; /* gapはボタン同士の間隔だけを設定するので、さらに外側も間隔を入れたい場合はpaddingを指定する */
}
.cmd_btns .btn {
	/* margin: 3px; */
	margin: 0;
	padding: 8px 5px;
	border: 1px solid #333;
	font-size: 14px;
	background-color: #fff;
	color: #333;

	/* .btnの中に来る要素を縦横どちらにおいても中央に来るように配置 */
	display: flex;
	justify-content: center;
	align-items: center;
  
}
.cmd_btns .btn.now_faved {
	border: 2px solid #0080ff;
	color: #0080ff;
}

/* チェックモード次の動作 */
body[check_mode="delete"] .thums .item .check_ui {
	background-color: red;
	display: inline-block;
	top:   5px;
	right: 5px;
	left: auto;
	border-radius: 3px;
}
body[check_mode="pot"] .thums .item .check_ui {
	background-color: green;
	display: inline-block;
}

body[check_mode="delete"] .thums .item:hover,
body[check_mode="pot"]    .thums .item:hover {
	border: 1px dashed #20a3c4;
}
/* チェックモードになった際はcmd_btnは非表示 */
body[check_mode="delete"] .thums .item .pic_cmd_btn,
body[check_mode="pot"]    .thums .item .pic_cmd_btn {
	display: none;
}

body[check_mode="view"] .thums .item .seed_ui,
body[check_mode="view"] .thums .item .pic_cmd_btn {
	display: none;
}


/* 要素の中央寄せについて
----------------------------------------------- */
/* 要素を中央寄せにするには2パターンある
  A) 親＋子で設定 (inline-block) 
    ・中央寄せしたいDOMを「display: inline-block」にする。
    ・親要素に「text-align: center」を指定する。
  もしくは
  B) それだけで設定 (block)
    ・中央寄せしたいDOMにwidth: XXpx, display:block, margin:0 auto;を指定する。
	・それ自体の設定だけで済むのシンプルだが、幅が必須である点に注意。
    ・幅をその要素の中にimgを入れて幅はその幅に依存したいというようなケースなどdivに幅を指定したくない場合はAパターンを使う
  */
.en_center { /* これは Aパターン */
	text-align: center; 
}

/* crop
----------------------------------------------- */
.crop_frame {
	display: inline-block;
	/* border: 1px solid #333; */
	position: relative;

	border: 1px solid #ddd;
	/* border-radius: 10px; */
	margin: 10px;

}
.crop_frame img {
 	max-width: 100%;
	max-height: 70vh;
/*	height: 100%;
	width:  100%;*/
	/* object-fit: contain; */
}

.crop_frame .area {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 0%;
	height: 0%;
	border: 2px dashed #ff0080;
	pointer-events: none;
}

.crop_frame .cursor {
	display: none;
	position: absolute;
	left: 5px;
	top: 5px;
	width:  10px;
	height: 10px;
	border-radius: 5px;
	background-color: #ff0080;
}

/* one_image
----------------------------------------------- */
.one_image {
	/* width:  calc(100%);
	height:     80vh; */
	max-width: 100%;
	/* max-height: 50vh; */
	max-height: auto;

	/* max-height: 80vh; */
	border: 1px solid #f0f0f0;
	margin: 0;
	transition-duration: 0.4s;
}
.one_image.small {
	/* height:   40vh; */
	max-width: 200px;
	max-height: 200px;
}

.one_image img {
	height: 100%;
	width:  100%;
	object-fit: contain;
}

/* slideshow
----------------------------------------------- */
/* ref: (flex css) https://webdesign-trends.net/entry/8148
*/

.slideshow {
	padding: 0px;
/*	border: 1px solid #f0f0f0; */
/*	background-color: #fafafa; */

/* スライドショー開始位置（topの位置）がピタッと来るようにしたいが実質意味のない指定になっている。
scroll-snap-align: start;
*/

	/* 各画像のスライドをスティッキーにする */
	scroll-snap-type: x mandatory;
}

/* 横スクロール */
.slideshow {
	display: flex;
	flex-flow: row nowrap;
	overflow: auto;  /* 縦に伸ばす */
}

/*
.slideshow.edit_mode {
	background-color: #eee;
}
*/

/* PCサイズなら横スクロールをキャンセル */
@media screen and (min-width: 500px) {
	.slideshow {
		height: auto;
		display: block;
		flex-flow: none;
	}
}

.slideshow {
	height: auto;
	display: block;
	flex-flow: none;
}

.slideshow .item {
/*	border-bottom: 1px solid #eee; */
/*	transition: 0.6s; */
	overflow: hidden;
	border: 1px solid rgba(0,0,0,0);
	scroll-snap-align: start;

	text-align: center;
	position: relative;
	display: inline-block;

	/* これを指定しないと伸び縮みしてしまう */
	flex: none;

	width: 100%;
	height: calc(100vh - 2px);
	margin-bottom: 10px;
}
.slideshow .item.how_u {
	/* border: 1px solid yellow; */
}
.slideshow .item.unsafe {
	border: 2px solid red;
}
.slideshow .item.free .no {
	background-color: #ff6868;
}
.slideshow .item.limited .no {
	background-color: #20a3c4;
}
.slideshow .item.auto .no {
	background-color: #008000;
}
.slideshow .item.movie .no {
	background-color: #ff0080;
}
.slideshow .item.closed .no {
	background-color: #598c97;
}
.slideshow .item.pot .no {
	background-color: #e3e300;
}
.slideshow .item.draft .no {
	background-color: #598c97;
}
.slideshow .item.ubox .no {
	background-color: #9d009d;
}

.slideshow .item img {
	height: 100%;
	width:  100%;
	object-fit: contain;
}

.slideshow .item textarea.inner_text {
	background-color: #eee;
	background-color: #ffffd9;
	height: 50vh;
	border: solid 3px #333;
	border-radius: 5px;
}
.slideshow .item textarea.inner_text:focus {
	border: solid 3px #333;
}

.slideshow.for_note .item img {
/*	max-height: calc(100vh - 90px); */
	max-height: calc(100vh - 2px);
}

.slideshow .item.end {
	background-color: #aaa;
	text-align: center;
	display: table;
	height: 30vh;
}
.slideshow .item.end span {
	color: #fff;
	display: table-cell;
	vertical-align: middle;
	font-size: 30px;
	font-family: 'Mochiy Pop P One', sans-serif;
}

.slideshow .item .no {
	position: absolute;
	left: 0;
	top: 0;
	background-color: rgba(0,0,0,0.05);
	color: #fff;
	font-weight: bold;
	min-width: 30px;
	height: 30px;
	padding: 6px 8px;
	text-align: center;
	border-radius: 0 0 5px 0;
}

.slideshow .item .ds_ui {
	position: absolute;
	left: 85px;
	top: 0;
	background-color: rgba(0,0,0,0.3);
	color: #fff;
	font-weight: bold;
	border-radius: 5px;
	width: 30px;
	height: 30px;
	padding: 6px 0;
	text-align: center;
}

.slideshow .item .type_icon {
	position: absolute;
	left: 5px;
	top: 40px;
	display: inline-block;
	/* background-color: rgb(0, 0, 0, 0.1); */
	border: 1px solid #aaa;
	color: #aaa;
	border-radius: 5px;
	/* font-weight: bold; */

	border-radius: 50%;
	width:  21px;
	height: 21px;
	line-height: 18.5px;
	text-align: center;
	font-size: 9px;
}

.slideshow .item .pfav_btn {
	position: absolute;
	right: 5px;
	top: 5px;
}

.slideshow .item .del_btn {
	position: absolute;
	left: 5px;
	top: 80px;
	display: inline-block;
	/* background-color: #333; */
	background-color: rgba(0, 0, 0, 0.3);
	color: #fff;
	border-radius: 5px;
	font-weight: bold;
	width: 50px;
	height: 30px;
	padding: 6px 10px;
	text-align: center;
}

.slideshow .item .pic_cmd_btn {
	position: absolute;
	left: 5px;
	bottom: 80px;
	display: inline-block;
	/* background-color: #0080ff; */
	/* color: #fff; */

	border: 1px solid #999;
	border: 1px dashed #ccc;
	color: #999;
	
	border-radius: 8px;
	font-weight: bold;
	width: 80px;
	/* height: 30px; */
	padding: 6px 0;
	text-align: center;
	transition: 0.3s;
}

.slideshow .item .pic_cmd_btn:hover {
	cursor: pointer;
	padding: 15px 10px;
	border: 1px solid #333;
	background-color: rgb(255, 255, 255, 0.7);
	color: #333;
}

.slideshow .item .seed_btn {
	position: absolute;
	right: 5px;
	top: 80px;
	display: inline-block;
	background-color: gray;
	color: #fff;
	border-radius: 5px;
	font-weight: bold;
	width: 80px;
	height: 30px;
	padding: 6px 0;
	text-align: center;
}
.slideshow .item[seed="on"] .seed_btn {
	background-color: #ff0080;
}
.slideshow .item[seed="off"] .seed_btn {
	background-color: gray;
}

.slideshow .item .seed_btn:hover,
.slideshow .item .del_btn:hover {
	cursor: pointer;
	opacity: 0.5
}

/* cards
----------------------------------------------- */
.cards {
	width: 100%;
	text-align: left;
	text-align: center;
	background-color: #fafafa;
	border-radius: 10px;
	padding: 2px;
}

.cards .card {
	vertical-align: top;

    /* 2 2 WW 2 2 WW 2 2px => 12pxが余白 */
	width: calc(50% - 4px);
	height: calc(50vw * 1.4);
	max-width:  180px;
	max-height: calc(180px * 1.4);
	margin: 2px;

	border: 1px solid #f0f0f0;
	border-radius: 10px;
	background-color: #fff;

	display: inline-block;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cards .card img {
	width:  100%;
	height: 100%;

	/* ref: https://webdesignday.jp/inspiration/technique/css/7976/ */
/*	object-fit: contain; *//* すっぽり入る / 全体が見える */
	object-fit: cover;   /* 隙間がないように中に入れる / はみ出し部分が出る */

	display: inline-block;
	border: none;
}

.cards .card .title {
	position: absolute;
	height: 34px;
	bottom: 0px;
	background-color: rgba(255,255,255,0.4);
	background-color: #fff;
	font-weight: bold;
	color: #555;
	font-size: 9px;
	line-height: 1.6em;
	padding: 3px 8px;
/*	border-top: 1px solid #f0f0f0; */
	text-align: left;

	/* ref:  https://qiita.com/ezawa800/items/534e36f819e9ad2712af
   複数行で始ま↓部分を...で省略 */
	width: 100%;
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.cards .card .count {
	position: absolute;
	top:   0px;
	right: 0px;
	background-color: #fff;
	color: #333;
	font-weight: bold;
	font-size: 13;
	padding: 5px 0;
	text-align: center;
	width:  50px;
	font-family: 'Mochiy Pop P One', sans-serif;
	height: 30px;
	border-radius: 4px;
	border-radius: 0 0 0 8px;
}

.cards .card .note_cmd_btn {
	position: absolute;
	right: 10px;
	bottom: 45px;
	display: inline-block;

	border: 1px solid #999;
	border: 1px dashed #ccc;
	color: #999;

	border-radius: 8px;
	font-weight: bold;
	width: 90%;
	padding: 5px 5px;
	font-size: 9px;
	text-align: center;
	vertical-align: bottom;
	transition: 0.3s;
}

.cards .card .note_cmd_btn:hover {
	cursor: pointer;
	padding: 15px 10px;
	border: 1px solid #333;
	background-color: rgb(255, 255, 255, 0.7);
	color: #333;
}

.cards .card .count span {
	font-size: 9px;
	margin-left: 2px;
}

.cards .card .eye_catch {
	position: absolute;
	top:   5px;
	left:  5px;
	background-color: #444;
	color: #fff;
	font-weight: bold;
	font-size: 11px;
	padding: 2px 6px;
	text-align: center;
	border-radius: 3px;
}
.cards .card .eye_catch.free {
	background-color: #ff6868;
	background-image: linear-gradient(45deg, #ff0080, #bfbf00);
}
.cards .card .eye_catch.limited {
	background-color: #20a3c4;
	/* background-color: #0088fe */
	background-image: linear-gradient(45deg, #20a3c4, #0a2842);
	background-image: linear-gradient(45deg, #0a2842, #20a3c4);
}
.cards .card .eye_catch.auto {
	background-color: #008000;
	background-image: linear-gradient(45deg, #421c0a, #c42020);
}
.cards .card .eye_catch.movie {
	background-color: #ff0080;
	background-image: linear-gradient(45deg, #ff0080, #d48ab8);
}
.cards .card .eye_catch.closed {
	background-color: #aaa;
}
.cards .card .eye_catch.pot {
	background-color: #e3e300;
	background-image: linear-gradient(45deg, #e3e300, #c5a720);
	background-image: linear-gradient(45deg,  #c5a720, #e3e300);
}
.cards .card .eye_catch.draft {
	background-color: #598c97;
}
.cards .card .eye_catch.ubox {
	/* background-color: #9d009d; */
	background-color: #8000ff;
	background-image: linear-gradient(45deg,  #b8276f,  #8000ff);
}

.cards .card .eye_catch.normal {
	background-color: #00aa55;
	background-image: linear-gradient(45deg, #00aa55, #00bf29);
	background-image: linear-gradient(45deg, #023d22, #00aa55);
	background-image: linear-gradient(45deg,  #1a7e51, #00aa55);
}

/* hover */
.cards .card:hover {
	border: 1px solid #0088fe;
}
.cards .card:hover img {
	opacity: 0.8;
}
.cards .card:hover .title {
	color: #0088fe;
}

.is_k img {
	opacity: 0.1 !important;
}
.is_home img {
	/* opacity: 0.1 !important; */
}
.is_mac img {
	opacity: 0.3 !important;
}
.is_prd img {
/*	opacity: 0.1 !important; */
}

/* scroll horizontal
----------------------------------------------- */
.scroll_h {
	width: 100%;
	overflow-y: scroll;
}

/* 説明
----------------------------------------------- */
.exp {
	border: 1px solid #ddd;
	border-radius: 5px;
	background-color: #fff;
	color: #777;
/*	margin: 10px; */
	margin: 10px;
	padding: 8px 12px 10px;
	text-align: center;
	text-align: left;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	line-height: 1.5em;
	 /* display: flex; */
  /* align-items: center;  */
}
.exp b {
	font-size: 15px;
	padding: 0px 3px;
}
.exp b.hi {
	color: #ff0080;
}

.exp a.aitem {
	/* margin-top: 0px; */
	font-size: 11px;
	color: #666;
	font-weight: bold;
	border-bottom: 1px dashed #aaa;
}

.exp .title {
	font-size: 10px;

	background-color: #aaa;
	color: #fff;
	border-radius: 4px;
	padding: 1px 5px;
	margin-right: 5px;
	margin-top: 3px; 
	display: inline-block;
}
.exp .red {
	background-color: #ff0080;
}
.exp .yellow {
	/* background-color: #e3e300; */
	background-color: #c6c600;
}
.exp .green {
	background-color: #00aa55
}
.exp .blue {
	background-color: #0088fe;
}
.exp .purple {
	background-color: #9d009d;
}
.exp .brown {
	background-color: #8b4513;
}
.exp .orange {
	background-color: #ff8c00;
}
.exp .pink {
	background-color: #ff69b4;
}
.exp .gray {
	background-color: #666;
}
.exp .black {
	background-color: #333;
	color: #fff;
}
.exp .white {
	background-color: #fff;
	color: #333;
}
.exp .sep {
	padding: 0 5px;
	color: #f0f0f0;
}

.exp .btn {
	padding: 10px 0px;
	margin-left: 15px;
	font-size: inherit;
}

/* PR文書
----------------------------------------------- */
.pr {
	border: 1px solid #ddd;
	border-radius: 5px;
	background-color: #fff;
	margin: 10px; 
	padding: 8px 12px 10px;
	text-align: center;
	text-align: left;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	vertical-align: top;
}
@media screen and (min-width: 700px) {
	.pr {
		/* 横幅は画面の半分 */
		/* margin: 10px 0 0 10px;  */
		width: calc(50% - 20px);
		display: inline-block;
	}
}

.pr .title {
	color: #777;
	font-size: 13px;
	margin-bottom: 10px;
	padding-bottom: 5px;
	/* font-weight: bold; */
	color: #aaa;
	color: #aaa;
	border-bottom: 1px solid #f0f0f0;
}
.pr .body {
	/* font-size: 15px; */
	font-size: 13px;
	/* padding-bottom: 3px; */
	color: #666;
	line-height: 1.5em;
}
.pr.my_msg b {
	/* color: #ff0080; */
}
.pr.my_msg .title {
	color: #ff0080;
}

/* メンテナンスメッセージ */
.pr.mente .body {
	color: #ff0080;
	/* font-size: 13px; */
}
.pr.mente {
	width: calc(100% - 20px);
}

.pr b {
	/* font-size: 15px; */
	padding: 0px 2px;
	color: #444;
	font-weight: bold;
}
.pr b.green {
	/* color: #00aa55; */
}
.pr b.red {
	color: #ff0080;
}

.pr .btn {
	padding: 10px 0px;
	margin-left: 15px;
	font-size: inherit;
}


/* 要約
----------------------------------------------- */
.desc {
	border: 1px dashed #ddd;
	margin: 10px;
	border-radius: 8px;
	padding: 8px;
	background-color: #fff;
	font-size: 16px;
}

/* tags
----------------------------------------------- */
.tags {
	/* font-family: 'Mochiy Pop P One', sans-serif; */
	font-family: 'M PLUS 1 Code', sans-serif;
	font-family: 'M PLUS 1 Code', sans-serif;

	text-align: left;
	background-color: #fafafa;
	border-radius: 3px;
	border: 1px solid #f0f0f0;
	padding: 1px;
	margin: 5px 10px;
}
.tags .tag {
	vertical-align: top;
	border-radius: 3px;
	/* color: #fff; */
	color: #333;
	background-color: #598c97;
	background-color: #0088fe;
	background-color: #666;
	background-color: #fafafa;
	border: 1px solid #ddd;
	margin: 1px;
	padding: 1px 6px 2px;
	display: inline-block;
	text-align: center;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.tags .tag:hover {
	/* background-color: #0088fe; */
	border: 1px solid #0088fe;
	color: #0088fe;
}
.tags a {
	/* バランスよく配置　*/
	margin: 2px 3px;
	display: inline-block;
	/* font-size: 14px; */
}
.tags .material-symbols-outlined {
	font-size: 17px;
}


/* not_fond
----------------------------------------------- */
.no_search_data {
	background-color: #fafafa;
	margin: 10px 10px;
	padding: 60px 30px;
	text-align: center;
	/* border: 2px dotted #9d009d; */
	border-radius: 10px;
	font-size: 18px;
	font-size: 16px;
	border: 2px dashed #9d009d;
	color: #9d009d;

	border: 2px dashed #ddd;
	color: #aaa;

}
.no_search_data.small {
	padding: 10px 30px;
	font-size: 14px;
}

/* ragne
----------------------------------------------- */
.search_range {
	text-align: left;
	background-color: #fafafa;
	border-radius: 3px;
	border: 1px solid #f0f0f0;
	padding: 3px 8px;
	margin: 5px 0px;
}

/* ページャー
----------------------------------------------- */
.pager {
	text-align: center;
	margin-top:    5px;
	margin-bottom: 5px;
}
.pager > * {
	vertical-align: top;
}

.pager > a,
.pager > div {
	padding: 4px;
	margin: 0;
	margin-left: 1px;
	border: 1px solid #ddd;
	text-align: center;
	width:  32px;
	height: 29px;
	vertical-align: middle;
	text-decoration: none;
	display: inline-block;
	border-radius: 3px;

	user-select: none;
}

.pager a {
	background-color: #f5f5f5;
	color: #555;
}

.pager a:hover {
	cursor: pointer;
	color: #fff;
	background-color: #0088fe;
	border: 1px solid #0088fe;
}

.pager .now {
	font-weight: bold;
	color: #fff;
	border: 1px solid #0088fe;
	color: #0088fe;
	background-color: #fff;
}

.pager .now:hover {
	cursor: auto;
}

.pager .pad {
	display: inline-block;
	font-weight: bold;
	background-color: #f0f0f0;
	width: 10px;
	height: 26px;
	border: 1px solid #f0f0f0;
}
.pager input.input_page {
	width:  40px;
	height: 39px;
	border: 1px solid #ddd;
	border-radius: 5px 0px 0px 5px ;
	text-align: center;
	margin-left: 5px;
	vertical-align: top;
	margin-top: 3px;
}
.pager input.input_page:hover {
	border: 1px solid #0088fe;
}
.pager input.input_page:focus {
	width: 100px;
}
.pager .submit_page {
	width:  40px;
	height: 39px;
	border: 1px solid #ddd;
	border-radius: 0px 5px 5px 0px;
	text-align: center;
	margin-top: 3px;
	margin-left: -1px;
	background-color: #f5f5f5;
	color: #555;
	padding: 0;
	vertical-align: top;
}
.pager .submit_page:hover { 
	cursor: pointer;
	background-color: #0088fe;
	border: 1px solid #0088fe;
	color: #fff;
}

.pager form {
	display: inline-block;
}


/* RWD: ページャー: 500px以上の場合 */
@media screen and (min-width: 500px) {
	.pager a,
	.pager span {
		width:  45px;
		height: 42px;
		padding: 10px 0;
	}

	.pager .pad {
		width:  10px;
		height: 40px;
	}

}

/* 横一列
----------------------------------------------- */
.ui_line {
	margin: 0;
	border: 1px solid #f0f0f0;
	background-color: #fff;
	padding: 0px 10px 0 0;
	font-size: 12px;
	line-height: 1.8em;
	color: #777;
}
.ui_line .title {
	display: inline-block;
	padding: 0 2px;
	background-color: #333;
	color: #fff;
	padding: 2px 8px 3px;
	margin-right: 5px;
}
.ui_line span {
	padding: 0 2px;
}
.ui_line a {
	padding: 0 5px;
}

/* 一行UI
----------------------------------------------- */
.one_line {

}
.one_line label {
	padding: 7px 10px;
	margin: 5px;
	border-radius: 5px 0 0 5px;
	color: #fff;
	background-color: #444;
	vertical-align: top;
}
.one_line input {
	vertical-align: top;
	margin: 5px;
}

/* 編集フォームのフレーム
----------------------------------------------- */
.edit_frame {
	width: calc(100% - 20px);
	margin: 10px;
	border-collapse: collapse;
    /* border:1px solid #ddd; */
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.edit_frame td,
.edit_frame th {
/*    border-bottom: 1px solid #ddd; */
	padding: 6px 8px;
	color: #090909;
	font-size: 13px;
	height: 40px;
	/* overflow-wrap: break-word; */
	word-break: break-word;
}

.edit_frame th {
	background-color: #fafafa;
	text-align: right;
	width: 30%;
	border-right: 1px solid #eee;
	vertical-align: middle;
}
.edit_frame td {
	background-color: #fff;
	overflow-wrap: break-all;
}

.edit_frame tr:hover th {
	background-color: #f0f0f0;
	color: #333;
}
.edit_frame tr:hover td {
	background-color: #f6f6f6;
}

/* one_line
----------------------------------------------- */
.one_line {
	width: calc(100% - 20px);
	margin: 5px;
	border-collapse: collapse;
    border: none;
}

.one_line td,
.one_line th {
	padding: 6px 8px;
	color: #090909;
	font-size: 13px;
	height: 40px;
}

.one_line th {
	text-align: right;
	width: 30%;
	vertical-align: middle;
}
.one_line td {
	overflow-wrap: break-all;
}

.one_line tr:hover th {
	color: #333;
}
.one_line tr:hover td {
}

/* 途中で強制的に改行する
----------------------------------------------- */
.break_force {
	overflow-wrap: break-word;
	max-width: 50vw;
}

.break_force a {
	overflow-wrap: break-word;
	width: 300px;
}

/* リンクを縦に並べる
----------------------------------------------- */
.f_link {
	border: 1px solid #0088fe;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	margin: 16px 10px;
	padding: 2px;
/*	max-width: 200px;
	max-width: 400px; */
}
.f_link .item {
	background-color: #f5f5f5;
	border-radius: 5px;
	margin: 3px;
	padding: 3px 8px;
}
.f_link .item:hover {
	background-color: #fafafa;
}
.f_link .item a {
	color: #0d0d0d;
	display: inline-block;
	width: 200px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.f_link .item a:hover {
	color: #0088fe;
}

/* list_frame
----------------------------------------------- */
.list_frame {
	background-color: #fafafa;
	/* max-width: 100%; */
	border-collapse:collapse;
	border: 1px solid #ddd;
    margin: 2px 10px;
    width: calc(100% - 20px);
}

.list_frame * {
	font-size: 12px;
}

.list_frame img:not(.big) {
	max-width:  120px;
	max-height: 120px;
}

.list_frame .fix {
	text-align: center;
	width: 60px;
	white-space: nowrap;
	margin: 0 20px;
}

.list_frame td,
.list_frame th {
	padding: 5px 10px;
	border-collapse: collapse;
	border-bottom: 1px solid #ddd;
	min-width: 70px;
}

.list_frame td {
	background-color: #fff;

    max-width: 500px;
    /* overflow: hidden; */
    /* text-overflow: ellipsis;
    white-space: nowrap; */
}

.list_frame tr:hover td {
	background-color: #f1f8fc;
}


/* cmd_bar
----------------------------------------------- */
.cmd_bar {
	margin: 0;
	background-color: rgba(0, 0, 0, 0.8);
	color: #fff;
	border-radius: 10px 0 0 0;
	padding: 10px 15px;
	position: fixed;
	bottom: 0px;
	right: 0;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	font-size: 22px;

	transition-duration: 0.4s;
	transition-timing-function: cubic-bezier(.04,.62,.07,1.1);
	width: 10px;
	height: 46px;
	display: grid;

    grid-template-columns: repeat(10, 46px);
    grid-auto-rows: 46px;
}

/*
.cmd_bar.open {
	background-color: #444;
	padding-left: 200px;
}
*/
.cmd_bar i:hover {
	cursor: pointer;
}

.cmd_bar i.off {
	display: none;
}

.cmd_bar i.off {
	display: none;
}

.cmd_bar.narrow {
	width: 240px;
}
.cmd_bar.wide {
	width: 340px;
}



/* ダイアログを表示する際の黒背景
----------------------------------------------- */
.black_bg {
	width:  100vw;
	height: 100vh;
	background-color: #333;
	top:  0;
	left: 0;
	position: fixed;
	z-index: 100;
	transition-duration: 0.4s;
	background-color: rgba(0, 0, 0, 0.0);
}
.black_bg.anim {
	background-color: rgba(0, 0, 0, 0.5);
}

/* アフィリエイトリンク
----------------------------------------------- */
.eye_line {
	font-size: 24px;
	font-weight: bold;
	color: #333;
	padding: 8px;
	text-align: center;
}

/* アフィリエイトリンク
----------------------------------------------- */
#amazonranklet {
	text-align: center;
}
#amazonranklet > .amazonranklet-item {
	vertical-align: top;
	display: inline-block;
	width: 200px;
	max-width: calc(50vw - 8px);
}

/* お気に入りボタン
----------------------------------------------- */
.fav_btn,
.ng_btn {
	transition: 0.3s;
	width : 50px;
	height: 50px;
	padding: 8px;
	margin: 5px 20px;
	border: 2px solid #ddd;
	border-radius: 5px;
	color: #ddd;
}

.fav_btn:hover,
.ng_btn:hover {
	border: 2px solid #aaa;
	color: #aaa;
}

.fav_btn.active {
	border: 2px solid #0080ff;
	color: #0080ff;
}
.ng_btn.active {
	border: 2px solid red;
	color: red;
}

/* Picお気に入りボタン
----------------------------------------------- */
.pfav_btn {
	transition: 0.3s;
	width:  44px;
	height: 44px;
	padding: 6px;
	margin: 0;
	border: 2px solid #ddd;
	border-radius: 5px;
	color: #ddd;
	opacity: 0.5;
}
.pfav_btn:hover {
	border: 2px solid #aaa;
	color: #aaa;
	opacity: 0.8;
}

.pfav_btn.active {
	opacity: 1;
	border: 2px solid #0080ff;
	color: #0080ff;
}


/* 制作者お気に入りボタン
----------------------------------------------- */
.ufav_btn {
	transition: 0.3s;
	width:  44px;
	height: 44px;
	padding: 6px;
	margin: 0;
	border: 2px solid #ddd;
	border-radius: 5px;
	color: #ddd;
	opacity: 0.5;
	margin-left: 10px;
}
.ufav_btn:hover {
	border: 2px solid #aaa;
	color: #aaa;
	opacity: 0.8;
}

.ufav_btn.active {
	opacity: 1;
	border: 2px solid #0080ff;
	color: #0080ff;
}

/* openable
----------------------------------------------- */
/* トグルボタン */
.openable_toggle_btn {
	user-select: none;
	cursor: pointer;
	white-space: nowrap;
	border: 1px solid #ddd;
	border: 1px solid rgba(0,0,0,0);
	border-bottom: 1px solid #eee;
	border-left: 1px solid #333;
	/*border-radius: 5px; */
	background-color: #fafafa;
	background-color: #fff;
	line-height: 1.2em;
	font-size: 11px;
	color: #666;
	margin:  1px 5px;
	margin:  0;
	padding: 3px 5px;
	overflow: hidden;
	text-overflow: ellipsis;
}
.openable_toggle_btn:hover {
	border-bottom: 1px solid #0080ff;
	border-left:   1px solid #0080ff;
	color: #0080ff;
}

/* 開閉される側 */
.openable {
	display: none;
}
.openable.opened {
	display: block;
}

/* レコメンド
----------------------------------------------- */
.recommend {
	margin: 5px 10px;
	font-size: 12px;
	padding: 10px;
	background-color: #f5f5f5;
	line-height: 2;
	border:    2px dashed #8000ff;
	border-radius: 3px;
	color: #8000ff;
	display: inline-block;
	width: calc(100% - 20px);
}
.recommend a {
	color: inherit;
}

/* チェックボックス＋テキスト
----------------------------------------------- */
.checkbox_label {
	display: inline-block;
	vertical-align: top;
	user-select: none;
	padding: 8px 15px;
	margin: 5px;
	border: 1px solid transparent;
}
.checkbox_label input[type="checkbox"] {
	margin-top: -2px;
	margin-right: 8px;
}
.checkbox_label input[type="radio"] {
	margin-top: -2px;
	margin-right: 3px;
}
.checkbox_label:hover {
	border-radius: 3px;
	background-color: #efefef;
	border: 1px dashed #333;
}

.checkbox_label .name,
.checkbox_label input {
	margin: 0;
	display: inline-block;
	line-height: 1.2em;
	padding: 5px;
	font-size: 14px;
	border: 1px solid transparent;
}
.checkbox_label .name:hover {
	/* border-bottom: 1px dashed #333; */
}

.checkbox_label input {
	margin-right: 2px;
	margin-left: 8px;
}

/* option_frame ※使わない設計を検討するべきかも？
----------------------------------------------- */
.option_frame {
	/*
	padding-top   : 10px;
	padding-bottom: 13px;
	*/
}

/* アップロード時の画像プレビューを表示する枠
----------------------------------------------- */
.preview_frame {

}

.preview_frame img {
	width: 30vw;
	max-width: 200px;
	margin: 2px;
	border: 1px solid #ddd;
}

/* itextの入力フォーム
----------------------------------------------- */
.caption_input {
	border: 1px solid #ddd;
	margin-top: 0px;
	border-radius: 8px;
	padding: 5px;
	background-color: #fff;
}
.caption_input textarea {
	border-radius: 5px;
	transition: 0.6s;
	background-color: #fff;
	height: 70px;
/*	font-family: 'Mochiy Pop P One', sans-serif; */
/*	font-family: 'Cinzel', serif; */
}
.slideshow .item:hover {
	border-style: dashed;
	border-radius: 8px;
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}
/* caption_inputの枠について定義 */
.slideshow .item       .caption_input:has(textarea:focus), /* テキストエリアにフォーカスが当たっている場合 or */
.slideshow .item:hover .caption_input {                    /* itemにマウスオーバー */
	border: 1px solid rgba(0,0,0,0);
	/*background-color: #eee; */
}
.caption_input textarea:focus {
}

.slideshow .item:has(textarea:focus) {
	border-radius: 8px;
/*	border: 1px solid #333; */
/*	border: 2px solid #333; */
}

/* itextのROM
----------------------------------------------- */
.itext_rom {
	border: 1px solid #333;
	border: 1px solid #f0f0f0;
	padding:  5px 8px;
	font-size: 20px;
}

/* itextのROM/Editでフォントを合わせる必要がある
----------------------------------------------- */
.itext_rom,
.caption_input textarea {
	font-family: 'M PLUS 1 Code', sans-serif;
	font-weight: bold;
	text-align: left;
}

/* mmd
----------------------------------------------- */
.mmd_ad {
	display: inline-block;
	vertical-align: top;
    /* 2 2 WW 2 2 WW 2 2px => 12pxが余白 */
	width:  calc(100% - 4px);
	height: calc(100vw * 0.56);
/*	height: 300px; */
}

#mmd_frame {
	border: 2px solid #333;
	/* border-radius: 5px; */
	overflow: hidden;
	/* aspect-ratio: 10 / 10; */
	margin-bottom: 5px;
	height: 100vh;
	max-width: 100%;
	margin: 0 auto;
}

#mmd_frame.middle {
	height: 60vh;
	max-width: 600px;
}

#mmd_frame.mini {
	height: 30vh;
	max-width: 300px;
}


/* ノート操作パネル
----------------------------------------------- */
.note_panel {
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	margin: 5px;
	padding: 5px;
	border-radius: 5px;
	border: 1px dashed #333;
	background-color: #fafafa;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	width:  calc(100vw - 10px);
	height: calc(100vh - 10px);
	z-index: 900;
}

.note_panel.show {
	display: block;
}
.note_panel .ni {
	/* display: inline-block; */
	width:  100%;
	padding: 5px;
}
.note_panel img {
	border: 1px solid #333;
	background-color: #fafafa;
	width: 100%;
	margin: 0 auto;
	display: inline-block;
	padding: 5px auto;
	height: 44vh;
	border: 1px solid #333;
	object-fit: contain;
}
.note_panel .text_area {
	background-color: #73b9b9;
	padding: 10px;
	border: 1px solid #333;
	height: 20vh;
}
.note_panel .cmd_btns {
	height: 20vh;
}
.note_panel .close_btn {
	height: 16vh;
}

.note_panel select {
	/* width: 100%; */
	margin: 5px;
	padding: 5px;
}

.note_panel .close_btn_big {
	position: absolute;
	right: 0;
	bottom: 0;
	display: inline-block;
	width: calc(100% - 20px);
	margin: 10px 10px;
	background-color: #333;
	color: #fff;
	font-size: 16px;
	padding: 20px 10px;
	text-align: center;
	border-radius: 8px;
}

.note_panel .same_last_note_btn {
	display: inline-block;
	width: 100px;
	margin: 5px;
	background-color: #008000;
	color: #fff;
	font-size: 12px;
	padding: 10px 10px;
	text-align: center;
	border-radius: 8px;
	vertical-align: top;
}

/* 画像操作パネル
----------------------------------------------- */
.old_panel {
	display: none;
	position: fixed;
	bottom: 0px;
	left: 0;
	margin: 5px;
	padding: 5px;
	border-radius: 5px;
	border: 1px dashed #333;
	background-color: #fafafa;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);

	width:  calc(100vw - 10px);
	height: calc(100vh - 10px);
	z-index: 900;
}

.old_panel.show {
	display: block;
}

.old_panel .ni {
	/* display: inline-block; */
	width:  100%;
	/* padding: 5px; */
}

.old_panel img {
	border: 1px solid #333;
	background-color: #fafafa;
	height: 50vh;
	object-fit: contain;

	margin: 0 auto;
	display: inline-block;
	padding: 5px auto;
}

.old_panel select {
	margin: 5px;
	padding: 5px;
}

.old_panel .close_btn_big {
	position: absolute;
	right: 0;
	bottom: 0;
	display: inline-block;
	width: calc(100% - 20px);
	margin: 10px 10px;
	background-color: #333;
	color: #fff;
	font-size: 16px;
	padding: 20px 10px;
	text-align: center;
	border-radius: 8px;
}

.old_panel .same_last_note_btn {
	display: inline-block;
	width: 110px;
	margin: 5px;
	background-color: #008000;
	color: #fff;
	font-size: 12px;
	padding: 8px 8px;
	text-align: center;
	border-radius: 8px;
	vertical-align: top;
}


/* ショートカットパネル
----------------------------------------------- */
.shortcut_panel {
	display: none;
	position: fixed;
	top:  0px;
	right: 0px;
	padding: 5px;
	padding-top: 20px;
	padding-bottom: 5px;
	border-radius: 0 0 10px 10px;
	background-color: #fafafa; 
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);

	width: 100%;
	z-index: 2000;
}

body[check_mode="delete"] .shortcut_panel {
	background-color: red;
	display: block;
}
body[check_mode="pot"] .shortcut_panel {
	background-color: green;
	display: block;
}

.shortcut_panel .info {
	display: inline-block;
	color: #aaa;
	vertical-align: top;
	padding: 5px;
    font-size: 12px;
}
.shortcut_panel .count {
	position: absolute;
	left:   10px;
	bottom: -16px;
    display: inline-block;
    width:  30px;
    height: 30px;
	background-color: #0080ff;
	color: #fff;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
}
.shortcut_panel .count[count="0"] {
	display: none;
}

.shortcut_panel a {
	display: inline-block;
	background-color: #8000ff;
	color: #fff;
	border-radius: 8px;
	font-weight: bold;
	/* width: calc(100% - 20px); */
	line-height: 1.4em;
	padding: 10px;
}

.shortcut_panel .close_btn {
	display: block;
	position: absolute;
	bottom: 5px;
	right: 5px;
}

.shortcut_panel .cmd_btn {
	display: inline-block;
/*	width: 20%; */
	margin: 5px;
	color: #fff;
	background-color: #333;
	line-height: 1.4em;
	padding: 10px;
	font-size: 12px;
	text-align: center;
	border-radius: 8px;
}

.shortcut_panel .cmd_btn:hover {
	cursor: pointer;
	opacity: 0.5;
}

.shortcut_panel .cmd_btn.delete {
	background-color: #20a3c4;
}
.shortcut_panel .cmd_btn.move {
	background-color: #008000;
}
.shortcut_panel .cmd_btn.close {
	background-color: #333
}
.shortcut_panel .cmd_btn.movie {
	background-color: #ff0080;
}

.shortcut_panel img {
	border: 1px solid #333;
	max-width: 80%;
	max-height: 30vh;
	display: inline-block;
	padding: 5px auto;
}

form.for_desk {
	text-align: left;
	padding: 5px;
}

.anker_links {
	padding: 3px;
	border: 1px dashed #ddd;
	margin: 2px 10px;
	border-radius: 3px;
}

.anker_links a {
	display: inline-block;
	background-color: #f0f0f0;
	padding: 8px 12px;
	border-radius: 3px;
	margin: 2px;
	color: #935166;
}

/* paint
----------------------------------------------- */
#paint_canvas {
	border: 1px solid black;
	/* max-width: 600px; */
	max-width: 80%; 
	max-height: 70vh;
	/* margin: 0 10px; */
	/* margin-bottom: 5px; */
	margin-bottom: 0px;
	margin-top: 0px;
	display: inline-block;
}
#color_pallete {
	display: flex;
	gap: 3px;
	flex-wrap: wrap; /* 要素が幅を超えたら折り返す */	
	width: calc(100% - 60px);
	border: 1px dashed #ccc;
	/* border-radius: 3px; */
	border-radius: 5px;
	float: right;
	padding: 3px;
	margin-bottom: 5px;
	margin-right: 10px;
}
#color_pallete .color_item {
	width:  30px;
	height: 30px;
	border: 1px solid #aaa;
	border-radius: 10px;
	cursor: pointer;
}

input[type='color'] {
	width:  36px;
	height: 38px;
	padding: 1px;			
	margin-left: 10px;
}
input[type='range'] {
	margin-left: 15px;
	/* text-align: center; */
	width: calc(100% - 50px);
	/* height: 3 */
	max-width: 150px;
	/* display: inline-block; */
}
  
.cli_frame {
	margin: 5px 10px;
	border-radius: 5px;
	padding: 5px 9px;
	text-align: left;
	line-height: 1.6em;
	font-size: 11px;
	font-family: Consolas;
	/*
	color: #fff;
	background-color: #333;
	*/
	border: 1px dashed #999;
	background-color: #f5f5f5;
}


/* mysite_box
----------------------------------------------- */
.mysite_box {
	border: 1px dashed #eee;
	border-radius: 5px;
	display: grid;
	/* 画像を横に2つづつ並べる */
	grid-template-columns: repeat(2, 1fr);
	gap: 5px;
}
.mysite_box img {
	height: 220px;
	width: 100%;
	border: 1px solid #ddd;
	object-fit: contain;
	vertical-align: top;
	display: inline-block;
	padding: 0;
}

/* waku
----------------------------------------------- */
.waku {
	padding: 10px;
	margin: 10px;
	border-radius: 5px;
	border: 1px solid #00aa55;
	color: #00aa55;
}

/* island ui
----------------------------------------------- */
#island {
	position: absolute;
	width:  calc(100% - 20px);
	background-color: white;
	top:  10px;
	left: 10px;
	z-index: 110;
	/* border-radius: 5px; */
	border: 1px solid #00aa55;
	border: 5px solid #333;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
	padding: 10px;
	font-size: inherit;

	transition-duration: 0.4s;
	transition-property: opacity;


	/* transition-duration: 0.8s; */
	transition-timing-function: cubic-bezier(.18,.86,.83,1.05);
	/* cubic-bezier(.18,.86,.83,1.05) */
}
#island .close_btn {
	background-color: white;
	border-radius: 5px;
}

/* segment_ui
----------------------------------------------- */
.segment_ui {
	display: inline-block;
	border: 1px solid #eee;
	/* border: none; */
	/* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); */
	border-radius: 8px;
	overflow: hidden;
	vertical-align: middle;
	margin: 5px;
}
.segment_ui input[type="radio"] {
	display: none; 
}
.segment_ui label {
	min-width: 70px;
	padding: 0 10px;
	height:      34px;
	line-height: 34px;
	vertical-align: middle;
	text-align: center;
	border-right: 1px dashed #ccc;
	/* border-right: 1px dashed #0088fe; */
	background-color: #f7f7f7;
	color: #333;

	user-select: none;
}
.segment_ui label:last-child {
	border-right: none;
}

.segment_ui label:hover {
	cursor: pointer;
	background-color: #f1f8fc;
}
.segment_ui :checked + label,
.segment_ui label.selected {
	background-image: linear-gradient(45deg, #0080ff, #3399ff);
	color: #fff;
}

/* pp_btn
----------------------------------------------- */
.pp_btns {
	margin: 3px 7px 0;
	padding: 0px;
	text-align: left;
	background-color: #fafafa;
	/* background-color: #333; */
	border-radius: 4px;
}
.pp_btns .btn {
	padding: 8px;
	background-color: #fff;
	margin: 3px;
	border: 1px dashed #8000ff;
	border: 1px solid #8000ff;
	color: #8000ff;
}

/* 
----------------------------------------------- */

.prompt_ui_frame > div {
	display: inline-block;
	vertical-align: top;
	padding: 5px;
	margin: 5px;
	margin-right: 0px;
	border: 1px dashed #ddd;
}

/* 「現在: txt2img」ボタン */
.req_type_frame {
}
.req_type_btn {
	height: calc(40px);
	border: 1px solid #333;
	color: #333;
    padding: 0 10px; 
	width: 140px;
}
.req_type_btn[type="2"] {
	border: 1px solid green;
	color: green;
}
.req_type_btn[type="1"] {
	border: 1px solid orange;
	color: orange;
}

.ds_frame { 
}
.ds_frame select {
}

.seed_frame {
}
.seed_frame input {
	width: 180px;
}

/* move touchのテスト用の枠
----------------------------------------------- */
.canvas_frame {
	width: 100%;
	height: 600px;
	border: 2px solid #333;
}

.canvas_frame canvas {
	width: 100%;
	height: 100%;
	background-color: greenyellow;
}

/* novel
----------------------------------------------- */
/* 共通部 */
.novel_text {
	min-height: 500px;

	/* font-size: 16px; */
	/* line-height: 1.8em; */
	/* line-height: 2.25em; */
	/* font-size: 1.125rem; */
	/* width:  calc(100%); */
	/* width: 100%; */
	/* max-width: 700px; */

	max-width: 700px;
	line-height: 2em;
	font-size: 1rem;

	padding: 5px 10px;
	font-family: 'M PLUS 1 Code', sans-serif;
}

textarea.novel_text {
	/* 画面いっぱいに編集フォームを使う */
	/* height: auto; */
	/* height: 500px; */

	border: 1px dashed #aaa;
	/* background-color: #f3f3f0; */
	background-color: #fafafa;
	/* overflow: hidden; */
}
textarea.novel_text.not_saved {
	outline: 2px dashed #bfbf00;
	outline-offset: -1px;
}

.marked {
	border: 1px solid red;
	border-radius: 5px;
	padding: 5px 10px;
}

pre.novel_text {
	/* 画面いっぱいに編集フォームを使う */

	background-color: #fff;
	border: 1px solid #f0f0f0;
	border: 1px solid #fff;
	/* border-radius: 10px; */
}

pre.novel_text textarea, 
pre.novel_text input {
	display: inline-block;
	width: auto;
	margin-left: 0px;
	margin-right: 0px;
	padding: 5px;

	width: 100%;
	font-size: inherit;
	line-height: inherit;
	/* height: 50vh; */
	/* height: auto; */
	/* 中の入力値に応じて高さを自動調整 */
	/* height: 100%; */

	border-radius: 10px;
	font-size: 18px;
	background-color: #f3f3f0;
	border: 2px solid #333;
	color: #333;
} 

pre.novel_text span.chatgpt {
	font-weight: bold;
	color: #ff69b4;
}

pre.novel_text h2 {
	font-size: 20px;
	color: #333;
	padding: 5px;
	margin: 0;
	margin-top: 15px;
}

.to_parent_novel {
	display: inline-block;
	padding: 5px 15px;
	font-size: 15px;
}
.novel_crumb {
	padding: 10px 15px;
}

.novel_path {
	padding: 5px 10px;
	margin:  5px 10px;
	border: 1px dashed #ddd;
	border-radius: 5px
}

.save_novel_btn {
	
}
.save_novel_btn.active {
	background-color: #0088fe;
	color: #fff;
	
}

.all_novel_atmarks {
	font-size: 12px;
}

.all_novel_atmarks .found {

}

.all_novel_atmarks .not_found_on_root {
	color: #ff0080;
	text-decoration: underline;
	font-weight: bold;
}

/* fixで画面左下に表示する編集ボタン */
#novel_to_edit_move_btn {
	position: fixed;
	bottom: 100px;
	left: 30px;
	padding: 10px;
	background-color: rgba(0, 88, 200, 0.8);
	border: 2px solid #fff;
	color: #fff;
	border-radius: 5px;
}

/* fixで画面右下に表示するcopyボタン */
#novel_to_clipboard_btn {
	position: fixed;
	bottom: 100px;
	right: 30px;
	padding: 10px;
	background-color: rgba(0, 88, 200, 0.8);
	border: 2px solid #fff;
	color: #fff;
	border-radius: 5px;
}

/* クリップボードコピーボタン
----------------------------------------------- */
.copy_clip_btn {
	display: inline-block;
	padding: 5px 10px;
	background-color: #fafafa;
	border: 1px solid #eee;
	border-radius: 5px;
	color: #333;
	margin-left: 10px;
}

/* d3.js
----------------------------------------------- */
/*
.bar {
	fill: steelblue;
}
.bar:hover {
	fill: orange;
}
.axis text {
	font-size: 12px;
}
.axis path,
.axis line {
	fill: none;
	shape-rendering: crispEdges;
}
*/

#chart {
	width: 100%;
}

/* chiices.js
----------------------------------------------- */
.choices__inner {
    padding: 1px 5px 0;
	min-height: 0;
}
.choices__input {
    margin-bottom: 0px;
}
.choices__list--multiple .choices__item {
	border-radius: 5px;
	background-color: #005F75;
	background-color: #13975f;
	background-color: #666;
    border: 1px solid #004a5c;
    border: 1px solid #118855;
    border: 1px solid #555;
}

div.out {
	margin: 5px 10px;
	border-radius: 5px;
	padding: 5px 9px;
	background-color: #fafafa;
	text-align: left;
	line-height: 1.6em;
	/* color: #090909; */
	/* color: #333; */
	font-size: 12px;
	font-family: 'M PLUS 1 Code', sans-serif;
	/* font-weight: bold; */
	border: 1px solid #ccc;
	border: 1px solid #333;
}

/* <div class='sel_title'><select><option>....</select></div> */
.sel_title {
	display: inline-block;
	vertical-align: top;
	padding: 10px;
	margin: 5px;
	border-radius: 5px;
	/* border: 1px dashed #ddd; */
	border: 1px solid #333;
	background-color: #333;
	color: #fff;
}
.sel_title + select { 
	margin: 5px;
	padding: 5px;
	vertical-align: top;
}


.terms {
	line-height: 1.8em;
}
.terms h2 {
	border-bottom: 1px solid #333;
}
.terms p {
	padding: 5px 10px;
}
.terms ul {
	padding: 5px 30px;
	/* ドットをつける */
	list-style-type: disc;
	/* ドットを含めた領域で左寄せ */
}

.terms hr {
	border-top: 1px solid #333;
}


