﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* 2021/03/29 Murakami 追記分 ここから
-------------------------------------------------- */

/* デフォルトで生成されたクラスも使用する */
/* 新規に作成する場合は元のクラスをコピペ・加筆して使用する */
/* 単体で動作しない(他のクラスと併用することが前提の)クラスを作らない */

/* DIV：フォームの見出し */
.formtitle {
    display: inline-block;
    /*    width: 100%;*/
    min-width: 250px;
    color: #FFFFFF;
    background-color: #0366d6;
    font-size: x-large;
    font-weight: bold;
    padding-top: 4px; /* 上下余白を設定して高さをとる */
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
    text-align: center;
    white-space: nowrap;
}

/* TD：ラベル（共通）*/
.label, .label-nowrap {
    width: 140px;
    background-color: #D7EEFF;
    padding-left: 10px;
    padding-right: 10px;
}

/* TD：ラベル（改行なし）*/
.label-nowrap {
    white-space: nowrap;
}

/* TD：テキストボックス（共通）*/
.content1, .content2 {
    padding-top: 6px; /*上下余白を設定して高さをとる */
    padding-bottom: 6px;
    padding-left: 6px;
    padding-right: 6px;
}

/* TD：複数要素を横並べで表示 */
.content2 {
    display: flex;
    justify-content: center;
    align-items: center;
    border-style: none;
}

/* TD：空行（共通）*/
.rowblank {
    height: 5px;
}

/* TD：コントロール配置行（共通）*/
.leftbutton, .rightbutton {
    padding: 10px 0px; /* 上下余白を設定して高さをとる */
    white-space: nowrap;
}

/* TD：右側のボタン */
.rightbutton {
    text-align: right;
}

/* ボタン（共通）*/
/* btnクラスがデフォルトで存在するため引用 */
.beatbtn {
    display: inline-block;
    font-weight: 400;
    /*color: #212529;*/
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /*background-color: transparent;*/
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    /* 以下加筆 */
    min-width: 100px;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.beatbtn:hover {
    /*color: #212529;*/
    text-decoration: none;
    /* 以下加筆 */
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.beatbtn:focus, .btn.focus {
    outline: 0;
    /*box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);*/
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.beatbtn.disabled, .beatbtn:disabled, .btn:disabled {
    opacity: 0.65;
    color: #007bff; /* #fff; */
    background-color: #ffffff; /* #007bff; */
    border-color: #007bff; /* #007bff; */
}

a.beatbtn.disabled,
fieldset:disabled a.beatbtn {
    pointer-events: none;
}

.beatbtn:not(:disabled):not(.disabled):active, .beatbtn:not(:disabled):not(.disabled).active,
.show > .beatbtn.dropdown-toggle {
    color: #fff;
    background-color: #0062cc;
    border-color: #005cbf;
}

.beatbtn:not(:disabled):not(.disabled):active:focus, .beatbtn:not(:disabled):not(.disabled).active:focus,
.show > .beatbtn.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

/* ボタン 赤 */
.beatbtn-red {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.beatbtn-red:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}

.beatbtn-red:focus, .beatbtn-red.focus {
    box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
}

.beatbtn-red:disabled, .beatbtn-red.disabled  {
    color: #dc3545;
    background-color: #ffffff;
    border-color: #dc3545;
}

.beatbtn-red:not(:disabled):not(.disabled):active, .beatbtn-red:not(:disabled):not(.disabled).active,
.show > .beatbtn-red.dropdown-toggle {
    color: #fff;
    background-color: #bd2130;
    border-color: #b21f2d;
}

.beatbtn-red:not(:disabled):not(.disabled):active:focus, .beatbtn-red:not(:disabled):not(.disabled).active:focus,
.show > .beatbtn-red.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
}

/* ボタン 緑 */
.beatbtn-gln {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.beatbtn-gln:hover {
    color: #fff;
    background-color: #138496;
    border-color: #117a8b;
}

.beatbtn-gln:focus, .beatbtn-gln.focus {
    box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
}

.beatbtn-gln.disabled, .beatbtn-gln:disabled {
    color: #17a2b8;
    background-color: #ffffff;
    border-color: #17a2b8;
}

.beatbtn-gln:not(:disabled):not(.disabled):active, .beatbtn-gln:not(:disabled):not(.disabled).active,
.show > .beatbtn-gln.dropdown-toggle {
    color: #fff;
    background-color: #117a8b;
    border-color: #10707f;
}

.beatbtn-gln:not(:disabled):not(.disabled):active:focus, .beatbtn-gln:not(:disabled):not(.disabled).active:focus,
.show > .beatbtn-gln.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
}

/* フリガナ検索ボタン */
/* btnクラスがら引用 */
.kanaBtn {
    display: inline-block;
    font-weight: 400;
    /*color: #212529;*/
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /*background-color: transparent;*/
    border: 1px solid;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    /* 以下加筆 */
    width: 50px;
}

.kanaBtn.active {
    background-color: darkgrey;
}

/* リストボックス */
.beat-listbox {
    width: 100%;
    height: 125px;
    vertical-align: middle;
}

/* 以下、fukaura追加分
-------------------------------------------------- */

/* スマホ用上部メニュー */
/* 画面の横幅が575.98px以下の場合のみ */
/* bootstrap.cssから引用 */
@media (max-width: 575.98px) {
    .navbar-expand-sm {
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

        .navbar-expand-sm .navbar-nav {
            -ms-flex-direction: row;
            flex-direction: row;
        }

            .navbar-expand-sm .navbar-nav .dropdown-menu {
                position: absolute;
            }

            .navbar-expand-sm .navbar-nav .nav-link {
                padding-right: 0.5rem;
                padding-left: 0.5rem;
            }

        .navbar-expand-sm > .container,
        .navbar-expand-sm > .container-fluid {
            -ms-flex-wrap: nowrap;
            flex-wrap: nowrap;
        }

        .navbar-expand-sm .navbar-collapse {
            display: -ms-flexbox !important;
            display: flex !important;
            -ms-flex-preferred-size: auto;
            flex-basis: auto;
        }

        .navbar-expand-sm .navbar-toggler {
            display: none;
        }
}

/* 既存のプロパティを上書き */
/* DIV：フォームの見出し */
.formtitle {
    display: inline-block;
    width: initial;
    min-width: initial;
    color: initial;
    background-color: initial;
    font-size: large;
    font-weight: bold;
    text-align: initial;
    white-space: initial;
    background: linear-gradient(transparent 50%, #D7EEFF 50%);
}

/* 既存のプロパティを上書き */
.modal-body {
    word-break: break-word; /*連続的な半角英数を強制的に折り返す*/
}

/* 既存のプロパティを上書き */
.pagination {
    flex-wrap: wrap; /*自動折り返し(左から右)*/
}

/* 既存のプロパティを上書き */
.kanaBtn {
    width: inherit;
}

/* 既存のプロパティを上書き */
.content1, .content2 {
    padding-top: 3px; /*上下余白を設定して高さをとる */
    padding-bottom: 3px;
    padding-left: 3px;
    padding-right: 3px;
}

.content2-wrap {
    flex-wrap: wrap; /*自動折り返し(左から右)*/
}

.content2-nopadding {
    padding-top: initial; /*上下余白を設定して高さをとる */
    padding-bottom: initial;
    padding-left: initial;
    padding-right: initial;
}

/* 既存のプロパティを上書き */
label {
    margin-bottom: 0rem; /* 余白なし */
}

/* 既存のプロパティを上書き */
.label, .label-nowrap {
    width: 100px;
}

/* 既存のプロパティを上書き */
.form-control {
    font-size: large;
}

/* コントロール 数値用 */
.form-control-number {
    text-align: right;
    padding: 0.5rem;
}

.form-display {
    font-size: large;
    white-space: pre-wrap; /*改行コードを読み取る*/
}

.form-display-large {
    font-size: x-large;
    white-space: pre-wrap; /*改行コードを読み取る*/
}

.form-display-normal {
    font-size: initial;
}

.form-display-linkcell {
    font-size: smaller;
}

/* 既存のプロパティを上書き */
.dropdown-menu {
    min-width: 14rem;
    font-size: large;
    line-height: 3rem;
}

/* 既存のプロパティを上書き */
textarea.form-control {
    height: 125px;
}

/* ボタン テキストに合わせたサイズ */
.beatbtn-slime {
    min-width: initial;
    white-space: nowrap; /*改行しない*/
}

/* ボタン イメージ */
/* btnクラスから引用 */
.imagebtn {
    display: inline-block;
    font-weight: 400;
    /*color: #212529;*/
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /*background-color: transparent;*/
    border: 1px solid transparent;
    /*padding: 0.375rem 0.75rem;*/
    /*font-size: 1rem;*/
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    /* 以下加筆 */
    padding: 0;
    border: none;
    background: transparent;
    margin: 0.25rem;
    font-size: large;
}

.imagebtn img {
    margin: 0;
    width: 30px;
    height: auto; /*縦横比を自動計算*/
}

/* 半角英数の折り返し処理 */
/* bootstrap.cssから引用 */
table th,
table td {
    word-break: break-all; /*連続的な半角英数を強制的に折り返す*/
}

/* 既存のプロパティを上書き */
.table thead th {
    border-bottom: none;
}

/* 既存のプロパティを上書き */
.table th,
.table td {
    border-top: none;
}

/* テーブル 枠線 */
/* bootstrap.cssから引用 */
.table thead {
    border-top: 3px solid #adb5bd;
    border-bottom: 3px solid #adb5bd;
}

/* テーブル 枠線 */
/* bootstrap.cssから引用 */
.table tbody,
.table tbody + tbody {
    border-bottom: 3px solid #dee2e6;
}

/* テーブル 枠線 ※rowspan使用時 */
.table-rowspan td {
    border-bottom: 3px solid #dee2e6;
}

/* テーブル リンク */
.table-link {
    height: 1px; /* テーブルの大きさを指定しないとセルをリンク化できないため */
}
.table-link th {
    border-right: 3px solid #adb5bd;
    padding: .2rem; /* 固定セル向け */
}
.table-link td {
    border-right: 3px solid #dee2e6; /* セルの境界をわかりやすく */
    padding: .2rem; /* セルの余白はリンク化できないため */
}

/* テーブル リンク セルをリンク化 */
.table-link a {
    color: #212529; /* 通常テキスト */
    line-height: 14px; /* 行間を狭く ※font-size: smaller向け */
    display: block; /* ブロック全体をリンク化 */
    /* ブロックをセル全体に広げる */
    width: 100%;
    height: 100%;
}

/* テーブル リンク セルをリンク化 マウスホバー時 */
.table-link a:hover {
    background-color: #30d997;
    color: #0386f6; /* リンクテキスト */
}

/* テーブル メモ */
.table-memo {
    margin-bottom: 0rem; /* 既存のプロパティを上書き */
}
.table-memo th {
    padding: .5rem;
}
.table-memo td {
    padding: 0rem;
}

/* 行 区切り線 下 */
.row-line-bottom {
    border-bottom: 3px solid #6c757d;
}

/* セル 中央揃え */
.cell-center {
    vertical-align: central; /* 中央(上下) */
    text-align: center; /* 中央(左右) */
}

/* セル内行 セル幅超過分は改行せず非表示 */
.cell-row-nowrap {
    overflow: hidden; /* 超過分は表示しない */
    white-space: nowrap; /* 改行しない */
}

/* ラベル 注意 */
.label-warning {
    color: #dc3545 !important;
}

/* 入力項目：日時 */
/* iPhone向け iOSによるスタイル固定対策 */
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
    -webkit-appearance: none; /* ブラウザ定義のスタイルを無効化 */
    height: 40px; /* 未入力時の高さを確保 */

    /* text-align: left; iPhoneは中央寄せ固定 */
}
/* iPhone向け 日時入力プロパティ */
input[type="date"]::-webkit-date-and-time-value,
input[type="time"]::-webkit-date-and-time-value,
input[type="datetime-local"]::-webkit-date-and-time-value,
input[type="month"]::-webkit-date-and-time-value {
    text-align: left; /* 他入力項目に合わせて左寄せ */
}

/* チェックボックス */
/* bootstrap.cssから引用 */
input[type="checkbox"] {
    width: 15px;
    height: 15px;
}

/* チェックボックス */
.form-control-chkinput {
    margin-left: 5px;
}
/* チェックボックス用ラベル */
.form-control-chklabel {
    font-size: large;
    margin-bottom: initial;
}
/* チェックボックス用ラベル 複数行向け */
.form-control-chklabel-multiline {
    font-size: large;
    margin-bottom: initial;
    display: block;
}

/* チェックボックス用グループ */
.form-control-chkgroup {
    padding-top: 6px; /*上下余白を設定して高さをとる */
    padding-bottom: 6px;
    padding-left: 6px;
    padding-right: 6px;
    white-space: nowrap;
}

/* TD：コントロール配置行（共通）*/
.leftbutton-height, 
.rightbutton-height {
    padding: initial; /* 既存のプロパティを無効 */
    padding-bottom: 10px; /* 余白を設定 */
}

/* TD：コントロール配置行（共通）*/
.leftbutton-nopadding,
.rightbutton-nopadding {
    padding: initial; /* 既存のプロパティを無効 */
}

/* テーブル リスト */
.table-list {
    font-size: large;
    line-height: 2.25rem;
}

/* 区切り線 */
.border-dashed {
    width: 100%;
    border-top: 1px dashed #adb5bd;
}


/* ボタン 黄 */
.beatbtn-ylw {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}

.beatbtn-ylw:hover {
    color: #212529;
    background-color: #d39e00;
    border-color: #117a8b;
}

.beatbtn-ylw:focus, .beatbtn-ylw.focus {
    box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
}

.beatbtn-ylw.disabled, .beatbtn-ylw:disabled {
    color: #ffc107;
    background-color: #ffffff;
    border-color: #ffc107;
}

.beatbtn-ylw:not(:disabled):not(.disabled):active, .beatbtn-ylw:not(:disabled):not(.disabled).active,
.show > .beatbtn-ylw.dropdown-toggle {
    color: #212529;
    background-color: #117a8b;
    border-color: #10707f;
}

.beatbtn-ylw:not(:disabled):not(.disabled):active:focus, .beatbtn-ylw:not(:disabled):not(.disabled).active:focus,
.show > .beatbtn-ylw.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
}

/* スクロールバー */
.scrollbar {
    width: 100%;
    height: 10px;
    overflow-x: scroll; /* 横スクロール向け */
    overflow-y: scroll; /* 縦スクロール向け */
}
.scrollbar > .inner {
    width: 1px; /* 必ず1px以上指定 */
    height: 1px; /* 必ず1px以上指定 */
}

/* スクロールボックス */
.scrollbox {
    width: 100%;
    margin-top: 5px;
    overflow-x: scroll; /* 横スクロール向け */
    overflow-y: scroll; /* 縦スクロール向け */
}

/* スクロールバーのスタイル */
.scrollbar::-webkit-scrollbar,
.scrollbox::-webkit-scrollbar {
    height: 10px;
}
.scrollbar::-webkit-scrollbar-track,
.scrollbox::-webkit-scrollbar-track {
    border-radius: 5px;
}
.scrollbar::-webkit-scrollbar-thumb,
.scrollbox::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #e7e7e7;
}

/* 固定セル */
/* 固定セル 上 */
.freeze-cell-top {
    position: sticky;
    top: 0; /* 縦スクロール向け */
    background-color: white; /*背景が透けるのを避ける*/
}
/* 固定セル 左 */
.freeze-cell-left {
    position: sticky;
    left: 0; /* 横スクロール向け */
    background-color: white; /*背景が透けるのを避ける*/
}
/* 固定セル 左上 */
.freeze-cell-topleft {
    position: sticky;
    top: 0; /* 縦スクロール向け */
    left: 0; /* 横スクロール向け */
    background-color: white; /*背景が透けるのを避ける*/
}
/* 固定セル スクロール時に左上が隠れないように */
.freeze-cell-topleft {
    z-index: 2; /* 固定時の位置 */
}
/* 固定セル 枠線は固定されないため別で作成 */
.freeze-cell-top::before,
.freeze-cell-left::before,
.freeze-cell-topleft::before {
    content: "";
    position: absolute;
    /* 描画される場所のズレを調整 */
    top: -2.5px;
    left: -2px;
    width: calc(100% + 3px);
    height: calc(100% + 3px);
}
.table-link .freeze-cell-top::before,
.table-link .freeze-cell-left::before,
.table-link .freeze-cell-topleft::before {
    /* width: 102%; */
}
th.freeze-cell-left::before {
    border-right: 3px solid #adb5bd;
}
td.freeze-cell-left::before {
    border-top: 3px solid #dee2e6;
    border-right: 3px solid #dee2e6;
    border-left: 3px solid #dee2e6;
}
th.freeze-cell-top::before,
th.freeze-cell-topleft::before {
    border-top: 3px solid #adb5bd;
    border-bottom: 3px solid #adb5bd;
    border-left: 3px solid #adb5bd;
}
.table-link th.freeze-cell-top::before,
.table-link th.freeze-cell-topleft::before {
    border-right: 3px solid #adb5bd;
}

/* スピンボタン 無効化 */
.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-inner-spin-button {
    /* Chrome, Safari向け */
    -webkit-appearance: none;
    margin: 0;
    /* FireFox, IE向け */
    -moz-appearance: textfield;
}

/* イメージ サムネイル */
.img-thumbnail-frame {
    text-align: center;
    padding: 1rem;
    border: 2px solid #343a40;
    background-color: lightgray; /* 画像の外枠の背景 */
}

/* 固定ヘッダ */
.form-header-freeze {
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
}
.form-header-freeze::before {
    border-top: 3px solid #adb5bd;
}

/* アップロード */
.upload {
    color: red; /* 文字色 */
}

/* セレクト 読み取り専用 */
select.readonly {
    pointer-events: none; /* マウス操作を無効化 */
    background-color: #e9ecef;
}

/* ローディング画面 */
.loading {
    /*ローディング画面の縦横幅を画面いっぱいになるように指定*/
    width: 100vw;
    height: 100vh;
    /*ローディング画面の表示位置を固定*/
    position: fixed;
    top: 0;
    left: 0;
    background: gray;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0.5;
    /*ローディング画面を0.5秒かけて非表示にする*/
    transition: all 0.5s linear;
}

/* ローディング画面を非表示 */
.loading.loaded {
    /*0.5秒かけてopacityを0にする*/
    opacity: 0;
    visibility: hidden;
}

.loading-text {
    color: #FFF;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.loading-spinner {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 4px solid #FFF;
    border-left-color: gray;
    /* アニメーションを1秒かけて実行 */
    animation: spinner-rotation 1s linear infinite;
}

/* アニメーションの設定 */
@keyframes spinner-rotation {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}
