@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap");

.modal-content .md-photograph h2::before, .modal-content .md-new-emoney h2::before, .modal-content .md-new-emoney ul li a::before, 
.modal-content .md-new-emoney ul li a::after, .modal-content .md-group-delete h2::before, .modal-content .md-ocr-image-delete h2::before {
  font-family: "Material Symbols Outlined";
  font-weight: 300;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}
.modal-content .md-photograph h2::before{
    content: "\e8ef";
    font-size: 2em;
    line-height: 1em;
}

.modal-content .md-photograph h2{
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.8rem;
}

.modal-content .md-photograph {
  padding: 1rem 1.6rem 0rem;
  grid-row: 2 / 4;
  min-height: 65vh; 
}
.modal-content .md-photograph h2 + h3 {
  padding: 1em 0 0.5em;
}
.modal-content .md-photograph ul {
  margin: 1.6rem auto;
}

.modal-content .md-photograph canvas {
  padding: 0 0 1rem 0;
}

.camera-with-frame, .confirm-image, .photograph-image {
  height: calc(100vh - 21rem); /* ← ボタン等の分を引く */
  max-height: 100%;
  overflow: hidden;
}

.photograph-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

.photograph-image > div {
  width: auto !important;
  height: auto !important;
}

.photograph-image .photographed-image {
  max-width: 85vw;
  max-height: calc(100vh - 21rem);
  height: auto;
  width: auto;
}

.photo-region {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.photo-region video,
.photo-region .react-webcam {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* ← 縦長の決定打 */
}

.camera-header{
  display: grid;
  grid-template-columns: 1fr 5fr 1fr;
}

.modal-content .camera-header h1{
  grid-column: 2;
  padding: 16px 0 8px;
  font-size: 1.4rem;
  line-height: 0.5em;
}

.camera-thumbnails-area{
  grid-column: 1 / 4;
  grid-row: 3;
  min-height: 80px;
  display: flex;
  flex-shrink: 0;
  width: 100%;
  padding: 10px;
}

.camera-thumbnails-box{
  display: flex;
  gap: 8px;
  padding: 0px 16px;
  box-sizing: border-box;
}

.camera-aggregate-modal-header--thumbnail{
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.confirm-image {
  display: flex;
  justify-content: center;
}

@media screen and (min-width: 900px) {
    .confirm-photo-dialog>div {
        min-height: 707px;
    }
}

.confirm-photo-button {
  display: flex;
  gap: 1rem;
  margin-top: 20px;
  padding: 0 0 1.2rem 0;
}

.confirm-photo-button button {
  flex: 1;
  height: 100%;
}

.modal {
  position: absolute;
  inset: 0;
  z-index: 1000;
  display: flex;
  justify-content: center; /* 横中央 */
  align-items: center;     /* 縦中央 */
}

.base-dialog {
  background-color: #fff;
  border-radius: 0.5rem;
  inline-size: fit-content;
  min-inline-size: 14rem;
  max-inline-size: min(30rem, calc(100vw - 6rem));
  min-height: 10rem; 
  width: 100%;
  margin: 0 3rem;
  padding: 1.2rem 1rem;
}

.base-dialog__footer {
  display: flex;              /* ← これが必須 */
  justify-content: center;    /* 横方向中央 */
  gap: 1rem;                  /* ボタン間の余白 */
  margin-top: 50px;
}
.base-dialog .dialog {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(1rem);
}
.base-dialog .dialog .dialog__error_message {
  padding: 0rem 1rem;
  font-size: 1rem;
  text-align: left;
  font-weight: 300;
}
@media screen and (max-width: 487px) {
  .base-dialog .dialog .dialog__error_message {
    font-size: 0.8rem;
  }
}

.select-dialog__header {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin: 0;
}

@media screen and (max-width: 780px) {
  .select-dialog__header {
    font-size: 1rem;
  }
}

.select-dialog__button {
  margin: 0 auto;
  width: auto;
  max-width: 14rem;
}

.select-dialog__button button {
  display: block;
  width: 100%;
  padding: 0 1.5em;
  color: #111;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 3rem;
  border: 1px solid #333;
  border-radius: 0.5em;
  opacity: 1;
}
.select-dialog__button button:focus, .select-dialog__button button:hover {
  color: rgb(134, 173, 67);
  border: 1px solid rgb(134, 173, 67);
} 

/* .select-dialog__button:hover {
  color: rgb(134, 173, 67);
  border: 1px solid rgb(134, 173, 67);
} */

@media screen and (max-width: 780px) {
  .select-dialog__button {
    font-size: 0.9rem;
  }
}

.camera-header .camera-back-button {
    position: absolute;
    top: 10px;
    left: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1100;
}

.camera-header .camera-back-button::before {
    font-family: "Material Symbols Outlined";
    font-weight: 300;
    font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
    content: "\e5c4";
}

.camera-header .camera-back-button:hover {
    color: rgb(135, 160, 146);
}

.camera-header .btn-delete {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1100;
}

.camera-header .btn-delete::before {
    font-family: "Material Symbols Outlined";
    font-weight: 300;
    font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
    content: "\e872";
}

.camera-header .btn-delete:hover {
    color: rgb(135, 160, 146);
}

/* ドロップダウンスタイル */
.form-select {
  width: 100%;
}
.dropdown-search,
.dropdown-account-info {
  width: 100%;
}
.dropdown-group .dropdown__control, .dropdown-search .dropdown__control, .dropdown-account-info .dropdown__control {
  border: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  min-height: 3rem;
}
.dropdown-group .dropdown__control {
  min-width: 20rem;
  background-color: #476454 !important;
}

/* ドロップダウンコントロール フォーカス時ツールチップ */
.form-select [data-tooltip] {
  position: relative;
  display: inline-block;
}

.form-select [data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 20%;
  left: 100%;
  margin-left: 0.8rem;
  /* transform: translateY(-50%); */
  background: rgba(0, 0, 0, 0.8);
  color: #FFF;
  padding: 0.5em 0.8em 0.75em;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  text-align: left;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  width: 200px;
  max-width: 200px;
  z-index: 1100;
  /* line-height: 1.4; */
}

/* ホバー時のみツールチップ表示 */
.form-select [data-tooltip]:has(.dropdown__control:hover)::after {
  opacity: 1;
}

/* フォーカス時は非表示（ホバーのみ） */
.form-select [data-tooltip]:focus::after {
  opacity: 0 !important;
}

.dropdown-search .dropdown__control, .dropdown-account-info .dropdown__control {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #ccc !important;
  border-radius: 0.5rem;
}

.dropdown-group .dropdown__control:hover {
  background-color: #476454 !important;
}
.dropdown-search .dropdown__control:hover, .dropdown-account-info .dropdown__control:hover {
  background-color: rgba(234, 206, 84, 0.05) !important;
}

.dropdown-search .dropdown__control--is-focused,
.dropdown-search .dropdown__control--menu-is-open,
.dropdown-account-info .dropdown__control--is-focused,
.dropdown-account-info .dropdown__control--menu-is-open {
  background-color: rgba(234, 206, 84, 0.05) !important;
}

.dropdown-group .dropdown__control::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 1px !important;
  background-color: #ffffff80 !important;
}

.dropdown-group .dropdown__placeholder {
  color: #ffffff !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  margin: 0 !important;
  position: absolute !important;
  left: 0 !important;
}

.dropdown-group .dropdown__value-container {
  padding: 0 16px !important;
}

.dropdown-group .dropdown__single-value, .dropdown-search .dropdown__single-value, .dropdown-account-info .dropdown__single-value {
  font-size: 1.1rem !important;
  margin: 0 !important;
  position: absolute !important;
  left: 0 !important;
}
.dropdown-group .dropdown__single-value {
  color: #ffffff;
  font-weight: bold;
}
.dropdown-search .dropdown__single-value, .dropdown-account-info .dropdown__single-value {
  color: #111;
  font-size: 1.2rem !important;
  left: 0.3rem !important;
}

.dropdown-group .dropdown__dropdown-indicator,
.dropdown-search .dropdown__dropdown-indicator,
.dropdown-account-info .dropdown__dropdown-indicator {
  padding: 0 16px !important;
  transition: transform 0.2s ease !important;
  transform: rotate(0deg) !important;
}
.dropdown-group .dropdown__dropdown-indicator {
  color: #ffffff;
}
.dropdown-search .dropdown__dropdown-indicator, .dropdown-account-info .dropdown__dropdown-indicator {
  color: #111;
}

/* メニューが開いているときに回転 */
.dropdown-group .dropdown__control--menu-is-open .dropdown__dropdown-indicator,
.dropdown-search .dropdown__control--menu-is-open .dropdown__dropdown-indicator,
.dropdown-account-info .dropdown__control--menu-is-open .dropdown__dropdown-indicator {
  transform: rotate(180deg) !important;
}

.dropdown-group .dropdown__indicator-separator,
.dropdown-search .dropdown__indicator-separator,
.dropdown-account-info .dropdown__indicator-separator {
  display: none !important;
}

.dropdown-group .dropdown__menu {
  margin-top: 0.7rem !important;
  border-radius: 0.8rem !important;
  overflow: hidden !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
  background-color: #476454; /* メニュー全体の背景色 */
  left: -2.0rem !important; /* コントロールと同じ位置に */
  width: 110% !important; 
}
.dropdown-search .dropdown__menu, .dropdown-account-info .dropdown__menu {
  margin-top: 0rem !important;
  overflow: hidden !important;
  border: none !important;
  background-color: #fff !important; /* メニュー全体の背景色 */
}

.dropdown-group .dropdown__menu-list, .dropdown-search .dropdown__menu-list, .dropdown-account-info .dropdown__menu-list {
  padding: 0 !important;
}

.dropdown-group .dropdown__option, .dropdown-search .dropdown__option, .dropdown-account-info .dropdown__option {
  display: block !important;
  text-align: left !important;
  padding: 0 0.8rem !important;
  cursor: pointer !important;
  /* 文字がはみ出るときは、省略して表示する */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdown-group .dropdown__option {
  font-size: 1.1rem !important;
  font-weight: 300 !important;
  line-height: 2.4rem !important;
  background-color: #476454 !important; /* 各オプションのデフォルト背景色 */
  color: #ffffff !important; /* 文字色も白系に */
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}
.dropdown-search .dropdown__option, .dropdown-account-info .dropdown__option {
  font-size: 1.2rem !important;
  font-weight: 400 !important;
  line-height: 2.4rem !important;
  background-color: rgba(234, 206, 84, 0.05) !important; /* 各オプションのデフォルト背景色 */
  color: #111 !important; /* 文字色も黒系に */
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.dropdown-group .dropdown__option:hover,
.dropdown-group .dropdown__option--is-focused {
  background-color: #87A092 !important;
  transition: background-color 0.25s ease;
}
.dropdown-search .dropdown__option--is-focused, .dropdown-account-info .dropdown__option--is-focused {
  color: #ffffff !important; /* カーソルが当たっているときの文字色（例） */
  background-color: #5A8EE0 !important; /* カーソルが当たっているときの青色（例） */
}

.dropdown-search .dropdown__menu-notice--no-options, .dropdown-account-info .dropdown__menu-notice--no-options {
  color: #888 !important;
  text-align: left !important;
  font-size: 1.2rem !important;
  line-height: 2.4rem !important;
}

.form-2box input[type=date] {
  min-width: 0;
}
@media screen and (max-width: 768px) {
  .form-2box input[type="date"] {
    font-size: 0.85rem !important;
    padding: 0.5rem 0.5rem !important;
  }
}

/* addNewLastLabel用プラスアイコン */
/* .dropdown-group .dropdown__option:last-child::before {
  content: "\e145";
  font-family: "Material Symbols Outlined";
  font-weight: 300;
  font-size: 1.4rem;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
  margin-left: 0rem;
} */

/* Update Pass Modal Styles */
.update-pass-modal .pass_wap {
  position: relative;
  padding: 0.5rem 0;
}
.md-user-service .pass_wap {
  position: relative;
  padding: 0;
  width: 100%;
}

.update-pass-modal .pass_wapper input[type=password] {
  width: 100%;
}

.update-pass-modal .pass_wap .toggle_dsp, .md-user-service .pass_wap .toggle_dsp {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 4rem;
  text-align: center;
  border: none;
  color: rgb(135, 160, 146);
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.8rem;
  line-height: 1em;
  font-weight: 500;
}

.update-pass-modal .form input[type=text], .update-pass-modal .form input[type=password], .md-user-service .form input[type=text], .md-user-service .form input[type=password],
ul.update-id-form input[type=text], ul.invitation input[type=text], .modal-content .md-account-info dl dd input[type=password] {
  padding: 0.5rem 0.8rem;
  width: 100%;
  font-size: 1.2rem;
  line-height: 1em;
  color: #000;
  background: #FFF;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  outline: none;
  padding-right: 3.5rem;
}

.update-pass-modal .form input[type=text]::placeholder, .update-pass-modal .form input[type=password]::placeholder {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.update-pass-modal .form input[type=text]:focus, .update-pass-modal .form input[type=password]:focus {
  background: rgba(234, 206, 84, 0.05);
}

.update-pass-modal ul li {
  display: block;
}

.update-pass-modal li {
  padding: 0 0 1rem;
  text-align: left;
}

.drag-icon::before {
  font-family: "Material Symbols Outlined";
  font-weight: 300;
  font-size: 1.5rem;
  content: "\e945";
}

/* ドラッグ操作中のテキスト選択による青色ハイライトを防止 */
#ocrContainer #ocrEditBox tbody tr {
  user-select: none; /* テキスト選択を無効化 */
  -webkit-user-select: none; /* Safari/Chrome用 */
}

/* ドラッグハンドル（アイコン）自体のタッチアクションも無効化して操作性を向上 */
#ocrContainer #ocrEditBox .drag-icon {
  touch-action: none;
  cursor: -webkit-grab; /* Safari用 */
  cursor: grab;
}
#ocrContainer #ocrEditBox .drag-icon:active {
  cursor: -webkit-grabbing; /* Safari用 */
  cursor: grabbing;
}

.pass_error {
  display: flex;
  gap: 0.5rem 0;
  padding: 0.5rem 0 1.6rem;
  width: 100%;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
}
.pass_error::before {
  font-family: "Material Symbols Outlined";
  font-weight: 300;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
  content: "\e5cd";
  color: #bf122b;
  font-size: 1.2rem;
}
.pass_error {
  color: #bf122b;
}

.showAllClientsWrapper {
  margin-left: 1rem;
  padding: 1.6rem 0.8rem 0 0;
  text-align: right;
}

#selectOffice {
  display: grid;
  grid-template-columns: 8rem 1fr; /* dt幅固定 + dd可変 */
  align-items: start;
}

#selectOffice dt {
  grid-column: 1;
  padding-top: 0.5rem;
}

#selectOffice dd {
  grid-column: 2;
  width: 100%;
}

#selectOffice dd p{
  display: inline-block;
  padding: 0.5rem 0.8rem;
  width: 100%;
  font-size: 1.2rem;
  line-height: 1em;
  text-align: left;
}

/* ホーム画面　その他アイコン*/
section.home_lists li dt.ecshop::before {
  content: "\f720";
}

.list-item.invalid {
  /*全体を薄くグレーアウト*/
  /* opacity: 0.5;
  filter: grayscale(1); */
  color: #999;
  background: #dbdada;
}

/* 仕訳ジャンプ明細の点滅アニメーション */
@keyframes blinkBorder {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
  50%, 100% {
    box-shadow: 0 0 8px 2px rgb(237, 146, 84);
  }
}

.jumptrade {
  animation: blinkBorder 0.8s ease-in-out 3;
  animation-fill-mode: forwards;
  z-index: 1;
}

.modal-content .md-add-bank li label, .modal-content .md-group-delete dl dd,
.modal-content .group-name.md-bank-style .value, .modal-content .md-group-invitation dl dd,
.modal-content .md-group-edit dl dd, .modal-content .md-group-download dl dd, .modal-content .md-ocr-image-delete dl dd,
.modal-content .md-list-download dl dd {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  mask-image: linear-gradient(to right, black 90%, transparent);
}

/* style.cssの差分を記述 */
#ocrContainer #ocrEditBox caption strong {
  max-width: 100%;
  /* メモ：下記指定は、テキストが長すぎる場合に省略表示するための設定 */
  /* white-space: nowrap;
  text-overflow: ellipsis; */
}
#ocrContainer #ocrEditBox caption label.trg_off {
  flex-shrink: 0;
}

.auth-completed .step ol li {
  width: 50% !important;
}

#ocrContainer #ocrEditBox tbody tr td:nth-child(1),
#ocrContainer #ocrEditBox thead tr th:nth-child(1) {
  width: 3rem;
  text-align: center;
}
#ocrContainer #ocrEditBox tbody tr td:nth-child(2) {
  width: 6rem;
  text-align: left;
}
#ocrContainer #ocrEditBox thead tr th:nth-child(2) {
  width: 6rem;
}
#ocrContainer #ocrEditBox tbody tr td:nth-child(2) input[type=date] {
  font-size: 0.8rem;
  text-align: left;
}
#ocrContainer #ocrEditBox tbody tr td:nth-child(3) {
  display: flex;
  flex-direction: column;
  min-width: 8rem;
  width: auto;
}
#ocrContainer #ocrEditBox tbody tr td:nth-child(3) input[type=text] {
  text-align: left;
}
#ocrContainer #ocrEditBox tbody tr td:nth-child(3) input[type=text].sub {
  border-top: 1px dotted #CCC;
  font-size: 0.7rem;
  line-height: 1.4em;
}
#ocrContainer #ocrEditBox tbody tr td:nth-child(4),
#ocrContainer #ocrEditBox thead tr th:nth-child(4),
#ocrContainer #ocrEditBox thead tr th:nth-child(5),
#ocrContainer #ocrEditBox tbody tr td:nth-child(5) {
  width: 7rem;
}
#ocrContainer #ocrEditBox thead tr th:nth-child(6) {
  width: 7rem;
}
#ocrContainer #ocrEditBox tbody tr td:nth-child(6) {
  width: 7rem;
  background: rgba(0, 0, 0, 0.05);
}

.modal-content .md-list-authentication li input[type=password],
#loginBox li input[type=password], #loginBox li input[type=text],
.form-type02 .form input[type=text], .modal-content .md-user-integrat .form input[type=text], .modal-content .md-list-authentication .form input[type=text], #rePass .form input[type=text], #newEntry .form input[type=text], #signUp .form input[type=text],
.form-type02 .form input[type=password],
.modal-content .md-user-integrat .form input[type=password],
.modal-content .md-list-authentication .form input[type=password],
#rePass .form input[type=password],
#newEntry .form input[type=password],
#signUp .form input[type=password], .form-dl01 dd input[type=text], .modal-content .md-user-service dl dd input[type=text], .modal-content .md-list-sort dl dd input[type=text], .modal-content .md-new-excel dl dd input[type=text], .modal-content .md-new-ocr dl dd input[type=text], .modal-content .md-add-bank-csv dl dd input[type=text],
.form-dl01 dd input[type=password],
.modal-content .md-user-2factor-mail dl dd input[type=password],
.modal-content .md-user-2factor dl dd input[type=password],
.modal-content .md-user-service dl dd input[type=password],
.modal-content .md-user-profile dl dd input[type=password],
.modal-content .md-list-sort dl dd input[type=password],
.modal-content .md-list-search dl dd input[type=password],
.modal-content .md-new-excel dl dd input[type=password],
.modal-content .md-new-ocr dl dd input[type=password],
.modal-content .md-add-bank-csv dl dd input[type=password] {
  padding-right: 3.5rem;
}

.modal-content .md-list-authentication {
  padding: 0 1.6rem;
}
.modal-content .md-list-authentication blockquote {
  margin: 0;
  padding: 0 1.6rem 0.8rem;
}
.modal-content .md-list-authentication blockquote h4 {
  padding: 0.8rem 0 0.8rem;
}
.modal-content .md-list-authentication blockquote p {
  padding: 0;
  margin: 0 auto;
  max-width: 95%;
  font-size: 1rem;
  font-weight: 300;
  color:#000;
}
 .modal-content .md-list-authentication p {
  margin: 0;
  padding: 0.8rem 0.8rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color : red;
 }

.modal-content .md-group-shear-status .share-member-item{
  margin: 0 0 0.25rem;
}
.modal-content .md-group-shear-status .share-member-item span {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  width: 100%;
  text-align: left;
  border-radius: 0.5em;
  background: rgba(0, 0, 0, 0.05);
}

.modal-content .md-group-shear-status .share-member-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-content .md-group-shear-status .share-member-item button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.2rem 0.5rem;
  width: 2em;
  min-width: 1.5em;
  background: none;
  border: none;
  cursor: pointer;
}

/* ログインパスワード　目隠しアイコン */
#loginBox .pass_wap {
  position: relative;
}
#loginBox .pass_wap input[type=password] {
  width: 100%;
}
#loginBox .pass_wap .toggle_dsp {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 4rem;
  text-align: center;
  border: none;
  color: rgb(135, 160, 146);
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.8rem;
  line-height: 1em;
  font-weight: 500;
}

#loginBox input[type=text], .modal-content .md-account-info dl dd input[type=text], .modal-content .md-list-edit dl dd input[type=text] {
  padding: 0.5rem 0.8rem;
  width: 100%;
  font-size: 1.2rem;
  line-height: 1em;
  color: #000;
  background: #FFF;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  outline: none;
}

#loginBox input[type=text]::placeholder {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

#signUp .form li input[type="checkbox"], .modal-content .md-list-search dl dd input[type="checkbox"], .modal-content .md-user-delete input[type="checkbox"],
.modal-content .md-user-service .showAllClientsWrapper input[type="checkbox"] {
  margin-right: 0.3rem;
}

#signUp .form .mail-update {
  display: block;
  text-align: right;
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 400;
  text-decoration: underline;
}

#signUp .first_auth_text {
  font-size: 1.1rem;
  padding: 0 0 0.8rem;
}
#signUp .first_auth_form {
  padding: 0;
}
#signUp ul li .mail-address-form {
  padding: 0.8rem 0 0;
}
#signUp p.signupTermsDescription {
  max-width: 95%;
}

/* グループの移動モーダル */
.modal-content .md-group-edit ul li button:hover {
  background: rgb(135, 160, 146);
}

/* 明細一覧 サイドバー 無効化 */
.nav-list button.btn-checkocr:disabled {
  color: #b8b7b7 !important;
  cursor: not-allowed;
}
.nav-list button:disabled:hover::before {
  background: none !important;
}
.nav-list button.btn-reset:disabled {
  color: #b8b7b7 !important;
  cursor: not-allowed;
}
.nav-list button:disabled:hover::before {
  background: none !important;
}

/* パスワード入力の目隠しアイコンを消す（IE11対策） */
input::-ms-reveal {
  display: none;
}

.loading-modal .ic-load::before {
  /* position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center; */
  background: rgba(255,255,255,0.7) !important;/* 半透明白背景例 */
}

.loading-modal .ic-load::after {
  /* 画面の真ん中 に配置するためのスタイル */
  position: absolute;
  top: 50%;
  border: 4px solid rgba(71, 100, 84, 0.4);
  border-top-color: rgb(71, 100, 84);
}

.modal-content .md-list-search {
  padding: 0.3rem 1.6rem 0;
}
.modal-content .md-list-search dl {
  padding: 0.3rem 0 0;
}

.modal-content .md-group-download li label span, .modal-content .group-name.md-bank-style .value {
  /*はみ出した文字は省略する */
  /* display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; */
  /*はみ出した分は横スクロール*/
  display: block;
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.modal-content .md-group-download li label span::-webkit-scrollbar,
.modal-content .group-name.md-bank-style .value::-webkit-scrollbar {
  display: none;
}

.modal-content .md-group-delete h2{
  padding: 0 0 1.6rem;
}
.modal-content .md-group-delete h2::before,  .modal-content .md-ocr-image-delete h2::before {
  content: "\e872";
  display: block;
  font-size: 6rem;
  line-height: 1em;
}
.modal-content .md-group-delete p {
  padding: 0 0 1em;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.8em;
}

ul.update-id-form {
  margin: 0 auto 1.6rem;
  width: 85%;
}

ul.update-id-form label{
  display: block;
  padding: 1em 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: left;
}
ul.update-id-form input[type=text] {
  padding: 0.5rem 0.8rem;
}
ul.update-id-form input[type=text]:read-only {
  padding: 0.5rem 0.8rem;
  color: #333;
  font-weight: 500;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #ccc;
}

/* modal-content headerが優勢になるように設定 */
.modal-content header {
  padding: 2rem 0 1rem !important;
}

/* モーダルの nav button 内の文字がはみ出さないように設定 */
.modal-content nav button {
  min-height: 3rem;
  line-height: normal;
  height: auto;
  padding: 0.6rem 1.6rem;
}

/* 認証情報画面 */
.modal-content .md-add-bank dl, .modal-content .md-list-edit dl,
.modal-content .md-group-delete dl, .modal-content .group-name.md-bank-style, .modal-content .md-group-invitation dl,
.modal-content .md-group-edit dl, .modal-content .md-group-download dl, .modal-content .md-ocr-image-delete dl,
.modal-content .md-list-download dl {
  display: grid;
  grid-template-columns: 8rem 1fr; /* dt: 8rem, dd: 残り全部 */
  gap: 0.8rem 0.5rem;
  align-items: center;
  padding: 1.6rem 0;
  width: 100%;
  box-sizing: border-box;
}
.modal-content .md-list-edit dl, .modal-content .md-group-edit dl, .modal-content .md-group-download dl, .modal-content .md-list-download dl {
  padding: 0.5rem 0;
}

.modal-content .md-add-bank dl dt, .modal-content .md-list-edit dl dt,
.modal-content .md-group-delete dl dt, .modal-content .md-group-invitation dl dt,
.modal-content .md-group-edit dl dt, .modal-content .md-group-download dl dt, .modal-content .md-ocr-image-delete dl dt,
.modal-content .md-list-download dl dt {
  grid-column: 1;
  font-size: 1rem;
  font-weight: 700;
  text-align: right;
  padding: 0 0.8rem 0 0;
  word-break: break-all;
}
.modal-content .md-list-edit dl dt, .modal-content .md-group-invitation dl dt { 
  font-size: 0.8rem;
}
.modal-content .md-group-invitation dl dt {
  padding: 0;
}

.modal-content .md-add-bank dl dd, .modal-content .md-list-edit dl dd,
.modal-content .md-group-delete dl dd, .modal-content .group-name.md-bank-style .value, .modal-content .md-group-invitation dl dd,
.modal-content .md-group-edit dl dd, .modal-content .md-group-download dl dd, .modal-content .md-ocr-image-delete dl dd, .modal-content .md-list-download dl dd {
  grid-column: 2;
  width: 85%;
}

.modal-content .md-add-bank dl dd input[type="text"]:read-only, .modal-content .md-list-edit dl dd input[type="text"]:read-only,
.modal-content .md-group-delete dl dd input[type="text"]:read-only, .modal-content .group-name.md-bank-style .value,
.modal-content .md-group-invitation dl dd input[type="text"]:read-only, .modal-content .md-group-edit dl dd input[type="text"]:read-only,
.modal-content .md-group-download dl dd input[type="text"]:read-only, .modal-content .md-ocr-image-delete dl dd input[type="text"]:read-only,
.modal-content .md-list-download dl dd input[type="text"]:read-only {
  padding: 0 0.25rem 0.5rem;
  color: #333;
  font-weight: 500;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #ccc;
  width: 100%;
  font-size: 1.2rem;
  line-height: 1em;
  outline: none;
  background: transparent;
  box-sizing: border-box;
}
.modal-content .md-list-edit dl dd input[type="text"]:read-only {
  font-size: 1rem;
}
.modal-content .md-add-bank .notice p {
  margin: 0 auto;
  width: fit-content;
  max-width: 85%;
  font-size: 1rem;
  text-align: left;
  line-height: 1.8em;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 600px) {
  .modal-content .md-add-bank dl {
    grid-template-columns: 1fr;
    padding: 1rem 0.5rem;
  }
  .modal-content .md-add-bank dl dt,
  .modal-content .md-add-bank dl dd {
    grid-column: 1;
    text-align: left;
    padding: 0.2rem 0;
  }
  .modal-content .md-add-bank dl dd, .modal-content .md-list-edit dl dd {
    width: 100%;
  }
  .modal-content .md-add-bank .notice p {
    max-width: 100%;
  }
  .modal-content .md-list-edit dl {
    grid-template-columns: 4rem 1fr;
  }
  .modal-content .md-list-edit dl dd {
    width: 100%;
  }
  .modal-content .md-list-edit dl.account-name {
    width: 100% !important;
    margin: 0 !important;
  }
}

/*金融機関を追加モーダル　アイコン*/
.modal-content .md-select-bank.bank h2::before, .modal-content .md-add-bank.bank h2::before, .modal-content .md-method-bank.bank h2::before {
  content: "\e84f";
}
.modal-content .md-select-bank.card h2::before, .modal-content .md-add-bank.card h2::before, .modal-content .md-method-bank.card h2::before {
  content: "\e870";
}
.modal-content .md-select-bank.ev h2::before, .modal-content .md-add-bank.ev h2::before, .modal-content .md-method-bank.ev h2::before {
  content: "\f2a1";
}
.modal-content .md-select-bank.other h2::before, .modal-content .md-add-bank.other h2::before, .modal-content .md-method-bank.other h2::before,
.page_mydata .toggle:checked + .group dl.type-ecshop dt::before, .btn-ecshop::before {
  content: "\f720";
}

/*頭文字選択*/
.key-kana ol li input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.key-kana ol li input:checked + label {
  background-color: rgb(135, 160, 146);
}
.key-kana ol li input:focus + label {
  outline: 2px solid -webkit-focus-ring-color;
  outline-offset: 2px;
}

/*サービス連携 ボタン無効時のスタイル*/
.modal-content .md-user-joint dl dt button:disabled {
  pointer-events: none;
}

/*スマホサイズのときの認証コードサイズ*/
@media screen and (max-width: 600px) {
  .input_code input[type=text], .modal-content .md-user-2factor-mail dl dd input[type=text], .modal-content .md-login-code dl dd input[type=text] {
    padding: 0.5rem 0;
  }
}

.modal-content .md-user-2factor-mail p {
  word-break: normal;
  overflow-wrap: anywhere;
}

/* モーダルリスト: aタグからbuttonタグへの変更に伴うスタイル */
.modal-content .md-user-menu ul li button,
.modal-content .md-add-list ul li button,
.modal-content .md-new-csv-select ul li button,
.modal-content .md-group-menu ul li button,
.modal-content .md-list-option ul li button,
.modal-content .md-new-ocr-select ul li button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0.8rem 2.4rem 0.8rem 3.6rem;
  color: #000;
  text-align: left;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  font-size: 1.2rem;
}
.modal-content .md-user-menu ul li button:hover,
.modal-content .md-add-list ul li button:hover,
.modal-content .md-new-csv-select ul li button:hover,
.modal-content .md-group-menu ul li button:hover,
.modal-content .md-list-option ul li button:hover,
.modal-content .md-new-ocr-select ul li button:hover {
  background: rgba(234, 206, 84, 0.05);
}
.modal-content .md-user-menu ul li button::before,
.modal-content .md-user-menu ul li button::after,
.modal-content .md-add-list ul li button::before,
.modal-content .md-add-list ul li button::after,
.modal-content .md-new-csv-select ul li button::before,
.modal-content .md-new-csv-select ul li button::after,
.modal-content .md-group-menu ul li button::before,
.modal-content .md-group-menu ul li button::after,
.modal-content .md-list-option ul li button::before,
.modal-content .md-list-option ul li button::after,
.modal-content .md-new-ocr-select ul li button::before,
.modal-content .md-new-ocr-select ul li button::after {
  display: block;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  height: 1em;
  line-height: 1em;
  text-align: center;
  font-family: "Material Symbols Outlined";
}
.modal-content .md-user-menu ul li button::before,
.modal-content .md-add-list ul li button::before,
.modal-content .md-new-csv-select ul li button::before,
.modal-content .md-group-menu ul li button::before,
.modal-content .md-list-option ul li button::before,
.modal-content .md-new-ocr-select ul li button::before {
  left: 0;
  width: 3.6rem;
  font-size: 1.5em;
}
.modal-content .md-user-menu ul li button::after,
.modal-content .md-add-list ul li button::after,
.modal-content .md-new-csv-select ul li button::after,
.modal-content .md-group-menu ul li button::after,
.modal-content .md-list-option ul li button::after,
.modal-content .md-new-ocr-select ul li button::after {
  content: "\e5e1";
  right: 0;
  width: 2.4rem;
  transition: width 0.2s ease;
}
.modal-content .md-user-menu ul li button:hover::after,
.modal-content .md-add-list ul li button:hover::after,
.modal-content .md-new-csv-select ul li button:hover::after,
.modal-content .md-group-menu ul li button:hover::after,
.modal-content .md-list-option ul li button:hover::after,
.modal-content .md-new-ocr-select ul li button:hover::after {
  width: 2rem;
}
.modal-container button:focus,
.modal-container a:focus,
#react-root button:focus,
#react-root a:focus,
#react-root input:focus,
#react-root select:focus,
#react-root textarea:focus {
  outline: 2px solid -webkit-focus-ring-color;
  outline-offset: 2px;
}
.dropdown-group .dropdown__control--is-focused,
.dropdown-group:focus-within {
  outline: 2px solid -webkit-focus-ring-color;
  outline-offset: 2px;
}
/* ホーム画面 Web明細帳のフォーカス枠線（隣接要素に隠れないよう内側に描画） */
section.home_lists li .ctrl-list:focus {
  outline: none;
}
section.home_lists li:focus-within {
  outline: 2px solid -webkit-focus-ring-color;
  outline-offset: -2px;
  z-index: 1;
}
/* 明細ビュー: 閉じるボタン */
.list-detail .th-hidden button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* ホーム画面 errorおよびmaintenance時のスタイル */
section.home_lists li.error .ctrl-list, section.home_lists li.maintenance .ctrl-list {
  display: block;
  visibility: visible;
  height: 100%;
  width: calc(100% - 5.6rem);
}
section.home_lists li.maintenance .ctrl-list {
  width: 100%;
}
section.home_lists li.error .ctrl-list::after{
  display: none;
}

.modal-content nav button.btn-cancel {
  display: block;
  padding: 0 1.5em;
  color: #111;
  font-size: 1rem;
  font-weight: 500;
  line-height: 3rem;
  border: 1px solid #333;
  border-radius: 0.5em;
  opacity: 1;
  background: none;
}
.modal-content nav button.btn-cancel:hover {
  color: rgb(134, 173, 67);
  border: 1px solid rgb(134, 173, 67);
}

/*入力フォームのエラーメッセージ */
.text-box-error-message {
  margin: 0 auto;
  padding: 0.5rem 0;
}

/* Web明細帳名変更モーダル: 入力欄を縦並びに */
.modal-content .md-list-edit dl.account-name {
  grid-template-columns: 1fr;
  width: 90%;
  margin: 0 auto;
  gap: 0.5rem 0;
  padding: 2rem 0;
}
.modal-content .md-list-edit dl.account-name dt {
  grid-column: 1;
  text-align: left;
  padding: 0;
  font-size: 0.9rem;
}
.modal-content .md-list-edit dl.account-name dd {
  grid-column: 1;
  width: 90%;
}

/* 口座情報入力モーダル: md-user-service ベース */
.modal-content .md-account-info {
  grid-row: 2/4;
  padding: 1rem 1.6rem 2.4rem;
}

.modal-content .md-account-info dl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 0;
  padding: 1.6rem 0 0;
  width: 100%;
}

.modal-content .md-account-info dl dt {
  width: 8rem;
  padding: 0 0.8rem 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: right;
}

.modal-content .md-account-info dl dd {
  display: flex;
  align-items: center;
  width: calc(100% - 8rem);
  padding: 0 0.8rem 0 0;
}

@media screen and (max-width: 600px) {
  .modal-content .md-account-info dl dt,
  .modal-content .md-account-info dl dd {
    width: 100%;
    text-align: left;
  }
}

.modal-content .md-list-edit dl.account-name dd {
    width: 100%;
    text-align: left;
}

.list-detail .inner-list {
  height: calc(100vh - 5rem);
}
@media screen and (max-width: 760px) {
  .list-detail .inner-list {
    height: calc(100vh - 7rem);
  }
}
/* ワンタイムパスの画像認証(captcha)は返却画像サイズに関わらず一定サイズで中央表示する */
.one_time_pass__image_box {
    text-align: center;
}
.one_time_pass__image_box img {
    display: block;
    width: 240px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* 口座一覧画面 メッセージ表示用スタイル */
section.home_lists li.error dd::after {
  content: "接続に失敗しました";
}

section.home_lists li.maintenance dd::after {
  content: "メンテナンス中です";
}

/*グループ画面 画面縮小サイズ対応*/
.page_mydata section header h3 {
  height: auto;
  line-height: 1.5rem;
}

/* グループ名表示（構造問わずmd-add-bank風） */
.modal-content .group-name.md-bank-style {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.8rem 0.5rem;
  align-items: center;
  padding: 1.6rem 0;
  width: 95%;
  box-sizing: border-box;
}
.modal-content .group-name.md-bank-style.share-member-style {
  width: 90%;
}
.modal-content .group-name.md-bank-style .label {
  grid-column: 1;
  font-size: 1rem;
  font-weight: 700;
  text-align: right;
  padding: 0 0.8rem 0 0;
  word-break: break-all;
}
.modal-content .group-name.md-bank-style.share-member-style .label {
  font-size: 0.8rem;
  padding: 0;
}
@media screen and (max-width: 600px) {
  .modal-content .group-name.md-bank-style {
    grid-template-columns: 1fr;
    padding: 1rem 0.5rem;
  }
  .modal-content .group-name.md-bank-style .label {
    grid-column: 1;
    text-align: left;
    padding: 0.2rem 0;
    width: 100%;
  }
}

/* OCR画像サムネイルリスト（ImageViewer用） */
#thumbnails {
  height: 10rem;
  max-height: 10rem !important;
  min-height: 10rem !important;
  overflow-y: auto;
  margin: 0;
  box-sizing: border-box;
}