﻿body {
  min-width: 1200px;
  /* background-color: var(--mud-palette-primary-darken); */
}

@media(min-width: 600px) {
  .mud-container {
    padding-left: 48px;
    padding-right: 48px;
  }
}

/* 背景画像（各画面で共通、画面上部に背景画像を配置） */
.background-image {
    background-image: url('/img/background-image.png');
/*    background-size: auto; */
    background-size: 200px;
    background-position: right 0% top 0%;
    background-repeat: no-repeat;
}

.mud-dialog .mud-dialog-title {
  padding-top: 15px !important;
  padding-bottom: 5px;
}

.mud-dialog .mud-dialog-actions {
  margin-bottom: 5px;
}


/* CMudTableのスタイル設定（追加） */
.mud-table td, .mud-table th {
    border: solid 1px var(--mud-palette-table-lines);   /* テーブルの各セルに枠線 */
}

.mud-table thead th {               /* テーブルのヘッダ */
    background-color: #EFEFEF;      /* 背景色 */
    text-align: center;             /* 中央揃え */
}

.talbe-row-clickable .mud-table-row {
  cursor: pointer;
}

/* CMudTextField の ReadOnly スタイル設定（追加） */
.cmudtextfield-readonly {
/*    background-color: #EFEFEF; */     /* 背景色を変えると、ラベルの背景（および枠線）とのバランスが崩れるのでボツ */
    background: linear-gradient(to bottom, #FFFFFF, #EEEEEE);       /* 背景色（グラデーション） */
    color: #C0C0C0;                 /* フォント色 */
    cursor: not-allowed;            /* カーソル（入手不可） */
}

/* 流れるメッセージ（marquee風）のスタイル設定（追加） */
/* コンテナ */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    height: 44px;
    align-items: center;
    justify-content: center;
}

/* スクロールするテキスト */
.marquee-text {
    display: inline-block;
    white-space: nowrap;
    font-weight: bold;
    font-size: 18px;
    color: darkorange;
    animation: scroll-left 20s linear infinite;
    margin: 0;                      /* <p>タグ既定の余白をリセットしないと中央揃えが効かないので注意 */
}

/* アニメーション定義 */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}


.mud-button {
  text-transform: none !important;
}

.cmudfiled .mud-input.mud-input-underline:before {
  border-bottom: 0px solid var(--mud-palette-lines-inputs);
}

.cmudfiled .mud-input.mud-input-underline:hover:not(.mud-disabled):before {
  border-bottom: 0px solid var(--mud-palette-action-default);
}

.cmudfiled .mud-input-slot.mud-input-root.mud-input-root-text {
  font-weight: bold;
}

.table-input-outline input {
  border: solid 1px var(--mud-palette-lines-inputs) !important;
  border-radius: 3px;
}

.table-input-outline input:focus {
  border: solid 2px var(--mud-palette-primary) !important;
  border-radius: 3px;
}

.table-change-status-link {
  font-size: 0.8rem;
  padding-left: 5px;
}

.mud-button-root.cmudsearchselectbuttonnotselected {
  /* border: solid 1px var(--mud-palette-lines-inputs) !important; */
}

.mud-button-root.cmudsearchselectbuttonselected {
  /* background-color: #CEC9F5; */
  background-color: var(--mud-palette-primary-hover);
}

.mud-button-root.cmudsearchselectbuttonselected:hover {
  /* background-color: #CEC9F5; */
  background-color: var(--mud-palette-primary-hover);
}

.mud-button-root.cmudsearchselectbuttonselected span {
  font-weight: bold;
}

.mud-button-root.cmudsearchselectbuttonselected span {
  font-weight: bold;
}

.selected-state, .selected-state:hover {
  color: var(--mud-palette-primary);
  /*  background-color: #CEC9F5; */
  /* background-color: var(--mud-palette-info-hover); */
  background-color: var(--mud-palette-primary-hover);
  font-weight: bold;
}

.seach-dete-field {
  width: 160px;
}

.seach-price-field {
  width: 160px;
}

.seach-client-field {
  width: 250px;
}

.seach-person-field {
  width: 250px;
}

select.search-muti-select {
  /*  border: solid 1px var(--mud-palette-lines-inputs); */
  border: 1px solid var(--mud-palette-text-primary);
  border-radius: 5px;
  min-width: 200px;
}

select.search-muti-select option {
  color: var(--mud-palette-primary);
  padding:2px;
}

select.search-muti-select option:checked {
  background-color: var(--mud-palette-primary);
  color: var(--mud-palette-primary-text);
}
  /*
  select.search-muti-select option:hover {
    background-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
  }

  select.search-muti-select option:active {
    background-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
  }
*/

select.search-muti-select:focus {
  outline: solid 1.5px var(--mud-palette-primary);
}


div.authform-message {
  width: 700px;
  margin-left: auto;
  margin-right: auto
}

div.authform-input {
  width: 500px;
  margin-left: auto;
  margin-right: auto
}

.max-user-info {
  text-align: right;
  margin-bottom: 5px;
}

.app-bar-menu-text span {
  color: var(--mud-palette-appbar-text);
}

.apply-other-files {
  width: 230px;
  margin-left: auto;
  margin-right: auto;
}

.dashboard-card-head {
  width: 100%;
  border-bottom: solid 1px var(--mud-palette-lines-inputs);
}

.dashboard-card-row {
  width: 100%;
  border-bottom: solid 1px var(--mud-palette-lines-default);
}

aside.application-nav-menu {
/*  background-color: rgba(81, 50, 143, 1.0); */
/*  background-color: #2f4f4f; */
    background-color: var(--mud-palette-primary);
}

aside.application-nav-menu div.mud-nav-link-text{
  color:#fff;
}

.mud-nav-link:not(.mud-nav-link-disabled) .mud-nav-link-icon.mud-nav-link-icon-default {
    color: #fff;
}

aside.application-nav-menu a.mud-nav-link.active {
  background-color: var(--mud-palette-background) !important;
  color: var(--mud-palette-text-primary);
}


aside.application-nav-menu a.mud-nav-link.active div.mud-nav-link-text {
  color: rgba(81, 50, 143, 1.0);
  font-weight: bold;
}

.mud-nav-link:not(.mud-nav-link-disabled).active .mud-nav-link-icon.mud-nav-link-icon-default {
  color: rgba(81, 50, 143, 1.0);
}


aside.application-nav-menu button svg {
  fill: rgb(255, 255, 255) !important;
}

.error-page-frame {
  text-align: center;
  margin-top: 100px;
}

.error-page-frame-inner {
  width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pdf-preview-box {
  box-shadow: var(--mud-elevation-5);
  width: 100%;
  height: auto;
}

.pdf-preview-box-page {
  margin-top: 10px;
  text-align: center;
}

.pdf-preview-box-delim {
  margin-bottom:10px;
  font-size:1px;
}

div.annotation{
  color:#3713ed;
}

.note-field-break .mud-input-slot.mud-input-root.mud-input-root-text {
  word-wrap: break-word;
  word-break: break-all;
  overflow-wrap: break-word;
}


.comment-field-break {
  word-wrap: break-word;
  word-break: break-all;
  overflow-wrap: break-word;
}

.header-information {
  display: inline-block;
  padding: 3px;
  padding-left: 7px;
  padding-right: 7px;
  border-radius: 3px;
  color: #E80000;
  font-weight: bold;
  border: solid 2px #E80000;
}

.view-lebel1 {
  display: inline;
}
.view-lebel2 {
  display:none;
}
.view-lebel3 {
  display: none;
}
.view-lebel4 {
  display: none;
}

@media screen and (min-width:1400px) {
  .view-lebel1 {
    display: none;
  }

  .view-lebel2 {
    display: inline;
  }

  .view-lebel3 {
    display: none;
  }

  .view-lebel4 {
    display: none;
  }
}

@media screen and (min-width:1980px) {
  .view-lebel1 {
    display: none;
  }

  .view-lebel2 {
    display: none;
  }

  .view-lebel3 {
    display: inline;
  }

  .view-lebel4 {
    display: none;
  }
}

@media screen and (min-width:2100px) {
  .view-lebel1 {
    display: none;
  }

  .view-lebel2 {
    display: nonw;
  }

  .view-lebel3 {
    display: none;
  }

  .view-lebel4 {
    display: inline;
  }
}

/* 以下、不使用 */
/* ※「z-index: calc(var(--mud-zindex-popover) + 2);」は警告が出るので注意！！ */
/*
#ledgerTableXXX thead, #logTableXXX thead {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 48px;
  z-index: calc(var(--mud-zindex-popover) + 2);
  background-color: #fff;
}

#ledgerTableXXX thead th, #logTableXXX thead th {
    padding-left: 6px !important;
    padding-right: 0px !important;
    background-color: rgba( 81, 50, 143, 0.20);
}

#ledgerTableXXX thead th:first-child, #logTableXXX thead th:first-child {
  padding-left: 12px !important;
}


#ledgerTableXXX thead th span, #logTableXXX thead th span {
    color: #000 !important;
  }

#ledgerTableXXX tbody td, #logTableXXX tbody td {
  padding-left: 6px !important;
  padding-right: 0px !important;
}

#ledgerTableXXX tbody td:first-child, #logTableXXX tbody td:first-child {
  padding-left: 12px !important;
}

#ledgerTableXXX .mud-table-container, #logTableXXX .mud-table-container {
  overflow-y: unset;
}
*/

/* 意図しない不要な縦スクロールを表示防止する設定 */
#releaseFileTableXXX .mud-table-container {
  overflow: visible !important;
  overflow-y: unset;
}

.seach-line {
  display: inline-block;
  float: left;
  margin-right: 20px;
}


.datepicker-container.datepicker-dropdown.datepicker-top-left {
  padding: 10px;
  border-radius: 5px;
  border-top-color: #51328F;
}



.datepicker-top-left::before,
.datepicker-top-right::before {
  border-bottom-color: #51328F !important;
}

.datepicker-bottom-left,
.datepicker-bottom-right {
  border-bottom-color: #51328F !important;
}


.datepicker-bottom-left::before,
.datepicker-bottom-right::before {
  border-top-color: #51328F !important;
}

/*
.datepicker-panel > ul > li.picked,
.datepicker-panel > ul > li.picked:hover {
  color: #51328F !important;
  font-weight:bold;
}
*/

/* MudOverlay用カスタムクラス（検索中のウェイト表示） */
.mud-overlay-blur {
    background-color: rgba(0, 0, 0, 0.2);		/* 半透明グレーで覆う */
    backdrop-filter: blur(1px);					/* 背景をぼかす */
    z-index: 10000;								/* 前面に出す */
}

.mud-overlay-blur .mud-overlay-content {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ***** スタイル変更依頼 from 電算・小布施様 in 2025/02/06 ***** */
/* ヘッダーの左のエリアの文字とアイコン色と背景色 */
header.mud-appbar {
    background-color: #fff;
    color: var(--mud-palette-primary);
}

/* ヘッダーの右のエリアの文字色 */
header span.mud-button-label {
    color: var(--mud-palette-primary);
}

/* ヘッダーの右のエリアのアイコンの位置を微調整 */
header span.mud-button-label .mud-button-icon-size-medium {
    margin-bottom: 3px;
}

/* ヘッダーの右のエリアのアイコン色 */
header .mud-menu .mud-icon-root.mud-svg-icon {
    fill: var(--mud-palette-primary);
}

/* ヘッダーのサイトタイトル */
strong[b-7q1kxglzcp] {
    font-weight: 400 !important;
}

/* ヘッダーのロゴ */
img[b-7q1kxglzcp] {
    width: 33px !important;
    height: 33px !important;
    margin-right: 13px !important;
    margin-left: 30px;
}

/* ヘッダーのロゴとサイトタイトルを縦方向にセンタリング */
div[b-7q1kxglzcp] {
    display: flex !important;
    align-items: center !important;
}

/* MudCardHeaderの見出し */
.mud-card-header {
    color: var(--mud-palette-appbar-text);
    background-color: var(--mud-palette-primary);
    margin-bottom: 16px;
    padding: 8px 16px 6px 16px;
}

.mud-card-header-content strong {
    font-weight: 400;
}

/* サイドメニューのリンク項目 */
.mud-nav-link {
    align-items: center !important;
    padding: 10px 16px 8px 16px;
}

/* サイドメニューのリンク項目のマウスホバー時 */
.mud-nav-link:hover:not(.mud-nav-link-disabled) {
    background-color: #ffffff30;
}

/* サイドメニューのリンク項目のアクティブ時のテキスト */
aside.application-nav-menu a.mud-nav-link.active div.mud-nav-link-text {
    color: var(--mud-palette-primary);
    font-weight: normal;
}

/* サイドメニューのリンク項目のアクティブ時のSVG */
.mud-nav-link:not(.mud-nav-link-disabled).active .mud-nav-link-icon.mud-nav-link-icon-default {
    color: var(--mud-palette-primary);
}

/* テーブルの見出し(thの部分) */
.dashboard-card-head {
    font-weight: bold;
    font-size: 13px;
    color: var(--mud-palette-primary);
}

/* テーブル関係 */
.mud-table thead th {
    background-color: var(--mud-palette-primary);
    color: #fff !important;
    padding: 8px 16px;
}

.mud-table-sort-label:hover {
    color: #ffffffab !important;
}

.mud-table-cell {
    padding: 10px 16px;
}

/* 新規登録などのフォームの注意書き部分 */
div.annotation {
    color: var(--mud-palette-primary);
    max-width: 500px;
    padding: 5px 10px 12px 10px;
}

/* 検索フィールドと検索ボタンの距離を離す */
[b-cmbj8enut0]:has(>form) {
    margin-bottom: 16px;
}

/* 検索窓に余白をもたせる */
.search-field-xxx {
    padding: 24px !important;
}

/* ページタイトル */
[b-30fg84cfiz] {
    font-weight: normal !important;
    font-size: 20px;
    margin-top: 26px;
    margin-bottom: 16px;
    color: var(--mud-palette-primary);
}

/* ページコンテンツ幅に余白をもたせる */
@media (min-width: 600px) {
    .mud-container {
        padding-left: 80px;
        padding-right: 80px;
    }
}

/*アイコンの位置調整　詳細はデザイナーに確認中*/
