@charset "utf-8";
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);

/* ============================================================================================== */
/*                                                                                                */
/*  tags */
/*                                                                                                */
/* ============================================================================================== */
* {
  margin: 0;
  padding: 0;
}
html {
	font-size: 62.5%;
}
body {
	/* font-family: 'Inter', sans-serif;  */
  font-family: sans-serif;
	font-size: 1.6rem;
  width: 100vw;
  height: 100vh;
  margin: auto;
}
a {
  color: #0175F6;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
ul {
  list-style-type: none;
}
img {
  vertical-align: top;
}
button, input, select, textarea {
  font-family : inherit;
  font-size : 100%;
}
input[type="radio"] + label {
  display: inline;
  user-select: none;
}
input[type="checkbox"] + label {
  user-select: none;
}
input[type="text"],
input[type="url"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="datetime-local"],
input[type="tel"],
input[type="number"],
textarea,
select {
  /* padding: 5px 12px; */
  height: 32px;
  padding: 0 12px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fafafa;
}
input[type="text"]:focus,
input[type="url"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input[type="tel"]:focus,
input[type="number"],
textarea:focus,
select:focus {
  outline: none;
  border-color: #3fa9f5;
}

input[type="file"] {
  width: 1px;
  height: 1px;
  opacity: 0;
  position: absolute;
}
textarea {
  padding: 5px 12px;
  line-height: 1.5;
  min-height: calc(var(--textarea-line, 4em) * 1.5 + 10px + 2px);
  resize: vertical;
}
input:disabled, textarea:disabled, select:disabled {
  background-color: #E9E8E8;
}


/* ============================================================================================== */
/*                                                                                                */
/*  共通レイアウト */
/*                                                                                                */
/* ============================================================================================== */

/************************************************/
/* 全体：app */
/************************************************/
#app {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333;
  background-color: #fff;
  overflow-y: hidden;
}
/************************************************/
/* ヘッダー：app -> header */
/************************************************/
#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
  width: calc(100vw - 60px);
  min-width: 400px;
  background-color: #fff;
  border-bottom: solid 5px #7ecbe4;
  margin: 0 30px;
}
#header-title {
  display: flex;
  align-items: flex-end;
  white-space: nowrap;
}
#header-title > img {
  margin: 0 10px;
}
#header-title > span {
  font-size: 2.4rem;
  font-weight: 700;
}
#breadcrumb {
  display: flex;
  margin-left: 70px;
  font-size: 1.4rem;
}
#breadcrumb > li.breadcrumb-item {
  margin-right: 5px;
}
#breadcrumb > li.breadcrumb-arrow::after {
  font-family: "Font Awesome 6 Free";
  content: "\f105";
  font-size: 1.4rem;
  font-weight: bold;
}
.header-user {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  margin-right: 24px;
}
.header-user-name {
  margin-right: 12px;
}
.header-user img {
  display: block;
}
.header-user img:hover,
.header-user img:has(+ .drop-menu:hover) {
  filter: brightness(2);
  transition: all .3s;
}
.drop-menu {
  position: absolute;
  right: 24px;
  background:#fff;
	box-shadow: 0px 0px 10px rgba(0, 42, 71, 0.4);
  padding: 10px 2px;
  border-radius: 10px;
  visibility: hidden;
  opacity: 0;
  transition: all .3s;
}
.drop-menu a {
  display: block;
  padding: 2px 24px;
}
.drop-menu a:hover {
  background-color: #eee;
  text-decoration: none;
}
.header-user img:hover + .drop-menu,
.drop-menu:hover {
  visibility: visible;  
  opacity: 1;
}

/************************************************/
/* コンテンツ：app -> contents-area  */
/************************************************/
#contents-area {
  flex: 1;
  padding-top: 20px;
  width: 100%;
  box-sizing: border-box;
  overflow-y: auto;
}
#contents {
  width: calc(100vw - 60px);
  min-width: 1200px;
  margin-left: 30px;
}

/************************************************/
/* コンテンツ：app -> overlay-loading  */
/************************************************/
#overlay-loading{ 
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  display: none;;
  background: rgba(0,0,0,0.6);
}
.cv-spinner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;  
}
.spinner {
  width: 40px;
  height: 40px;
  border: 5px #ddd solid;
  border-top: solid 5px #34aed6;
  border-radius: 50%;
  animation: sp-anime 0.8s infinite linear;
}
@keyframes sp-anime {
  100% { 
    transform: rotate(360deg); 
  }
}


/* ============================================================================================== */
/*                                                                                                */
/*  汎用アイテム */
/*                                                                                                */
/* ============================================================================================== */

/************************************************/
/* 等幅フォント */
/************************************************/
.font-monospace {
  font-family: 'Roboto', sans-serif;
}

/************************************************/
/* 横幅制限 */
/************************************************/
.width-limit {
  width: 1200px;
}

/************************************************/
/* コンテナ */
/************************************************/
.item-container {
  display: flex;
  flex-direction: column;
  /* background-color: #fff; */
  margin-bottom: 30px;
}
.search-group {
  position: relative;
  margin: 20px auto;
  padding: 20px 30px;
  border: solid 2px #808080;
  width: 1000px;
}
.search-group > .box-title {
  position: absolute;
  display: inline-block;
  top: -12px;
  left: 10px;
  padding: 0 10px;
  line-height: 1;
  font-size: 1.9rem;
  background-color: #fff;
  color: #333;
  font-weight: bold;
}


.subitem-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  /* background-color: gray; */
  margin-bottom: 30px;
}
.inline-container {
  flex: 1;
  display: inline-flex;
}

/* .page-title {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 30px;
}
.page-title > span {
  margin-right: 30px;
} */

/* 横向きテーブル */
.tbl-type-side th {
  width: 25%;
}
.tbl-type-side td {
  height: 45px;
}

/************************************************/
/* バッジ */
/************************************************/
/* 必須 */
.required::after {
  content: "必須";
  background-color: #fd5f6f;
  color: #fff;
  font-size: 12px;
  padding: 0px 8px;
  margin: 0px 15px 2px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  border-radius: 5px;
  display: inline-block;
}

/* 「公開」マーク */
.chat-open::before {
  content: "公開";
  background-color: #56D341;
  color: #fff;
  font-size: 14px;
  display: inline-block;
  width: 80px;
  line-height: 24px;
  padding: 0px 0px 2px;
  border-radius: 90px;
  white-space: nowrap;
}
/* 「非公開」マーク */
.chat-close::before {
  content: "非公開";
  background-color: #E6E6E6;
  color: #505050;
  font-size: 14px;
  display: inline-block;
  width: 80px;
  line-height: 24px;
  padding: 0px 0px 2px;
  border-radius: 90px;
  white-space: nowrap;
}
/* 「表示中」マーク */
.chat-bottom-image-current::before {
  content: "表示中";
  background-color: #2BAD2F;
  color: #fff;
  font-size: 12px;
  padding: 3px 8px 5px;
  white-space: nowrap;
}

/*  */
.text-link {
  color: #0075F6;
  font-weight: 500;
}
.text-link:hover {
  text-decoration: underline;
}

/************************************************/
/* ボタン */
/************************************************/
/* ボタン共通スタイル */
.btn-blue, .btn-gray, .btn-orange, .btn-dull-blue, .btn-white {
  background-color: #000;
  font-size: 1.4rem;
  color:#fff;
  padding: 6px 20px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
}
/* ブルーボタン */
.btn-blue {
  background-color: #7ecbe4;
}
.btn-blue:hover {
  background-color: #69c5e4 ;
  text-decoration: none;
}
.btn-blue:active {
  background-color: #7ecbe4;
}
/* グレーボタン */
.btn-gray {
  background-color: #ccc;
  color: #5a4b40
}
.btn-gray:hover {
  background-color: #bbb;
  text-decoration: none;
}
.btn-gray:active {
  background-color: #bbb
}
/* オレンジボタン（フォント：中） */
.btn-orange {
  background-color: #ff982a;
  font-size: 1.6rem;
}
.btn-orange:hover {
  background-color: #ffa443;
  text-decoration: none;
}
.btn-orange:active {
  background-color: #ffa443
}
/* くすみブルーボタン */
.btn-dull-blue {
  background-color: #bdccd4;
  color: #545454;
  padding: 3px 15px
}
.btn-dull-blue:hover {
  background-color: #cbd7dd;
  text-decoration: none;
}
.btn-dull-blue:active {
  background-color: #cbd7dd
}
/* ボタンサイズ */
.btn-type-slim {
  padding-top: 5px;
  padding-bottom: 5px;
}
.btn-type-shick {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* 白ボタン */
.btn-white {
  color: #0075f6;
  background-color: #fff;
  border: solid 1px #ccc;
}
.btn-white:hover {
  background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
  box-shadow: inset 1px 1px 1px #fff;
  text-decoration: none;
}
.btn-white:active {
  background: linear-gradient(to top, #fdfbfb 0%, #ebedee 100%);
  box-shadow: inset 1px 1px 1px #fff;
}
/* .btn-white input {
  display: none;
} */

/* プラスアイコン */
.icon-plus {
  display: inline-block;
  padding-left: 12px;
}
.icon-plus > p::before {
  font-family: "bootstrap-icons";
  font-size: 2.0rem;
  font-weight: bold;
  content: "\f4fe";
  margin-right: 4px;
  vertical-align: bottom;
}

.icon-right-arrow {
  display: inline-block;
  padding-left: 12px;
}
.icon-right-arrow > p::before {
  font-family: "bootstrap-icons";
  font-size: 2.0rem;
  font-weight: bold;
  content: "\f135";
  margin-right: 4px;
  vertical-align: bottom;
}


.icon-search > p::before {
  font-family: "Font Awesome 6 Free";
  font-size: 1.4rem;
  font-weight: 900;
  content: "\f002";
  margin-right: 6px;
  vertical-align: -.0rem;
}

/************************************************/
/* チェックボックス */
/************************************************/
/* ボタン化 */
.chk-view-btn input {
  position: absolute;
  opacity: 0;
}
.chk-view-btn label {
  display: inline-block;
  padding: 6px 12px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  cursor: pointer;
  transition: .2s;
}
.chk-view-btn label:hover {
  background-color: #9da4b3;
  color: #fff;
}
.chk-view-btn input:checked + label {
  background-color: #858c9e;
  color: #fff;
}
.chk-view-btn label::before {
  font-family: "bootstrap-icons";
  content: "\f584";
  font-size: 1.6rem;
  vertical-align: -.2rem;
  padding-right: 4px;
}
.chk-view-btn input:checked + label::before{
  content: "\f26d";
}
.chk-view-btn input:focus + label{
  box-shadow: 0 0 4px #858c9db7
}


/************************************************/
/* テーブル */
/************************************************/
/* 黒テーマ */
.tbl-black {
  width: 100%;
}
.tbl-black th {
  background-color: #666;
  color: #fff;
  font-weight: normal;
  padding: 0 8px;
}
.tbl-black td {
  background-color: #e9e9e9;
  height: 26px;
  padding: 2px 16px 2px 8px;
}
.tbl-black > tbody > tr:nth-of-type(2n+1) > td {
  background-color: #efefef;
}
/* 青テーマ */
.tbl-blue {
  width: 100%;
}
.tbl-blue th {
  background-color: #7ecbe4;
  color: #fff;
  font-weight: normal;
}
.tbl-blue td {
  height: 32px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #e9e9e9;
}
.tbl-blue td:focus-within {
  border-color: #3fa9f5;
}
.tbl-blue td :where(input, select, textarea) {
  border: none;
}
.tbl-blue td :where(input[type="text"],input[type="email"],select,textarea) {
  width: 100%;
}
.tbl-blue td input[type="date"] {
  width: 160px;
}
.tbl-blue td input[type="datetime-local"] {
  width: 210px;
}
.tbl-blue td input[type="number"] {
  width: 120px;
}

/* グレーテーマ */
.tbl-gray {
  width: 100%;
}
.tbl-gray th {
  background-color: #808080;
  color: #fff;
  font-weight: normal;
}
.tbl-gray td {
  background-color: #e9e9e9;
  border: 1px solid #bdccd4;
  border-radius: 5px;
  height: 24px;
  padding: 4px 12px;
}

/* 縦並び */
.tbl-type-vertical th {
  text-align: left;
  padding-left: 8px;
}
.tbl-type-vertical th > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.tbl-type-vertical th .btn-white {
  padding: 2px 8px;
}
.tbl-type-vertical td textarea {
  display: block;
}
/* テーブル内アイテム中央表示 */
td.td-center {
  text-align: center;
  padding: 0 8px;
}

/* テーブルダミー入力領域 */
.td-inner-box {
  height: 32px;
  padding: 0 12px;
  box-sizing: border-box;
  border-radius: 5px;
  background-color: #fafafa;
  display: inline-flex;
  align-items: center;
  gap: 0 8px; 
}

/* 行内テキスト */
.td-in-text {
  display: flex;
  align-items: center;
}
.td-in-text > div {
  display: flex;
  align-items: center;
  height: 100%;
  border-radius: 5px;
  padding: 0 10px;
}

/************************************************/
/* テキストエリア */
/************************************************/
.textarea-line-3 {
  --textarea-line: 3em;
}
.textarea-line-4 {
  --textarea-line: 4em;
}
.textarea-line-5 {
  --textarea-line: 5em;
}
.textarea-line-6 {
  --textarea-line: 6em;
}
.textarea-line-7 {
  --textarea-line: 7em;
}
.textarea-line-8 {
  --textarea-line: 8em;
}
.textarea-line-9 {
  --textarea-line: 9em;
}
/************************************************/
/*  */
/************************************************/
/*  */
.new-msg-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  background-color: #fff;
  width: 600px;
  height: 70px;
}

/************************************************/
/* 一斉配信 タグチェックボタン */
/************************************************/
.chkbtn-wrap {
  display:inline-block;
  position: relative;
  padding-right: 12px;
  padding-bottom: 7px;
}
.chkbtn-wrap input{
  opacity: 0;
  position: absolute;
  left: 0;
}
.chkbtn-wrap label{
  padding: 8px 20px;
  border-radius: 5px;
  background: #eee;
  display: inline-block;
  cursor: pointer;
  transition: .3s;
}
.chkbtn-wrap label:hover,
.chkbtn-wrap input:checked + label{
  background: #858C9E;
  color: #FFF;
}
.chkbtn-wrap label::before{
  font-family: "bootstrap-icons";
  content: "\f584";
  font-size: 1.6rem;
  vertical-align: -.2rem;
  padding-right: 4px;
}
.chkbtn-wrap input:checked + label::before{
  font-family: "bootstrap-icons";
  content: "\f26d";
  background: #858C9E;
  color: #FFF;
}
.chkbtn-wrap input:focus + label{
  box-shadow: 0 0 4px #858C9E;
}

/* パスワードの非表示 */
.pass-eye-close {
  position: absolute;
  pointer-events: none;
}
.pass-eye-close::before {
  position: relative;
  pointer-events: auto;
  font-family: "bootstrap-icons";
  content: '\f33f';
  color: #aaa;
  top: 7px;
  left: -30px;

}
/* パスワードの表示 */
.pass-eye-open {
  position: absolute;
}
.pass-eye-open::before {
  color: #aaa;
  font-family: "bootstrap-icons";
  content: '\f33e';
  position: relative;
  top: 7px;
  left: -30px;
}


/************************************************/
/* 画像表示 */
/************************************************/
.img-view {
  height: var(--img-height);
  width: var(--img-width);
  background-color: #f5f5f5;
  border: var(--frame-border-width) solid #ccc;
  border-radius: var(--frame-border-radius);
}
.img-view > img {
  height: var(--img-height);
  width: var(--img-width);
}
.img-view--footer-menu-icon {
  --img-height: 90px;
  --img-width: 90px;
  --frame-border-width: 3px;
  --frame-border-radius: 5px;
}
.img-view--chat-icon {
  --img-height: 100px;
  --img-width: 100px;
  --frame-border-width: 1px;
  --frame-border-radius: 0px;
}
.img-view--chat-fixed-img {
  --img-height: 180px;
  --img-width: 267px;
  --frame-border-width: 1px;
  --frame-border-radius: 0px;
}
.img-view--chat-bottom-img {
  --img-height: 59px;
  --img-width: 88px;
  --frame-border-width: 1px;
  --frame-border-radius: 0px;  
}

/* チャットURLコピー */
.chat-url {
  display: inline-flex;
  align-items: center;
}
.chat-url > input {
  width: 80px;
}
.chat-url > button {
  display: inline-block;
  position: relative;
  background-color: #ccc;
  width: 34px;
  height: 34px;
  margin-left: 5px;
  border-radius: 5px;
  border: none;
  transition: .5s;
}
.chat-url > button::before {
  display: inline-block;
	content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 10px;
	height: 15px;
  border-top: 2px solid #666;
	border-left: 2px solid #666;
  border-radius: 1px;
}
.chat-url > button::after {
  display: inline-block;
	content: "";
  position: absolute;
  left: 12px;
  top: 10px;
  width: 10px;
	height: 15px;
  border: 2px solid #666;
  border-radius: 1px;
}
.chat-url > button:hover {
  box-shadow: 0px 0px 10px #ccc;
  cursor: pointer;
}
.chat-url > button:active {
  background-color: #aaa;
  box-shadow: 0px 0px 10px #ccc;
  cursor: pointer;
  transition: 0s;
}

/* QRコードDLボタン */
.btn-dl-qrcode {
  display: inline-block;
  width: 32px;
  height: 32px;
}
.btn-dl-qrcode::before {
  color: #666;
  font-family: "bootstrap-icons";
  content: '\f30a';
  font-size: 2.0rem;
  vertical-align: -.55rem;
}
.btn-dl-qrcode:hover {
  border-radius: 50%;
  box-shadow: 0px 0px 10px #ccc;
  cursor: pointer;
}

/************************************************/
/* 通知バッジ（赤丸） */
/************************************************/
.notify-badge {
  display: block;
  position: relative;
}
.notify-badge::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: 50%;
  transform: translate(var(--translate), -50%);
  background-color: #FF4B5C;
}
.notify-badge--member-chat {
  --translate: -200%;
}
.notify-badge--chat-list {
  --translate: -400%;
}

/* 画像丸切り抜き*/
.trim-image-to-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #ccc;
  background-position: center center;
}
.img-center {
  display: block;
  margin: auto;
}

/* 編集ボタン */
.btn-edit {
  display: inline-block;
  width: 32px;
  height: 24px;
}
.btn-edit::before {
  font-family: "bootstrap-icons";
  content: '\f5d3';
  font-size: 1.8rem;
  vertical-align: -.3rem;
}
.btn-edit:hover {
  border-radius: 10px;
  box-shadow: 0 0 10px #999;
  cursor: pointer;
}

/* 編集メニュー */
.edit-menu {
  display: none;
  position: relative;
  padding: 10px 10px 12px 10px;
  background-color: #fff;
	border-radius: 5px;
  box-shadow: 0 0 10px rgba(153, 153, 153, 0.75);
  margin: 0 -100px;
  font-size: 1.4rem;
}
.edit-menu > * {
  padding: 4px 6px;
}
.edit-menu > *:hover {
  border-radius: 5px;
  background: #eee;
  text-decoration: none;
  cursor: pointer;
}
.edit-menu > .edit::before {
  color: #0075F6;
  font-family: "Font Awesome 6 Free";
  content: '\f304';
  font-weight: 900;
  margin-right: 5px;
}
.edit-menu > .edit::after {
  color: #0075F6;
  content: '編集';
}
.edit-menu > .detail::before {
  color: #333;
  font-family: "Font Awesome 6 Free";
  content: '\f00b';
  font-weight: 900;
  margin-right: 5px;
}
.edit-menu > .detail::after {
  color: #333;
  content: '詳細';
}

.edit-menu > .delete::before {
  color: #FF4B5C;
  font-family: "Font Awesome 6 Free";
  content: '\f00d';
  font-weight: 900;
  margin-right: 5px;
}
.edit-menu > .delete::after {
  color: #FF4B5C;
  content: '削除';
}
.edit-menu > .remove-chat::before {
  color: #FF4B5C;
  font-family: "Font Awesome 6 Free";
  content: '\f00d';
  font-weight: 900;
  margin-right: 5px;
}
.edit-menu > .remove-chat::after {
  color: #FF4B5C;
  content: 'チャットから除外';
}

.btn-delete {
  display: inline-block;
  font-size: 1.6rem;
  color: #FF4B5C;
  width: 35px;
  line-height: 35px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  text-align: center;
  margin: 5px;
}
.btn-delete::before {
  font-family: "Font Awesome 6 Free";
  content: '\f2ed';
}
.btn-delete:hover {
  background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
  box-shadow: inset 1px 1px 1px #fff;
}
.btn-delete:active {
  background: linear-gradient(to top, #fdfbfb 0%, #ebedee 100%);
  box-shadow: inset 1px 1px 1px #fff;
}


/* ダウンロードボタン */
.icon-download {
  display: inline-block;
  width: 32px;
  height: 32px;
}
.icon-download::before {
  font-family: "bootstrap-icons";
  content: "\f30a";
  font-size: 2.0rem;
  font-weight: 700;
  vertical-align: -.7rem;
}
.icon-download:hover {
  border-radius: 5px;
  box-shadow: 0px 0px 10px #ccc;
  cursor: pointer;
}

/************************************************/
/* ページネーション */
/************************************************/
.pagination {
  text-align: center;
}
.pagination li {
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  width: 40px;
  line-height: 40px;
  padding-bottom: 1px;
  margin: 5px;
  font-weight: 700;
}
.pagination li > a {
  display: block;
}
.pagination > .active {
  color: #fff;
  background-color: #0075F6;
}
.pagination li:not(.active, .disabled):hover {
  background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
  box-shadow: inset 1px 1px 1px #fff;
}
.pagination li:not(.active, .disabled):active {
  background: linear-gradient(to top, #fdfbfb 0%, #ebedee 100%);
  box-shadow: inset 1px 1px 1px #fff;
}

/************************************************/
/*  */
/************************************************/
#notify {
  position: relative;
}
#notify > #message {
  display: none;
  /* position: absolute; */
  /* transform: translateY(-100%); */
  color: #f30;
  background-color: #ffe9e0;
  text-align: center;
}

#notify > #tag-message {
  display: none;
  /* position: absolute; */
  transform: translateY(-100%);
  color: #f30;
  background-color: #ffe9e0;
  text-align: center;
}

/************************************************/
/* バリデーションエラー */
/************************************************/
input[class="validation-error"], textarea[class="validation-error"] {
  border: 1px solid #f30;
  background-color: #ffc0cb;
}
span[class="validation-error"] {
  color: #f30;
}


/* ============================================================================================== */
/*                                                                                                */
/*  ページ別アイテム */
/*                                                                                                */
/* ============================================================================================== */

/************************************************/
/* ログイン */
/************************************************/
.login-container {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 30px 0 40px;
  background-color: #fff;
  text-align: center;
  border: 1px solid #333;
}
.login-container > #input-area {
  width: 380px;
  margin: 0 90px;
}
.login-sub-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin: 10px 0 20px;
  text-align: left;
}
.login-container input {
  width: 100%;
}
.login-container button {
  font-size: 1.4rem;
  color:#fff;
  background-color: #7ecbe4;
  border: none;
  outline: none;
	border-radius: 5px;
  padding: 8px 30px 10px;
  margin: 20px 0 20px;
}
.login-container button:hover {
  background-color: #69c5e4 ;
}
.login-container button:active {
  background-color: #7ecbe4;
}

/************************************************/
/* Topページ */
/************************************************/
/* お知らせ */
#top-notice-list {
  background-color: #fffcde;
  border-radius: 10px;
  padding: 12px 30px 20px;
  margin-bottom: 20px;
  border: 1px solid #ffd0a0;
}
#top-notice-list > #title {
  display: flex;
  align-items: flex-end;
  font-size: 2.0rem;
  font-weight: bold;
  color: #ff982a;
  border-bottom: dashed 1px #ff982a;
}
#top-notice-list > #title > img {
  width: 35px;
  height: 35px;
  margin-right: 10px;
  padding-bottom: 5px;
  filter: invert(60%) sepia(94%) saturate(622%) hue-rotate(338deg) brightness(101%) contrast(101%);
}
#top-notice-list > #body {
  padding: 20px 0 0 30px;
}
#top-notice-list table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0px 8px;
  border: none;
  table-layout: fixed;
  margin-bottom: 10px;  
}
#top-notice-list table td {
  height: 32px;
}
#top-notice-list td:not(:nth-child(1)) {
  background-color: #fff;
  border-bottom: 1px solid #ffe7c1;
}
#top-notice-list td:not(:nth-child(3)) {
  text-align: center;
}
#top-notice-list td:nth-child(3) {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* メニュー */
#menu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.menu-group {
  position: relative;
  margin: 20px 0;
  padding: 10px;
  border: dashed 4px #d9d9d9;
  border-radius: 8px;
  width: 1000px;
  box-sizing: border-box;
}
.menu-group > .box-title {
  position: absolute;
  display: inline-block;
  top: -12px;
  left: 10px;
  padding: 0 10px;
  line-height: 1;
  font-size: 1.9rem;
  background: #FFF;
  color: #333;
  font-weight: bold;
}
.menu-group > .menu-row {
  display: flex;
  margin: 20px 0;
}
.menu-group > .menu-row > .menu-button {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  position: relative;
  border: 2px solid #7ecbe4;
  width: 140px;  
  height: 140px;
  justify-content: center;
  align-items: center;
  margin-left: 60px;
}
.menu-group > .menu-row > .menu-button:hover {
  background-color: #e0f5fd;
}
.menu-group > .menu-row > .menu-button > img {
  object-fit: contain;
  width: auto;  
  height: 50%;
  margin-bottom: 15px;
  filter: invert(77%) sepia(96%) saturate(863%) hue-rotate(166deg) brightness(94%) contrast(90%);
}
.menu-group > .menu-row > .menu-button > img[class="no-mask"] {
  filter: none
}
.menu-group > .menu-row > .menu-button > p {
  font-size: 1.4rem;
  font-weight: bold;
}
.menu-group > .menu-row > .menu-button > a {
  position: absolute;
  width: 100%;
  height: 100%;
}
.disable-wrap > .menu-row > .menu-button {
  background-color: #f0f0f0;
  border: 2px solid #ccc;
  pointer-events: none;
}
.disable-wrap > .menu-row > .menu-button > img {
  filter: invert(77%) sepia(33%) saturate(7%) hue-rotate(102deg) brightness(98%) contrast(97%);
}
.disable-wrap > .menu-row > .menu-button > p {
  color: #ccc;
}


/************************************************/
/* 顧客検索 */
/************************************************/
/* 検索条件 */
#tbl-client-search {
  width: 100%;
  table-layout: fixed;
  border-spacing: 0 0.8rem;
}
#tbl-client-search td {
  border: solid 0px;
}
#tbl-client-search .search-btns {
  position: relative;
}
#tbl-client-search .search-btns > div {  
  position: absolute;
  display: flex;
  justify-content: flex-end;
  gap: 0 10px;
  right: 0;
  bottom: -4px;
}
#tbl-client-search :where(input[type="text"],select) {
  width: 100%;
}
/* 検索結果 */
#search-result {
  font-size: 1.8rem;
  font-weight: bold ;
}
/* 一覧テーブル */
#tbl-client-list :where(th,td) {
  white-space: nowrap;
  max-width: 500px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/************************************************/
/* 顧客カルテ */
/************************************************/
.karte-container {
  margin: 0 40px 40px 0;
}
.karte-container > span {
  font-size: 1.8rem;
}
.karte-container li, .karte-container table {
  padding-left: 24px;
}
.karte-container > div {
  display: flex;
  gap: 24px;
  margin-bottom: 8px;
}
.karte-container > div > span {
  font-size: 1.8rem;
  color: #0e3644;
  position: relative;
  overflow: hidden;
  padding: 2px 60px;
  border-top: 3px solid #7ecbe4;
  background: #e8f8fd;
  width: 200px;
}
.karte-container > div > span:before {
  position: absolute;
  top: -60%;
  left: -10px;
  width: 45px;
  height: 200%;
  content: '';
  -webkit-transform: rotate(25deg);
  transform: rotate(25deg);
  background: #7ecbe4;
}
.karte-container table :where(th,td):not(:nth-last-of-type(1)) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 500px;
}
/* .karte-container table td:where(:nth-of-type(1),:nth-last-of-type(1)) {
  text-align: center;
  padding: unset;
  width: 64px;
} */

/************************************************/
/* 購入商品情報作成 */
/************************************************/
#product-name-search-popup {
  flex-grow: 1;
  color: #333;
}
#product-name-search-popup .modal-content {
  width: 800px;
}
#product-name-search-popup .modal-body {
  padding: unset;
}
#product-name-search-popup .search-group {
  width: auto;
}
#product-name-search-popup .modal-content *:where(*:has(.box-title), .box-title) {
  background-color: inherit;
}
#product-name-search-popup .modal-footer {
  text-align: center;
}
#product-name-search-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px
}
#product-name-search-result-area {
  box-sizing: border-box;
  width: 100%;
  height: 300px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px 12px;
  overflow-y: hidden;
  margin-bottom: 10px;
}
#product-name-search-result-area-inner {
  width: 100%;
  height: 100%;
  overflow-y: auto;
}
#product-name-search-result-area ul {
  width: max-content;
  min-width: 100%;
  height: 100%;
}
#product-name-search-result-area ul > li {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #ccc;
  white-space: nowrap;
  padding: 4px 0;
}
#product-name-search-result-area label {
  display: block;
}
#product-name-search-result-area label:hover {
  cursor: pointer;
}
#product-name-search-result-area li:hover {
  background-color: #e5f4fe
}
#product-name-search-result-area li:has(input:checked) {
  background-color: #bfe4fd
}
#product-name-search-result-area input {
  margin: 0 12px;
}
/************************************************/
/* 電話履歴作成 */
/************************************************/
#call-history {
  margin-top: 12px;
}
#call-history > div {
  display: flex;
  align-items: center;
  width: 750px;
  margin-bottom: 8px;
}
#call-history label:has(+ input:where([type="text"],[type="datetime-local"],[type="tel"],[type="email"]), + textarea, + select) {
  display: inline-block;
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-ideograph;
  width: 120px;
  margin-right: 30px;
}
#call-history input:where([type="text"],[type="datetime-local"],[type="tel"],[type="email"]) {
  width: 320px;
  margin-right: 8px;
}
#call-history select {
  width: 350px;
}
#call-history textarea {
  flex: 1;
}
#call-history div:has(input:where([type="checkbox"],[type="radio"])) {
  margin-top: 32px;
}
#call-history input:where([type="checkbox"],[type="radio"]) + label {
  margin-right: 16px;
}
#call-history input:where([type="checkbox"],[type="radio"]) {
  margin-right: 6px;
  margin-bottom: 2px;
}
#call-history label[for="corr-person"] {
  text-align: right;
  text-align-last: unset;
  text-justify: unset;  
}

/************************************************/
/* お知らせの設定一覧 */
/************************************************/
/* 検索領域 */
.notification-search-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 30px;
}
.notification-search-container > div:nth-child(1) {
  width: 600px;
}
.notification-search-container > div > div {
  display: flex;
  align-items: center;
  gap: 0 10px;
  margin-bottom: 8px;
 }
.notification-search-container > div > div > div {
  display: flex;
  align-items: center;
  gap: 0 10px;
  flex-wrap: wrap;
  flex: 1;
}
.notification-search-container :where(label:has(+ input:where([type="text"],[type="date"])),p) {
  width: 64px;
  margin-right: 12px;
}
.notification-search-container input:where([type="text"],[type="date"]) {
  width: 100%;
  flex: 1;
}
.notification-search-container input[type="checkbox"] + label {
  margin-right: 16px;
}
.notification-search-container input[type="checkbox"] {
  margin-bottom: 2px;
}
/* 一覧テーブル */
#tbl-notification-list :where(th,td) {
  white-space: nowrap;
}
#tbl-notification-list :where(th,td):not(:nth-last-of-type(1)) {
  max-width: 500px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/************************************************/
/* お知らせの設定登録 */
/************************************************/
#notification-creation > div {
  display: flex;
  align-items: center;
  width: 1200px;
  margin-bottom: 8px;
}
#notification-creation :where(label:has(+ input:where([type="text"],[type="date"]), + textarea),p) {
  display: inline-block;
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-ideograph;
  width: 120px;
  margin-right: 30px;
}
#notification-creation textarea {
  flex: 1;
}
#destination-item-container {
  flex: 1;
  padding: 20px 24px;
  background-color: #fafafa;
  border: 1px solid #ccc;
  border-radius: 5px;
}
#destination-member {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/************************************************/
/* 商品検索 */
/************************************************/
/* 一覧テーブル */
#tbl-product-list :where(th,td) {
  white-space: nowrap;
}
#tbl-product-list :where(th,td):not(:nth-last-of-type(1)) {
  max-width: 500px;
  overflow: hidden;
  text-overflow: ellipsis;
}


/************************************************/
/* 個別チャット */
/************************************************/
.chat-container {
  display: flex;
  flex-direction: row;
  background-color: #fff;
  box-sizing: border-box;
  min-width: 1080px;
  width: 100%;
  height: calc(100% - 54px);
  padding: 2px 3px;
  font-size: 1.4rem;
}
.chat-member-area {
  display: flex;
  flex-direction: column;
  width: 250px;
  border-right: solid 1px #ccc;
}
.chat-member-title {
  display: flex;
  height: 50px;
  align-items: center;
  justify-content: center;
}
.chat-member-title > p {
  text-align: center;
  color: #999;
}
.chat-member-list {
  flex: 1;
  overflow-y: hidden;
  overflow-y: auto;
}
.chat-member-list ul {
  padding-top: 10px;
}
.chat-member-list li {
  padding: 10px 0px 12px 40px;
}
.chat-member-list li:hover {
  background-color: #e5f4fe
}
.chat-member-list li.current {
  background-color: #cbe9fd
}
.chat-member-list li > a {
  display: block;
}

.chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.chat-head {
  display: inline-flex;
  align-items: center;
  height: 50px;
  border-bottom: solid 1px #ccc;
  padding-left: 30px;
  font-weight: 700;
  color: #0075f6;
}
.chat-body {
  flex: 1;
  overflow-y: scroll;
}

.chat-balloon-receive {
  margin: 20px 0px;
  text-align: left;
}
.chat-balloon-receive > p {
  display: inline-block;
  position: relative;
  background: #e4f0f7;
  max-inline-size: 60%;
  border-radius: 15px;
  padding: 10px 20px 12px;
  margin: 0 5px 0 30px;
}
.chat-balloon-receive > p:after {
	right: calc(100% - 5px);
	top: 8px;
	content: "";
  width: 0;
	height: 0;
	position: absolute;
	pointer-events: none;
  border: 10px solid transparent;
	border-right: 20px solid #e4f0f7;
}
.chat-balloon-send {
  margin: 20px 0px;
  text-align: right;
}
.chat-balloon-send > img {
  vertical-align: top;
  width: 34px;
  height: 34px;
  margin-right: 20px;
}
.chat-balloon-send > p {
  display: inline-block;
  position: relative;
  background: #efefef;
  text-align: left;
  max-inline-size: 60%;
  border-radius: 15px;
  padding: 10px 20px 12px;
  margin: 0 30px 0 5px;
  overflow-wrap: break-word;
}
.chat-balloon-send > p > img {
  object-fit: contain;
  max-width: 300px;
  max-height: 200px;
}
.chat-balloon-send > p:after {
	left: calc(100% - 5px);
	top: 8px;
	content: "";
  width: 0;
	height: 0;
	position: absolute;
	pointer-events: none;
  border: 10px solid transparent;
	border-left: 20px solid #efefef;
}
.chat-datetime {
  font-size: 1.2rem;
  vertical-align: -.7rem;
}

.chat-input {
  display: flex;
  flex-direction: column;
  height: 150px;
  border-top: solid 1px #ccc;
  padding: 5px;
}
.chat-input-ctrl {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}
.chat-input-ctrl > div {
  display: inline-flex;
  align-items: center;
}
.chat-input-ctrl .btn-blue {
  text-align: center;
  width: 120px;
  color:#fff;
  background-color: #0075f6;
	border-radius: 5px;
  padding: 5px 0px 7px;
	box-shadow: 0px 0px 10px rgba(0, 42, 71, 0.4);
  border: none;
}
.chat-input-ctrl .btn-blue:hover {
  background-color: #0085f6
}
.chat-input-ctrl .btn-blue:active {
  background-color: #0065f6
}

.chat-input textarea {
  flex: 1;
  resize: none;
  width: auto;
}

/* ============================================================================================== */
/*                                                                                                */
/*  ポップアップウィンドウ */
/*                                                                                                */
/* ============================================================================================== */
#popup-add-chats, #popup-add-tags, #popup-search {
  display: none;
}
.modal-container {
  position: fixed;
	top: 0;
	left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,50%);
  color: #505050;
  justify-content: center;
  align-items: center;
}
.popup-body {
  width: 480px;
  border: 1px solid #000;
  background-color: #fff;
}
.popup-body > h1 {
  text-align: center;
  border-bottom: solid 1px #000;
  line-height: 4.0rem;
  margin: 0
}
.popup-content {
  width: 85%;
  margin: 0 auto 25px auto;
}
.popup-content h2 {
  font-weight: 500;
  line-height: 2.0rem;
}

/************************************************/
/* 検索 */
/************************************************/
.popup-body .chat-list {
  box-sizing: border-box;
  width: 100%;
  height: 280px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px 12px;
  overflow-y: none;
  margin-bottom: 10px;
}
.popup-body .chat-list > ul {
  width: 100%;
  height: 100%;
  overflow-y: auto;
}
.popup-body .chat-list label {
  display: block;
  line-height: 3rem;
}
.popup-body .chat-list label:hover {
  cursor: pointer;
}
.popup-body .chat-list li:hover {
  background-color: #e5f4fe
}
.popup-body .chat-list input {
  display: inline;
  margin-right: 5px;
}
.popup-body textarea {
  box-sizing: border-box;
  width: 100%;
  height: 90px;
  resize: none;
  overflow-y: auto;
  padding: 5px 12px;
}
.popup-body input[type="text"] {
  box-sizing: border-box;
  width: 100%;
  padding: 5px 12px;
}
.popup-body button[id^=submit] {
  display: inline-block;
  width: 100%;
  line-height: 45px;
  text-align: center;
  border-radius: 70px;
  background-color: #909090;
  color: #fff;
  margin-top: 20px;
  border: none;
}
.popup-body button[id^=submit]:hover {
  background-color: #999;
  cursor: pointer;
}
.popup-body button[id^=submit]:active {
  background-color: #888;
}
.popup-body button[id^=submit]:disabled {
  background-color: #bbb;
  cursor: default;
}

.select-all-users {
  float: right;
  transform: scale(0.8);
}



/************************************************/
/* 顧客マスタ登録 */
/************************************************/
.on-off-radio-button-area {
  height: 32px;
  padding: 0 12px;
  box-sizing: border-box;
  border-radius: 5px;
  background-color: #fafafa;
  display: inline-flex;
  align-items: center; 
}
.on-off-radio-button-area > * {
  margin: 0 10px;
}

.on-off-radio-button-area input[type="radio"] {
  margin-right: 5px;
}

.client-w-layout .no-change {
  background-color: #BDCCD4;
}

/************************************************/
/* 顧客登録情報確認 */
/************************************************/


/************************************************/
/* 自社情報 */
/************************************************/
.company-w-tbl-black-layout {
  width: 100%;
  font-weight: normal;
}
.company-w-tbl-black-layout td {
  padding-left: 8px;
  box-sizing: border-box;
  padding: 5px 12px;
  margin: 5px 12px;
}
.company-w-tbl-black-layout td label {
  width: 100%;
  padding: 5px 12px;
  box-sizing: border-box;
}
#flg-stamp-visible {
  margin-bottom: 1px;
}
#stamp-register-area {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 0 16px;
  background-color: #fafafa;
  border-radius: 5px;
}
#stamp-register-area > #img-area {
  height: 80px;
  width: 200px;
  border-radius: 5px;
  text-align: center;
}
#stamp-register-area > #img-area > #stamp-unregisted {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 10px;
  box-sizing: border-box;
  background-color: #e7f1fd;
  border: 2px dashed #c5cbcf;
  font-size: 1.4rem;
  line-height: 1;
}
#stamp-register-area > #img-area > #preview-stamp {
  max-width: 100%;
  max-height: 80px;
}
#stamp-notice {
  font-size: 1.4rem;
}

/************************************************/
/* 部署登録 */
/************************************************/
.department-w-layout .height-interval {
  margin: 16px 0px;
}
.department-w-layout hr.height-interval {
  margin: 32px 0px;
  border: none;
  border-top: 2px dashed #666
}
.department-w-tbl {
  width: 50%;
}
.error-message {
  color: #f00;
  height: 24px;
  margin-top: 4px;  
}

/************************************************/
/* 月額サービスマスタ */
/************************************************/
.service-w-layout .height-interval {
  margin: 16px 0px;
}
.service-w-tbl {
  width: 50%;
}


/************************************************/
/* ユーザー管理 */
/************************************************/
.user-w-layout .height-interval {
  margin: 16px 0px;
}
.user-w-layout input[type="password"], .user-w-layout label {
  width: 100%;
}
.user-w-tbl {
  width: 70%;
}


/************************************************/
/* パスワード変更 */
/************************************************/
.password-w-layout .no-change {
  background-color: #BDCCD4;
}
.password-w-layout input[type="password"] {
  width: 100%;
}


/************************************************/
/* ポップアップ(編集/削除)メニュー */
/************************************************/
.popup-select-ope {
  display: none;
  position: relative;  
}

.popup-select-ope-show {
  display: block;
  visibility: visible;
  animation: fadeIn 1s;
}

.popup-select-ope .popuptext {
  width: max-content;
  background-color: whitesmoke;
  color: #000;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  top: 20px;
  right: 20px;
}

.popup-select-ope .popup-link {
  padding: 12px;
  color: #0175F6;
  text-decoration: none;
}

.popup-select-ope .popup-link:hover {
  text-decoration: underline;
}

.popup-select-ope-reader {
  background: transparent;
  border: none;
}

.popup-select-ope-reader:hover {
  cursor: pointer;
}

/************************************************/
/* モーダル画面メニュー */
/************************************************/
.modal-add-ope {
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  
}

.modal-add-ope-show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-add-ope .modal-content {
  background-color: #f4f4f4;
  padding: 20px;
  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
  min-width: 500px;
}

.modal-add-ope .modal-header {
  padding: 12px 0px;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
}

.modal-add-ope .modal-body {
  padding: 12px 0px;
  width: 100%;
  text-align: left;
}

.modal-add-ope .modal-body input[type="text"]{
  padding: 5px;
  width: 100%;
}

.modal-add-ope .modal-body .radio-area label {
  padding-right: 12px;
  box-sizing: border-box;
}

.modal-add-ope .modal-body .radio-area input[type="radio"] {
  margin-right: 5px;
}

.modal-add-ope .modal-footer {
  padding: 12px 0px;
  text-align: right;
}

.modal-add-ope .modal-footer .modal-link {
  padding: 12px;
}

.modal-add-ope-btn:hover {
  cursor: pointer;
}


/************************************************/
/* 見積書作成 */
/************************************************/
.estimate-create-w-layout .height-interval {
  margin: 32px 0px;
}
.estimate-create-w-layout hr.height-interval {
  margin: 32px 0px;
  border: none;
  border-top: 2px dashed #666
}
.estimate-create-w-layout .trash-icon-area {
  background-color: whitesmoke;
  border: solid 1px;
  border-color: lightgray;
  border-radius: 8px;
  text-align: center;
}
.estimate-create-w-layout .trash-icon-area:hover {
  background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
  box-shadow: inset 1px 1px 1px #fff;
  cursor: pointer;
}
.estimate-create-w-layout .trash-icon-area:active {
  background: linear-gradient(to top, #fdfbfb 0%, #ebedee 100%);
  box-shadow: inset 1px 1px 1px #fff;
}
.estimate-create-w-layout .no-change {
  background-color: #BDCCD4;
}
.estimate-create-w-layout .right-area {
  height: 34px;
  width: 80px;
  margin: 2px;
}
.estimate-create-w-layout .btn-large {
  padding: 28px 134px;
}

/************************************************/
/* 請求書作成 */
/************************************************/
.invoice-create-w-layout .height-interval {
  margin: 32px 0px;
}
.invoice-create-w-layout hr.height-interval {
  margin: 32px 0px;
  border: none;
  border-top: 2px dashed #666
}
.invoice-create-w-layout .trash-icon-area {
  background-color: whitesmoke;
  border: solid 1px;
  border-color: lightgray;
  border-radius: 8px;
  text-align: center;
}
.invoice-create-w-layout .icon:hover {
  cursor: pointer;
}
.invoice-create-w-layout .no-change {
  background-color: #BDCCD4;
}
.invoice-create-w-layout .right-area {
  height: 34px;
  width: 80px;
  margin: 2px;
}
.invoice-create-w-layout .btn-large {
  padding: 28px 134px;
}

/************************************************/
/* 月額サービス管理 */
/************************************************/
.service-create-w-layout .height-interval {
  margin: 16px 0px;
}
.service-create-w-layout hr.height-interval {
  margin: 32px 0px;
  border: none;
  border-top: 2px dashed #666
}
.service-create-w-layout .trash-icon-area {
  background-color: whitesmoke;
  border: solid 1px;
  border-color: lightgray;
  border-radius: 8px;
  text-align: center;
}
.service-create-w-layout .icon:hover {
  cursor: pointer;
}
.service-create-w-layout .no-change {
  background-color: #BDCCD4;
}
.service-create-w-layout .right-area {
  height: 34px;
  width: 80px;
  margin: 2px;
}
.service-create-w-layout .btn-large {
  width: 300px;
  padding: 24px 0;
}

/* 作成スケジュールの設定モーダル */
.service-create-w-layout .schedule-tbl {
  border: none;
  width: 100%;
}
.service-create-w-layout .schedule-tbl td {
  border-bottom: 1px dashed #000;
  padding: 12px;
}
.service-create-w-layout .schedule-tbl td .btn-gray {
  padding: 5px 12px;
}
.service-create-w-layout .schedule-tbl td input[type="date"], .service-create-w-layout .schedule-tbl td select {
  width: 100%;
}




/************************************************/
/************************************************/
/************************************************/
/* 見積等自動作成（共通）                           */
/************************************************/
/************************************************/
/************************************************/

/*コンテナ全体*/
#billings-container {
  display: flex;
}
/* サイドバー */
#billings-side-menu {
  box-sizing: border-box;
  width: 200px;
  min-width: 200px;
  padding: 20px 0;
  background: #3b3f49;
}
/* サイドバー項目 */
#billings-side-menu a {
  display: block;
  padding: 20px 30px;
  color: #fff;
  text-align-last: justify;
  cursor: pointer;
  transition: .2s;
}
/* サイドバー項目 マウスオーバー：文字色・背景色 */
#billings-side-menu a:hover {
  background: #515765;
  text-decoration: none;
}
#billings-side-menu a.current {
  background: #687082;
}


/************************************************/
/* 見積書・請求書・月額サービストップ画面 */
/************************************************/
/* メインコテンナ */
#billings-content-outer {
  overflow-y: auto;
  height: calc(100vh - 100px);
  flex: 1;
  padding: 0 10px;
}
/* インナー */
#billings-content-inner {
  width: 100%
  /* width: 1200px; */
}
/* 検索コンテナ */
#billings-top-container {
  display: flex;
  align-items: center;
  padding: 10px 30px;
  border: solid 1px #808080;
  min-width: 1200px;
}
#billings-top-container > h2 {
  width: 240px;
  line-height: 40px;
  height: 36px;
}
#billing-search-item-area {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0 20px;
  flex: 1;
}
/* 検索画面内設定 */
#billing-search-item-area > div {
  display: flex;
  flex-direction: column;
  gap: 5px 0;
}
/* リスト・プレビューエリア */
#billings-content {
    display: flex;
    padding-top: 10px;
    gap: 0 20px;
}
/* リストエリア */
#left-group {
  flex: 0 0 270px;
}
/* リストの外枠 */
#item-list {
  display: flex;
  height: 100%;
  flex-flow: column nowrap;
  align-items: stretch;
  justify-content: flex-start;
}
/* リストヘッダー */
#item-list-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 40px;
  padding-right: 12px;
  border: solid 1px #bbb;
}
#item-count {
  font-size: 1.4rem;
  font-weight: bold;
  margin-right: 4px;
}
/* リストボティ */
#item-list-body {
  display: block;
  height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  border: solid 1px #bbb;
  border-top: none;
  font-size: 1.4rem;
}
/* リスト項目 */
.list-item-inner {
  padding: 5px 10px;
  border-bottom: solid 1px #d4d8dd;    
  transition: .2s;
}
.list-item-inner.current {
  background-color: #e7f1fd;
  border-left: solid 5px #4a90e2;
}

.list-item-inner:hover {
  background-color: #e7f1fd;
  cursor: pointer;
}
/* リスト項目：顧客名 */
.list-item-client-name {
  font-weight: bold;
}
/* 帳票操作・プレビューエリア */
#right-group {
  flex: 1;
}
/* 帳票作成ボタン */
#btn-create {
  text-align: right;
  height: 40px;
}
/* 要素表示エリア */
#right-group-container {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  background-color: #eff1f4;
  padding: 20px 0 40px;
  width: 100%;
}
/* 選択プレビュー情報・操作用ボタングループ */
#item-detail-upper {
  width: 210mm;
  padding: 5px;
  border: solid 1px #999;
  background-color: #fff;
}
#item-control-group {
  margin: 5px 10px
}
#selected-client-name {
  font-weight: bold;
}
/* 各種ボタンの行 */
.btn-group-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 10px;
}
/* 編集〜削除ボタン */
.left-section {
    display: flex;
    align-items: baseline;
    gap: 0 5px;
}
/* PDFボタン・印刷ボタン */
.right-section {
    display: flex;
    align-items: baseline;
    gap: 0 5px;
}
/* 各種ボタングループ */
.estimate-detail-lower,
.invoice-detail-lower {
    margin-top: 15px;
    min-height: 297mm;
    width: 210mm;
    padding: 5px;
    border: solid 1px #999;
    background-color: #fff;
}
/* 見積書・請求書プレビュー画面設定 */
.estimate-detail-lower-container,
.invoice-detail-lower-container {
  min-height: 297mm;
  padding: 30px;
}

/************************************************/
/* 見積書・請求書一覧・確認画面（共通） */
/************************************************/

/* 見積書ヘッダー */
.estimate-header-title,
.invoice-header-title {
    margin: 0;
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 44px;
    text-align: center;
}


/* 顧客情報 */
.estimate-company-information ,
.invoice-company-information {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: space-between;
    font-size: 1.4rem;
    position: relative;
}
.estimate-company-information #img-stamp, 
.invoice-company-information #img-stamp {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 80px;
} 
.estimate-company-information .estimate-right-information,
.invoice-company-information .invoice-right-information {
  position: relative;
}
.estimate-company-information .honorific-title,
.invoice-company-information .honorific-title {
  margin-left: 4px;
}
.estimate-company-information .company-info,
.invoice-company-information .company-info {
  margin-top: 10px;
}
.estimate-company-information .company-info > .estimate-office-address,
.invoice-company-information .company-info > .invoice-office-address {
    white-space: pre-line;
}

/* 見積書番号テーブル */
.estimate-detail-information,
.invoice-detail-information {
    margin-top: 20px;
    border-collapse: collapse;
}

/* 件名以下の部分 */
.estimate-body-container,
.invoice-body-container {
    margin-top: 40px;
}

/* 御見積金額 */
.estimate-total-price,
.invoice-total-price {
    border-bottom: solid 1px #aaa;
    margin-top: 30px;
    font-size: 16px;
    line-height: 1.6;
}

/* 品目等のテーブル設定 */
.estimate-item-table,
.invoice-item-table {
    width: 100%;
    margin-top: 30px;
    border-collapse: collapse;
    font-size: 1.4rem;
}
.estimate-item-table th,
.invoice-item-table th {
  font-weight: normal;
}
.estimate-item-table > tbody > .estimate-item-row:nth-child(2n),
.invoice-item-table > tbody > .invoice-item-row:nth-child(2n) {
  background-color: #ddd
}


/* カラム幅＋文字位置指定 */
.estimate-header-column-name,
.invoice-header-column-name {
    width: 50%;
    text-align: left;
}
.estimate-header-column-unit-price,
.invoice-header-column-unit-price {
    width: 15%;
    text-align: center;
}
.estimate-header-column-quantity,
.estimate-header-column-unit,
.invoice-header-column-quantity,
.invoice-header-column-unit {
    width: 10%;
    text-align: center;
}
.estimate-header-column-price,
.invoice-header-column-price {
    width: 15%;
    text-align: right;
}

/* 各種文字の下線設定 */
.estimate-header-column-name, 
.estimate-header-column-unit-price,
.estimate-header-column-quantity, 
.estimate-header-column-unit,
.estimate-header-column-price,
.invoice-header-column-name, 
.invoice-header-column-unit-price,
.invoice-header-column-quantity, 
.invoice-header-column-unit,
.invoice-header-column-price {
    border-bottom: solid 1px #aaa;
}

/* 各種文字のパディング設定 */
.estimate-item-column-name, 
.estimate-item-column-unit-price,
.estimate-item-column-quantity, 
.estimate-item-column-unit,
.estimate-item-column-price,
.invoice-item-column-name, 
.invoice-item-column-unit-price,
.invoice-item-column-quantity, 
.invoice-item-column-unit,
.invoice-item-column-price {
    padding: 5px;
}

/* 単価・数量等の文字右寄せ設定 */
.estimate-item-column-unit-price,
.estimate-item-column-quantity, 
.estimate-item-column-unit,
.estimate-item-column-price,
.invoice-item-column-unit-price,
.invoice-item-column-quantity, 
.invoice-item-column-unit,
.invoice-item-column-price {
    text-align: right;
}

/* 小計以下のフレックス設定 */
.estimate-price-container,
.invoice-price-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    break-inside: avoid;
}

/* 小計の左側スペース設定 */
.estimate-item-blank-section,
.invoice-item-blank-section {
    flex: 0 50%;
    margin-top: 20px;
}

/* 小計設定 */
.estimate-item-price-section,
.invoice-item-price-section
 {
    flex: 0 300px;
    margin-top: 20px;
}

/* 小計横幅設定 */
.estimate-item-price-content,
.invoice-item-price-content {
    width: 300px;
    margin: auto 0 auto auto;
    font-size: 1.4rem;
}

/* 小計以下フレックス設定 */
.estimate-subtotal-price-container,
.estimate-excise-price-container,
.estimate-total-price-container,
.estimate-breakdown-container,
.invoice-subtotal-price-container,
.invoice-excise-price-container,
.invoice-total-price-container,
.invoice-breakdown-container {
    display: flex;
    border-bottom: solid 1px #aaa;
}

/* 小計以下のヘッダー設定 */
.estimate-subtotal-price-header,
.estimate-excise-price-header,
.estimate-total-price-header,
.estimate-breakdown-header,
.invoice-subtotal-price-header,
.invoice-excise-price-header,
.invoice-total-price-header,
.invoice-breakdown-header {
    flex: 0 0 80px;
}

/* 小計以下の金額設定 */
.estimate-subtotal-price-content,
.estimate-excise-price-content,
.estimate-total-price-content,
.invoice-subtotal-price-content,
.invoice-excise-price-content,
.invoice-total-price-content{
    text-align: right;
}
.estimate-subtotal-price-content,
.estimate-excise-price-content,
.estimate-total-price-content,
.estimate-breakdown-content,
.invoice-subtotal-price-content,
.invoice-excise-price-content,
.invoice-total-price-content,
.invoice-breakdown-content {
    flex: auto;
}

/* 消費税以下の設定 */
.estimate-excise-price-container,
.estimate-total-price-container,
.estimate-breakdown-container,
.invoice-excise-price-container,
.invoice-total-price-container,
.invoice-breakdown-container {
    margin-top: 10px;
}

/* 内訳設定 */
.estimate-breakdown-container,
.invoice-breakdown-container {
    font-size: 13px;
    line-height: 1.4;
}
.estimate-breakdown-item-container,
.invoice-breakdown-item-container {
    margin-bottom: 10px;
}
.estimate-breakdown-item-main-container,
.invoice-breakdown-item-main-container {
    display: flex;
}
.estimate-breakdown-item-name,
.invoice-breakdown-item-name {
    flex: 0 0 120px;
}
.estimate-breakdown-item-subtotal-price,
.invoice-breakdown-item-subtotal-price {
    flex: auto;
    text-align: right;
    overflow-wrap: anywhere;
}
.estimate-breakdown-item-excise-price,
.invoice-breakdown-item-excise-price {
    font-size: 11px;
    text-align: right;
}

/* フッター（振込先・備考）設定 */
.estimate-footer-container,
.invoice-footer-container {
    margin-top: 10px;
}
.estimate-footer-section p,
.invoice-footer-section p {
    margin: 0;
    font-size: 14px;
}
/* 請求書のみ */
.invoice-footer-section-transfer {
  padding: 25px 10px;
  border: solid 1px #aaa;
  margin-top: 3px;
  margin-bottom: 20px;
  font-size: 14px;
  white-space:pre-line;
}
.estimate-footer-section-content,
.invoice-footer-section-content {
    padding: 15px 10px;
    border: solid 1px #aaa;
    margin-top: 3px;
    font-size: 14px;
    white-space:pre-line;
}

/************************************************/
/* 見積書・請求書確認画面 */
/************************************************/

.estimate-detail-comfirm-set-flex,
.invoice-detail-comfirm-set-flex {
    display: flex;
    flex: 1 0 auto;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: center;
    margin-left: 16px;
    padding-bottom: 20px;
}

.estimate-detail-comfirm-container,
.invoice-detail-comfirm-container {
    margin-left: 50px;
    width: 210mm;
    min-height: 297mm;
    flex: 0 0 auto;
    font-size: 16px;
    margin-top: 20px;
}

.estimate-detail-comfirm,
.invoice-detail-comfirm {
    min-height: 297mm;
    padding: 30px;
    border: solid 1px #d4d8dd;
}

/************************************************/
/* 月額サービス管理 */
/************************************************/
/* 一覧テーブル */
#tbl-monthly-service :where(th,td) {
  white-space: nowrap;
}
#tbl-monthly-service :where(th,td):not(:nth-last-of-type(1)) {
  max-width: 500px;
  overflow: hidden;
  text-overflow: ellipsis;
}