/* 共通CSS */
body{
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    /*font-family: 'Noto Sans JP', sans-serif;*/
    /*color: #191d21;*/
    color: #5c5f63;

    /*font-size: 0.8vw;*/
    font-size:clamp(15px, 0.8vw, 25px);
}

a {
    transition: all .2s;
    -webkit-transition: all .2s;
    text-decoration: underline;
}

.container {
    position: relative;
}

/**************************/
/* Bootstrap カスタマイズ
/**************************/
/*ボタンの影表示を無くす*/
.btn-info, .btn-info.disabled,
.btn-primary, .btn-primary.disabled,
.btn-warning, .btn-warning.disabled
.btn-secondary, .btn-secondary.disabled,
.btn-light, .btn-light.disabled,
.btn-danger, .btn-danger.disabled,
.btn-success, .btn-success.disabled
{
    box-shadow: none;
}

.btn {
    font-weight: 400;
}

/**************************/
/* スクロールバー
/**************************/
::-webkit-scrollbar {
    width: 7px;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(0deg,#59BBE8,#0071BC);
    border-radius: 3px;
}
/**************************/
/* スクロールバーの指定
/**************************/
.my-scroll {
    overflow: auto;
    display:inline-block;
}

/**************************/
/* アイコン付きボタン表示
/**************************/
.icon-button {
    display:block;
    position:relative;
}
.icon-button i{
    position:absolute;
    top:50%;
    left:10px;
    margin-top:-0.5em;
    color:#FFFFFF;
}

/**************************/
/* フォントサイズ
/**************************/

.fz-s {
    font-size: 0.8em !important;
}
.fz-m {
    font-size: 1.0em !important;
}
.fz-l {
    font-size: 1.1em !important;
}
.fz-ll {
    font-size: 1.2em !important;
}

.fz-10 {
    font-size: 10px !important;
}
.fz-12 {
    font-size: 12px !important;
}
.fz-14 {
    font-size: 14px !important;
}
.fz-16 {
    font-size: 16px !important;
}

.mt-80 {
    margin-top: 80px;
}
.mt-140 {
    margin-top: 140px;
}
.l-width-10 {
    width: 10%;
}
.l-width-20 {
    width: 20%;
}
.l-width-30 {
    width: 30%;
}
.l-width-40 {
    width: 40%;
}
.l-width-50 {
    width: 50%;
}
.l-width-60 {
    width: 60%;
}
.l-width-70 {
    width: 70%;
}
.l-width-80 {
    width: 80%;
}
a:hover {
    color: inherit;
    text-decoration: none;
}
.px-20 {
    padding-left: 20px;
    padding-right: 20px;
}
.py-15 {
    padding-top: 15px;
    padding-bottom: 15px;
}
.py-25 {
    padding-top: 25px;
    padding-bottom: 25px;
}
.bg-hover-color {
    background-color: #67bbf0;
}
.text-black {
    color: #191d21;
}
/* Bootstrap打ち消し */
.table tbody tr th {
    /*padding: 0 20px !important;*/
}
table th {
    font-weight: normal;
    color: #191d21 !important;
}
.table td {
    /*padding: 0 !important;*/
}
.table td a {
    display: block;
    padding: 10px 15px;
}
.table td span {
    display: block;
    padding: 10px 15px;
}

/* 店舗一覧ページ */
.search-form {
    width: 100%;
}
.search-form input {
    width: 100%;
}
.search-form button {
    width: 100%;
}
tr td a.text-w {
    color: #ffffff;
}
tr td a.text-w:hover {
    color: #ffffff !important;
    opacity: 1;
}

textarea.c-textarea-height {
    height: 120px !important;
}

table.tblList {
    min-width: 1219px;
}

table.tblList.tbl-clickable > tbody > tr {
    cursor: pointer;
}

/* 商品マスタ設定 */
table tr .td-col-1 {
    width: 150px;
    min-width: 150px;
}
table tr .td-col-2 {
    width: 150px;
    min-width: 150px;
}
table tr .td-col-3 {
    width: 450px;
    min-width: 450px;
}
table tr .td-col-4 {
    width: 200px;
    min-width: 200px;
}
table tr .td-col-5 {
    width: 100px;
    min-width: 100px;
}
table tr .td-col-6 {
    width: 100px;
    min-width: 100px;
}
table tr .td-col-7 {
    width: 100px;
    min-width: 100px;
}
table tr .td-col-8 {
    width: 100px;
    min-width: 100px;
}

/* 店舗エリア選択 */
.canvas-area {
    width: 100%;
}

/* dropdown menu */
.dropdown-menu {
    box-shadow: 0 10px 40px 0 rgb(51 73 94 / 50%);
    border: none;
    width: 200px;
}

/*ドロップダウンメニューの場合は、aタグはアンダーバーを付けない*/
.dropdown-menu a {
    text-decoration: none;
}

/* bootstrap col-sm */
@media screen and (min-width: 576px) {

    .search-form input {
        width: 75%;
    }
    .search-form button {
        width: 100px;
    }
}

/* bootstrap col-md */
@media screen and (min-width: 768px) {

}

.table-bg-hover tbody > tr {
    background-color: #ffffff;
    color: #191d21;
}
.table-bg-hover tbody > tr:hover {
    background-color: rgba(103, 187, 240, 0.1);
    color: #191d21;
}

#displayLoading {
    display: table;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.8;
    z-index: 10000;
}

#displayLoading .loadingMsg {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding-top: 140px;
    background: url("../img/loading.gif") center center no-repeat;
}

.form-group {
    margin-bottom: 10px; }

/**************************/
/* モーダルダイアログ CSS
/**************************/

.modal-message-backdrop {
    z-index: 999998;
}

.modal-message {
    z-index: 999999;
}

/* モーダルダイアログ設定 */
.modal-message .modal-header {
    padding:16px 16px;
    font-size: large;
}

.modal-message .modal-type-info .modal-header {
    background-color: #0071BC;
    color:#FFF;
    border-bottom:2px dashed #0071BC;
}

.modal-message .modal-type-error .modal-header {
    background-color: #ef197d;
    color:#FFF;
    border-bottom:2px dashed #ef197d;
}

.modal-message .modal-type-warning .modal-header {
    background-color: #ffc107;
    color:#FFF;
    border-bottom: 2px dashed #ffc107;
}

/* モーダルダイアログ クローズ */
.modal-message .modal-header .close {
    color:#FFF;
}

.modal-message .modal-body {
    /*font-size: large;*/
}

.modal-message .modal-body .error-detail-scroll {
    width: 100%;
    overflow-y: auto;
    overflow: scroll;
    height: 200px;
    border: 2px solid #ccc;
    font-size: 14px;
}


/**************************/
/* 必須表示 CSS
/**************************/
.required::after {
    /*content: "必須";*/
    /*background-color: #dc3545;*/
    /*color: #fff;*/
    /*font-size: 12px;*/
    /*font-weight: bold;*/
    /*min-width: 10px;*/
    /*padding: 3px 7px;*/
    /*margin: 0px 5px;*/
    /*line-height: 1;*/
    /*vertical-align: middle;*/
    /*white-space: nowrap;*/
    /*text-align: center;*/
    /*border-radius: 10px;*/
    /*display: inline-block;*/
    content: " *";
    color: #dc3545;
    vertical-align: middle;
}

/**************************/
/* 画面サイズに合わせて表示調整 CSS   2023/02/23 一旦廃止
/**************************/
/* サイズに応じて非表示制御 */
/*@media (max-width: 991.98px) {
    .hidden-md {
        display:none!important;
    }
}*/

/* サイズに応じて非表示制御 */
/*@media (max-width: 1199.98px) {
    .hidden-lg {
        display:none!important;
    }
}*/

/**************************/
/* SELECT2のカスタムCSS
/**************************/

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-top: 10px;  /* この値は高さに応じて調整 */
    padding-bottom: 10px;  /* この値は高さに応じて調整 */
    line-height: 1.5;
}

.select2-results__option--highlighted {
    background-color: #0071bb !important;
    color: white;  /* テキスト色 */
}

/*プルダウンメニューの枠の色を変更*/
.select2-dropdown {
    border-color: #aaa !important;  /* 枠の色 */
}

.select2-results__option {
    height: 40px;
    white-space: nowrap; /* テキストを折り返さないようにする */
    overflow: hidden; /* テキストがはみ出した場合には隠す */
    text-overflow: ellipsis; /* テキストがはみ出した場合には省略記号で表示 */
}

.select2-selection__placeholder {
    color: #ccc;
}

.select2-selection__choice {
    /*background-color: #007bff !important;*/
    /*border-color: #0056b3 !important;*/
    color: black !important;
    font-size: 12px;
}

.select2-selection__choice__remove {
    color: black !important;
}
/**************************/
/* SELECT2のカスタムCSS ここまで
/**************************/

/**
 * ツールチップの色を変更
 */
.tooltip .tooltip-inner {
    background-color: #fd7e01; /* 背景色 */
    color: #ffffff; /* テキストの色 */
}

.tooltip.bs-tooltip-top .arrow::before {
    border-top-color: #fd7e01; /* 上向きのTooltipの矢印の色 */
}

.tooltip.bs-tooltip-right .arrow::before {
    border-right-color: #fd7e01; /* 右向きのTooltipの矢印の色 */
}

.tooltip.bs-tooltip-bottom .arrow::before {
    border-bottom-color: #fd7e01; /* 下向きのTooltipの矢印の色 */
}

.tooltip.bs-tooltip-left .arrow::before {
    border-left-color: #fd7e01; /* 左向きのTooltipの矢印の色 */
}

/**
* 個人アイコンのスタイル
*/
.rounded-picture {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    object-fit: cover;
    overflow: hidden;
}


/**
 * 検索エリアのスタイル
 */
.search-conds-section {
    background: #FFFFFF;
    margin-right: -15px;
    margin-left: -15px;
    padding: 30px 10px;
}

/**
 * 問い合わせリンク  画面右下に固定
 */
.contact-link {
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 10px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    z-index: 20;
}
.contact-link:hover {
    background-color: #6ab0fc;
    color: #ffffff;
}
