html {
  font-size: 62.5%;
  touch-action:manipulation;
  overflow-x: hidden;
}

body {
  padding: 3rem;
  touch-action:manipulation;
  overflow-x: hidden;
}

.titleParent{
  padding: 1rem;
  text-align: center;
}
/* kintnoneのラベルはhtmlタグ形式のデータで取得されるのでスタイルを崩さないよう除外*/
body:not([class="kintoneLabel"]) {
  font-size: 1.8rem;
  line-height: 1;
}

.u-center {
  text-align: center;
}

.s-formlist__checklist label {
  display: inline-block;
  border: none;
  padding: 0;
}
@media only screen and (min-width: 1080px) {
  .s-formlist__checklist {
    display: block;
  }
  .s-formlist__checklist label {
    display: inline-block;
    border: none;
    padding: 0;
  }
}

@media only screen and (min-width: 1080px) {
  .s-formlist__radiolist {
    display: block;
  }
}

input, select, textarea, .fileArea{
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 30%;
  max-width: 30%;
  color: inherit;
  font-family: inherit;
  font-size: 1.6rem;
  line-height: 1.6;
  border-radius: 6px;
  border: 1px solid #CED1D2;
  background: #F9FAFA;
  outline: none;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}

@media only screen and (max-width: 448px) {
  input, select, textarea, .parent-unit, .fileArea{
    width: 100%;
    max-width: 100%;
  }
}
@media only screen and (max-width: 448px) {
  .parent-unit{
    width: 100% !important;
    max-width: 100% !important;
  }
}

textarea {
  padding: 1rem 1.2rem;
  width: 100%;
  height: 10em;
}

input[type="text"].is-error, input[type="number"].is-error, input[type="tel"].is-error, input[type="email"].is-error, input[type="password"].is-error, select.is-error, textarea.is-error {
  border: 1px solid #F58271;
  background: #FEF2F0;
}

select {
  padding: 1rem 3.6rem 1rem 1.2rem;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2225.532%22%20height%3D%2214%22%20viewBox%3D%220%200%2025.532%2014%22%3E%3Cpath%20d%3D%22M82.249%2C82.431l.875.851%2C12.25-11.915h0l.875-.851-.875-.851h0L83.124%2C57.75l-.875.851L94.5%2C70.516Z%22%20transform%3D%22translate(83.282%20-82.249)%20rotate(90)%22%20fill%3D%22%23999%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 8px) center;
  background-size: 14px 8px;
}

select::-ms-expand {
  display: none;
}

input::-ms-clear {
  visibility: hidden;
}

:-ms-input-placeholder {
  color: #6B7173;
}

::-webkit-input-placeholder {
  color: #6B7173;
}

/* チェックボックスとラジオボタンはIEだと色などがCSS適用できないため透明にして見えないようにする */
input[type="checkbox"], input[type="radio"] {
  opacity: 0;

}

/* ラベルとチェックボックスを関連付けるため */
.label-checkbox label {
  cursor: pointer;
}

/* 疑似チェックボックス設定 */
.c-checkbox {
  display: inline-flex;
  align-items: center;
  text-align: left;
  line-height: 1.2;
  margin-right: 20px;
  cursor: pointer;
  font-size: 1.6rem;
}
.c-checkbox:before {
  content: "";
  display: inline-block;
  margin-right: .6rem;
  border: 1px solid #CED1D2;
  border-radius: 3px;
  background: #F9FAFA;
  width: 22px;
  height: 22px;
  flex: 1 0 auto;
}

:checked + .c-checkbox {
  position: relative;
}
:checked + .c-checkbox:before {
  border: 1px solid #2b8031;
  background: #2b8031;
}
:checked + .c-checkbox:after {
  content: "";
  display: inline-block;
  width: 17px;
  height: 17px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20enable-background%3D%22new%200%200%2024%2016%22%20viewBox%3D%220%200%2024%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20clip-rule%3D%22evenodd%22%20d%3D%22m24%202.8-14.1%2013.2-9.9-9.3%202.6-2.8%207.2%206.8%2011.5-10.7z%22%20fill%3D%22%23fff%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: 3px;
  top: 0;
  bottom: 0;
  margin: auto;
}

/* ------------------------------- */

/* ラジオボタン設定 */
.c-radio {
  display: inline-flex;
  align-items: center;
  text-align: left;
  line-height: 1.2;
  margin-right: 1rem;
  cursor: pointer;
  text-align:left;

}
.c-radio:before {
  content: "";
  display: block;
  text-align:left;

  margin-right: .6rem;
  border: 1px solid #CED1D2;
  border-radius: 50%;
  background: #F9FAFA;
  width: 22px;
  height: 22px;
  flex: 1 0 auto;
}

:checked + .c-radio {
  position: relative;
  text-align: left;

}
:checked + .c-radio:after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2b8031;
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  margin: auto;
  text-align:left;

}
/* ------------------------------- */




.inputParent{
  margin-top: 0%;
  margin-bottom: 1.6rem; 
}

.input-number{
  text-align : right
}

.formBox{
  word-break : break-word;
  margin-bottom: 1rem
}

.submitButton{
  height: 4rem;
  width: 11rem;
  font-size: large;
  margin-top: 1.6rem; 
  margin-bottom: 1.6rem; 
}

.descriptionLabel{
  font-weight: bold;
  margin-bottom: 0%;
  line-height: 2.2rem;
}
.requireLabel{
  margin-bottom: 0.5rem;
}

.unit-before{
  font-weight: bold;
  margin: 0%;
  padding-right: 2%;
  font-family: "メイリオ','Hiragino Kaku Gothic ProN',Meiryo,sans-serif";
}
.unit-after{
  font-weight: bold;
  margin: 0%;
  padding-left: 2%;
  font-family: "メイリオ','Hiragino Kaku Gothic ProN',Meiryo,sans-serif";
}
.parent-unit{
  width: 30%;
  display: flex;
  align-items: center;
}
.child-unit{
  width: 100%;
  width: -moz-available;
  width: -webkit-fill-available;
  width: fill-available;
  max-width: 100%;
}

/* ファイル入力設定 */
.formFile{
  margin-bottom: 30px;
 }
 .formFile input[type="file"]{
   display: none;
 }
 .info{
   display: inline-block;
   margin-right: 20px;
 }
  
 .formFile label{
   border: 1px solid #bbb;
   border-radius: 3px;
   padding: 2px 5px;
   /* font-size: 12px; */
   letter-spacing: 0;
   cursor: pointer;
 }
  
 .formFileName{
   display: inline-block;
   /* font-size: 12px; */
   margin-top: 10px;
   margin-bottom: 5px;
   margin-left: 5px;
   text-align: left;
 }
 
  .formParent{
    background-color: white;
    padding-top: 3rem;
  }

 /* ------------------------------- */


 .error-message {
  font-size: 1.5rem;
  color: #ff0000;
  margin-top: 8px;
} 



/* ----------------------ボタン成功の色設定開始開始-------------------------- */

/* 通常のボタン色 */
.btn-success,
.btn-success.disabled, .btn-success:disabled {
  color: #fff;
  background-color: #2b8031;
  border-color: #2b8031;
}

/* focus(タップ、タップされた後)された時の枠線の色 */
.btn-success:focus, .btn-success.focus,
.btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus,
.show > .btn-success.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem #2b8031;
}

/* hover時（タップした後、違う要素がタップされるまで）の色（通常より濃いor暗めの色を指定）*/
.btn-success:hover {
  color: #fff;
  background-color: #009245;
  border-color: #009245;
}

/* active(タップ中のみ)時の色（hover時と同等かさらに濃いor暗めの色を指定） */
.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active,
.show > .btn-success.dropdown-toggle {
  color: #fff;
  background-color: #2ba564;
  border-color: #009245;
}


.border-success{
  border-color: #2ba564 !important;
}

/* 要素の右側に追加するボタン */
.button-style {
  display: inline-block; /* テキストを横に並べるための設定 */
  background-color: #388E3C; /* 暗めの緑色に変更 */
  color: white; /* テキストの色は白のまま */
  padding: 6px 10px; /* パディングを調整 */
  font-size: 14px; /* フォントサイズ */
  border: none; /* ボーダーなし */
  border-radius: 5px; /* 角丸 */
  cursor: pointer; /* ホバー時のカーソル */
  text-align: center; /* テキストを中央揃え */
  line-height: 1.5; /* 行の高さを1.5に設定 */
  vertical-align: middle; /* 垂直方向の中央揃え */
  margin-left: -10px; /* 左側に余白を設定 */
  margin-right: 10px; /* 左側に余白を設定 */
  }

.postalStyle {
  vertical-align: top; /* コンテンツを上に揃える */
  text-align: left; /* コンテンツを左に揃える */
}

/* ----------------------ボタンの色設定終了-------------------------- */

/* ----------------------ファイル参照ボタンの色設定開始開始-------------------------- */

/* 通常のボタン色 */
.btn-primary,
.btn-primary.disabled, .btn-primary:disabled {
  color: #fff;
  background-color: #0080ff;
  border-color: #0080ff;
}

/* focus(タップ、タップされた後)された時の枠線の色 */
.btn-primary:focus, .btn-primary.focus,
.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem #0080ff;
}

/* hover時（タップした後、違う要素がタップされるまで）の色（通常より濃いor暗めの色を指定）*/
.btn-primary:hover {
  color: #fff;
  background-color: #0080ff;
  border-color: #6495ed;
}

/* active(タップ中のみ)時の色（hover時と同等かさらに濃いor暗めの色を指定） */
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #0080ff;
  border-color: #6495ed;
}


.border-primary{
  border-color: #0080ff !important;
}

/* ----------------------ボタンの色設定終了-------------------------- */


/* 世代focus 
    影なのでベースより少し濃い目の色に*/
.form-control:focus {
  box-shadow: 0 0 4px #009245;
} 


.container{
  background-color: white;
}

.title{
  font-size: x-large;
}


.body{
  background-color: #dcdcdc;
  overflow-x: hidden;
}

.confirmBody{
  background-color: #F0E0FD; 
}

.confirmWrap{
  overflow: hidden;
}

.label-checkbox {
  position: relative;
  display: block;
  border: 1px solid #000;
  max-width: 100%;

}

.input-checkbox-required {
  position:absolute;
}
.input-checkbox {
  position:absolute;
}

.label-radio {
  position: relative;
  max-width: 100%;
}

.input-radio {
  position: absolute;
}



.result-img{
  text-align: center;
  padding-left: 20%;
  padding-right: 20%;
}

.result-textMain{
  font-size: xx-large;
  margin-bottom: 2rem;
  margin-top: 1rem;
  word-break: break-all;
}

.result-textSub{
  font-size: x-large;
  margin-top: 3rem;
}

.result-optionTextMain{
  font-size: large;
  margin-bottom: 2rem;
  margin-top: 1rem;
  text-align: left;
  padding-left: 20%;
  padding-right: 20%;
  word-break: break-all;
  line-height: 1.3;
}

.result-displayZone{
  margin-left:auto ;
  margin-right:auto;
  max-width: 50%;
}
@media only screen and (max-width: 448px) {
  .result-optionTextMain{
    font-size:large;
    margin-bottom: 2rem;
    margin-top: 1rem;
    text-align: left;
    padding-left: 5%;
    padding-right: 5%;
    line-height: 1.3;
  }

  .result-displayZone{
    margin-left:0 ;
    margin-right:0;
    max-width: 100%;
  }

 .result-textSub{
    font-size: large;
    margin-top: 3rem;
}

}



.result-displayButton{
  margin-top: 2rem;
  padding:1rem;
  font-size: large;
}

.fileBtn{
  margin-top: 0px;
  margin-bottom: 5px;
  margin-left: 5px;
  height: 3rem;
  width: 6.5rem;
  font-size: 1.6rem;
}

@media only screen and (max-width: 448px) {
  .fileBtn{
      height: 3.0rem;
      width: 6.5rem;
      font-size: 1.5rem;
  }
}

.uploadProgress{
  margin-left: 5px;
  margin-bottom: 5px;
  width: 14rem
}

.kintoneHr {
  display:block;
  width: 30%;
  height: 1px;
  border: 0;
  border-top: 1.5px dashed #888888;
  text-align:left;
  margin-left: 5px;
  max-width: 100%;
}

@media only screen and (max-width: 448px) {
  .kintoneHr {
    display:block;
    width: 98%;
    height: 1px;
    border: 0;
    border-top: 1.5px dashed #888888;
    text-align:left;
    margin-left: 5px;
    max-width: 100%;
  }
}

.datetime-date{
  max-width: 100%;
  width: 45%;
  margin-right: 10%;
}


.datetime-time{
  max-width: 100%;
  width: 45%;
}

.form-datetime{
  display:flex;  
  justify-content: space-between; 
  width:30%;
}

@media only screen and (max-width: 448px) {
  .form-datetime{
    display:flex;  
    justify-content: space-between; 
    width:100%;
  }
}

.result-container{
  background-color: white;
  text-align: center;
  padding-bottom: 2rem;
}

.idpassportcheck-maintext{
	text-align: left;
	white-space: break-spaces;
}

.idpassportconfirm-subtext{
	text-align: left;
	white-space: break-spaces;
}

.modal-header,
.modal-footer {
  border: none; /* ヘッダーとフッターのボーダーを削除 */
}
.modal-body {
  border-top: none; /* ボディの上部のボーダーを削除 */
  border-bottom: none; /* ボディの下部のボーダーを削除 */
  text-align: center; /* 中央揃えにする */

}
.modal-header .modal-title{
    display: block; /* ブロックレベル要素として扱う */
    margin-left: auto; /* 左のマージンを自動に設定 */
    margin-right: auto; /* 右のマージンを自動に設定 */
    text-align: center; /* 中央揃えにする */
}
.modal-footer .btn {
    display: block; /* ブロックレベル要素として扱う */
    margin-left: auto; /* 左のマージンを自動に設定 */
    margin-right: auto; /* 右のマージンを自動に設定 */
    font-size:18px;
}

.historyDetail-table-bordered {
    border: 1px solid #000;
    /* テーブル全体の線を太くする */
}

.historyDetail-table-bordered th,
.historyDetail-table-bordered td {
    border: 1px solid #000;
    /* セルの線を太くする */
    word-break: break-all;      /* 長い単語やURLも折り返す */
    white-space: normal;        /* 自動で折り返し表示 */
}
.historyDetail-mgtData-header {
    width: calc(1em * 5 + 1rem); /* 4文字 + 余白 */
    white-space: nowrap;
}


.historyList-card-header-costom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Bootstrapモーダルの幅だけを銀行検索用に広げる。 */
.bank-search-modal__dialog {
    max-width: 720px;
}

/* 画面からはみ出す場合は本文をスクロールさせる。 */
.bank-search-modal .modal-content {
    max-height: calc(100vh - 24px);
    overflow: hidden;
}

.bank-search-modal__header,
.bank-search-modal__footer {
    padding: 16px 20px;
    background: #f8fafc;
}

.bank-search-modal__header {
    align-items: center;
}

.bank-search-modal__close-button {
    font-size: 14px;
    line-height: 1.4;
    padding: 6px 10px;
}

.bank-search-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.bank-search-modal__title {
    margin: 0;
    color: #1f2937;
    font-size: 20px;
    font-weight: 700;
}

.bank-search-modal__body {
    padding: 20px;
    overflow-y: auto;
    display: grid;
    gap: 16px;
    background: #ffffff;
}

.bank-search-modal__section {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid #d8dee6;
    border-radius: 10px;
    background: #fbfdff;
}

.bank-search-modal__section-title {
    margin: 0;
    color: #1f2937;
    font-size: 18px;
    font-weight: 700;
}

.bank-search-modal__field {
    width: 100%;
    margin: 0;
    display: grid;
    gap: 8px;
}

.bank-search-modal__label {
    color: #334155;
    font-size: 16px;
    font-weight: 600;
}

.bank-search-modal__search-row {
    width: 100%;
    min-width: 0;
    display: grid;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.bank-search-modal__input {
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    font-size: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #1f2937;
}

.bank-search-modal__input:disabled {
    background: #e9ecef;
    color: #6b7280;
    cursor: not-allowed;
}

.bank-search-modal__search-button {
    min-width: 88px;
    margin: 0;
    max-width: none;
    white-space: nowrap;
}

.bank-search-modal__message {
    min-height: 20px;
    color: #475569;
    font-size: 15px;
}

.bank-search-modal__message.is-error {
    color: #b91c1c;
}

.bank-search-modal__results {
    min-height: 3rem;
    max-height: 220px;
    overflow-y: auto;
    display: grid;
    gap: 8px;
    padding: 4px;
    border: 1px solid #d8dee6;
    border-radius: 8px;
    background: #ffffff;
}

.bank-search-modal__results:empty::before {
    content: "";
}

/* 検索前は空の結果枠を見せず、スマホで横バーが増えすぎないようにする。 */
.bank-search-modal__results:empty {
    min-height: 0;
    padding: 0;
    border: 0;
}

.bank-search-modal__result {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #d8dee6;
    border-radius: 8px;
    background: #ffffff;
    color: #1f2937;
    text-align: left;
    cursor: pointer;
}

.bank-search-modal__result:hover {
    border-color: #90b7e8;
    background: #f6fbff;
}

.bank-search-modal__result.is-selected {
    border-color: #2b6cb0;
    background: #e8f2ff;
    box-shadow: inset 0 0 0 1px #2b6cb0;
}

.bank-search-modal__result-main {
    font-size: 16px;
    min-width: 0;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bank-search-modal__result-code {
    color: #475569;
    font-family: Consolas, Monaco, monospace;
    font-size: 14px;
}

.bank-search-modal__selection {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #eef6ff;
}

.bank-search-modal__selection-label {
    color: #1d4f91;
    font-size: 14px;
    font-weight: 700;
}

.bank-search-modal__selection-value {
    min-height: 22px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
}

.bank-search-modal__footer .btn {
    min-width: 120px;
    font-size: 16px;
}

#bankSearchApplyButton:disabled,
#branchSearchButton:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* 長い銀行名や小さい画面でも、グリッド要素が親幅を押し広げないようにする。 */
.bank-search-modal__body,
.bank-search-modal__section,
.bank-search-modal__field,
.bank-search-modal__results,
.bank-search-modal__selection {
    min-width: 0;
    box-sizing: border-box;
}

/* スマホでは余白と枠線の主張を抑え、検索操作を縦に並べて押しやすくする。 */
@media (max-width: 767px) {
    .bank-search-modal__dialog {
        width: calc(100% - 16px);
        margin: 8px auto;
    }

    .bank-search-modal .modal-content {
        max-height: calc(100vh - 16px);
    }

    .bank-search-modal__body {
        padding: 14px;
        gap: 12px;
    }

    .bank-search-modal__section {
        gap: 8px;
        padding: 12px;
        border-color: #e6ebf1;
        border-radius: 8px;
        background: #ffffff;
    }

    .bank-search-modal__input {
        font-size: 16px;
    }

    .bank-search-modal__search-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .bank-search-modal__search-button {
        width: 100%;
        min-width: 0;
        display: block;
    }

    .bank-search-modal__selection {
        padding: 8px 10px;
        border: 1px solid #e6edf6;
        background: #f7fbff;
    }

    .bank-search-modal__footer {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
        padding: 12px 14px;
    }

    .bank-search-modal__footer .btn {
        width: 100%;
        min-width: 0;
        padding: 8px 6px;
        font-size: 15px;
    }

    .bank-search-modal__footer .mr-auto {
        margin-right: 0 !important;
    }
}
