﻿/* 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-scv {
    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: 56px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 56px; /* Vertically center the text there */
}

:root {
    --bs-body-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Custom styles
-------------------------------------------------- */
.zero-font {
	font-size: 0px;
}

/* ************
 * a
 * ************/
a,
a:hover
{
    text-decoration: none;
    color: #212529;
    font-weight: normal;
}


/* ************
 * 帯(テーブル)
 * ************/
.title-belt-table {
	height: 44px;
	font-size: 15px;
	color: #0A3269;
	font-weight: bold;
	border-bottom: 1px solid #50b9f0;
	padding: 0px 8px;
	vertical-align: middle;
}

/* ************
 * 帯(その他)
 * ************/
.title-belt-lightblue {
    height: 40px;
    background-color: #96dcff;
    font-size: 15px;
    color: #0A3269;
    font-weight: bold;
    padding: 0px 8px;
    vertical-align: middle;
}

.title-belt-blue {
    height: 40px;
    background-color: #196EC3;
    font-size: 15px;
    color: #ffffff;
    font-weight: bold;
    padding: 0px 8px;
    vertical-align: middle;
}


/* ************
 * 詳細ボックス
 * ************/
/* 左の項目名 */
.scv-detailbox-item-title-box {
    background-color: #E1F0FB;
    margin-top: 4px;
    padding: 0px 8px;
    width: 176px;
    height: auto;
    min-width: 176px;
    min-height: 48px;
    line-height: 48px;
}

/* 右の値のボックス */
.scv-detailbox-item-data-box {
    margin-top: 4px;
    width: 640px;
    min-height: 48px;
    padding: 8px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* 右の値 span */
div.scv-detailbox-item-data-box span {
    padding-left: 8px;
    line-height: 32px; /*(48 - 8 - 8)*/
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre;
}

/* *****************
 * input text
 * *****************/
.input-text-scv {
    min-width: 200px;
    min-height: 32px;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #AFB4BE;
    font-size: 14px;
    color: #242424;
    padding: 0 8px;
}

.input-text-scv::placeholder {
	color: #b9bec8;
}
.input-text-scv:hover {
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
}

.input-text-scv:focus {
    background-color: #C9E8FF;
    outline: none;
    box-shadow: 0px 0px 1px 2px rgba(0,160,220,1.0);
}

.input-text-scv:disabled {
    background-color: #F0F5FA;
    border: 1px solid #B4B9BE;
}

.input-validation-error {
    background-color: #FFDCDC;
    border: 1px solid #B81D1D;
}

/* *****************
 * input textarea
 * *****************/
.input-textarea-scv {
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #85c4f5;
    font-size: 14px;
    color: #242424;
    width: 100%;
    height: 100%;
}

.input-textarea-scv::placeholder {
    color: #b9bec8;
}

.input-textarea-scv:hover {
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
}

.input-textarea-scv:focus {
    background-color: #dcf5ff;
    outline: 1px solid #85c4f5;
    box-shadow: 0px 0px 1px 2px rgba(0,160,220,1.0);
}

/* *****************
 * popup
 * *****************/
.modal-backdrop.show {
    background-color: #000;
    opacity: 0.4;
}

.modal-content-scv {
    background-color: #fff;
    border-width: 0px;
    border-radius: 12px;
    box-shadow: 0px 0px 6px 1px rgba(0,0,0,0.3);
    padding: 16px;
}

.modal-header-scv {
	padding: 0px 0px 16px 0px;
	border: none;
}

.modal-header-text-scv {
    font-size: 17px;
    color: #196EC3;
    font-weight: bold;
}

.modal-body-scv {
	font-size: 14px;
	font-weight: normal;
	color: #242424;
	padding: 0px 0px 32px 0px;
}

.modal-body-textarea-scv {
	padding: 0px 0px 24px 0px;
}
.modal-body-detailarea-scv {
	padding: 0px;
	margin: 0px;
}

.modal-footer-scv {
	padding: 0px;
	border: none;
	display: block;
}
.modal-footer > :not(:first-child) {
	margin-left: 0px;
}
  
.modal-footer > :not(:last-child) {
	margin-right: 0px;
}


/* *****************
 * 自動リサイズポップアップ（M1 WEB管理コンソールから輸入）
 * *****************/
/* *****************
 * モーダルダイアログ
 * 使用方法（例）
   <div class="modal-dialog modal-dialog-centered modal-auto-resize-dialog-scv" role="document">
        <div class="modal-content modal-auto-resize-content-scv">
            <div class="modal-header modal-auto-resize-header-scv">
                <div class="modal-auto-resize-header-text-box-scv">
                    <span class="modal-auto-resize-header-text-scv">タイトル</span>
                </div>
                <div class="btn-scv-close">
                    ...
                </div>
            </div>
        <div class="modal-body modal-auto-resize-body-scv">
            <!-- 画面一杯に書きたい処理 -->
            <div class="d-flex flex-column" style="min-height: 100%; min-width: 100%;">
                <!-- サイズが可変なコントロール（任意）（画面全体の高さ：最大720px, 最小248px  画面全体の幅：最大960px, 最小440px） -->
                <!-- ★★★その他の項目もd-flex flex-columnで囲む必要があります。★★★ -->
            </div>
        </div>
        <div class="modal-footer modal-auto-resize-footer-scv">
            <!-- フッター（OKボタンなど） -->
        </div>
    </div>
******************/
.modal-auto-resize-dialog-scv {
    /* 
     * modal-dialogでmax-width: 500pxが指定されている。
     * 今回は画面の各コンポーネントによって自動で計算されるようにするため、ここではコンテンツのサイズに合わせるようにする。
     */
    max-width: max-content;
    min-width: max-content; /* 幅に対する可変コンポーネントがあっても、リサイズで小さくならないようにする */
}

.modal-auto-resize-content-scv {
    background-color: #fff;
    border-width: 0px;
    border-radius: 12px;
    box-shadow: 0px 0px 6px 1px rgba(0,0,0,0.3);
    padding: 12px;
    min-height: 200px;
    max-height: 720px;
    min-width: 400px;
    max-width: 960px;
}

.modal-auto-resize-header-scv {
    height: 48px;
    padding: 0px 0px 0px 0px;
    border: none;
    /* min, maxを指定していないとmodal-body-scvに浸食される */
    max-height: 48px;
    min-height: 48px;
}

.modal-auto-resize-header-text-box-scv {
    margin: 4px 0px 0px 4px;
}

.modal-auto-resize-header-text-scv {
    font-size: 17px;
    color: #1464B9;
    font-weight: bold;
}

.modal-auto-resize-body-scv {
    font-size: 14px;
    font-weight: normal;
    line-height: 1.3em;
    color: #242424;
    padding: 0px 4px 24px 4px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    min-width: 100%;
    /* ポップアップでサイズの可変部分には「style="min-height: 100%;"」を入れること（幅なら「min-width: 100%;」） */
    /* ポップアップでサイズの可変部分が二つの場合は「style="min-height: 50%;"」を入れること（幅なら「min-width: 50%;」） */
}

.modal-auto-resize-footer-scv {
    padding: 0px;
    border: none;
    display: block;
}

/* *****************
 * ダイアログの×ボタン
 * *****************/
.btn-auto-resize-scv-close {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

a.btn-auto-resize-scv-close {
    text-decoration: none;
}

.scv-title-text1 {
    font-size: 20px;
    color: #196EC3;
    font-weight: bold;
    font-family: Arial;
}

.scv-title-text2 {
    font-size: 17px;
    color: #505564;
    font-weight: bold;
    margin-left: 24px;
}

.scv-title-text3 {
    font-size: 15px;
    color: #505564;
    margin-left: 8px;
}

.scv-account-table td {
    padding: 0px;
    border: none;
    border-spacing: 0px;
}

.scv-account-table td {
    padding: 0px;
    border: none;
}

.scv-account-key {
    font-size: 14px;
    font-weight: bold;
    color: #242424;
    white-space: nowrap;
}

.scv-account-value {
    font-size: 14px;
    color: #242424;
    margin-left: 8px;
}

.scv-account-pulldown {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    margin: 0px 8px;
}

.scv-account-value-box {
    max-width: 600px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#dropdownAccountMenuLink {
    line-height: 44px;
}

.scv-account-pulldown:hover {
    background-color: #e1f5ff;
}

.scv-account-pulldown:not(:disabled):not(.disabled):active,
.show > .scv-account-pulldown.dropdown-toggle {
    background-color: #B4E1FF;
}

.scv-dropdown-menu {
    width: 218px;
    background-color: #fff;
    border: 1px solid #d7dce1;
    border-radius: 6px;
    box-shadow: 0px 0px 2px 1px rgba(0,5,15,0.38);
    padding: 0px 0px 0px 0px;
}

.scv-dropdown-menu-ex {
    width: 272px;
    background-color: #fff;
    border: 1px solid #d7dce1;
    border-radius: 6px;
    box-shadow: 0px 0px 2px 1px rgba(0,5,15,0.38);
    padding: 0px 0px 0px 0px;
}

.scv-dropdown-menu-button {
    color: #242424;
    font-weight: bold;
    line-height: 48px;
    padding: 8px 8px 8px 8px;
}

.scv-dropdown-menu-button a {
    padding: 0px;
    font-size: 14px;
    font-weight: bold;
    color: #242424;
    text-indent:16px;
}

.scv-dropdown-menu-button a:hover {
    background-color: #e1f5ff;
}

.scv-dropdown-menu-button a:not(:disabled):not(.disabled):active,
.show > .scv-dropdown-menu-button.dropdown-toggle {
    background-color: #B4E1FF;
}

hr.scv-delimiter-line {
    background-color: none;
    border-top: 1px solid #d7dce1;
    margin: 0px;
    padding: 0px;
}


.scv-nav-bar {
    box-sizing: content-box;
    border-bottom: 1px solid #7DAFDC;
    background-color: #CDEBFF;
    height: 48px;
    padding: 0px 16px;
    margin: 0px;
}

.scv-nav-item {
    height: 44px;
    font-size: 17px;
    font-weight: bold;
    color: #484848;
    margin: 0px 8px 0px 0px;
    padding: 0px;
    line-height: 44px;
    text-align: center;
}

    .scv-nav-item:hover {
        font-weight: bold;
        color: #AAAABB;
    }

.scv-nav-item-active {
    color: #14A0DC;
    border-bottom: 4px solid #14A0DC;
}

    .scv-nav-item-active:hover {
        color: #14A0DC;
        border-bottom: 4px solid #14A0DC;
    }

.scv-topmenu-item a,
.scv-topmenu-item a:visited,
.scv-topmenu-item a:hover,
.scv-topmenu-item a:active {
    color: inherit
}

/* ************
 * Modal
 * ************/

div.modal-content {
    border-radius: 10px;
}

/* ************
 * ページネーション
 * ************/
.page-link:focus {
    outline: none;
    box-shadow: none;
}

li.page-item {
    background-color: #fff;
    text-align: center;
    margin: 0px 4px;
}

li.page-item > a.page-link {
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 14px;
    color: #242424;
    border-radius: 3px;
    border: 1px solid #C8CDDC;
    background-color: #fff;
    padding: 0px;
    margin: 0px;
}

li.page-item.disabled .page-link {
    border: 1px solid #e1e6f0;
    color: #c8cddc;
}

li.page-item.active .page-link {
    pointer-events: none;
    border-color: #196ec3;
    border-width: 0px 0px 4px 0px;
    border-radius: 0px;
    font-size: 14px;
    color: #242424;
    background-color: #fff;
}

li.page-item > a.page-link:hover {
    border: 1px solid #C8CDDC;
    background-color: #f5f5fa;
}

li.page-item > a.page-link:not(:disabled):not(.disabled):active {
    background-color: #C8CDDC;
}

/* ************
 * Error
 * ************/
.scv-error-page {
    background-color: #EEF8FE;
    padding-top: 2rem;
}

.scv-error-box {
    width: 60%;
    background-color: white;
    border: 1px solid #C8AFAF;
    padding: 1rem;
}

.scv-error-title {
    border-left: 3px solid red;
    color: red;
    font-size: 1rem;
    padding-left: 0.3rem;
}

.scv-error-body {
    padding-top: 0.5rem;
    padding-left: 0.6rem;
    margin-bottom: 0rem;
}

/* ************
 * セレクトボックス
 * ************/
/*IEでデフォルトの矢印を非表示にする*/
select::-ms-expand {
    display: none;
}

select {
    min-width: 200px;
    height: 32px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("../image/CommonIcoPulldownOpen24@3x.png");
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: right 4px center;
}

/* ************
 * ページネーションのドロップダウン用セレクトボックス
 * ************/
    select.dropdown-page {
        min-width: 72px;
        height: 44px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("../image/CommonIcoPullOpen@2x.png");
        background-repeat: no-repeat;
        background-size: 16px 16px;
        background-position: right 4px center;
        color: black;
        text-align-last: center;
        padding-right: 24px;
    }

/* ************
 * ラジオボタン
 * ************/
input[type=radio] {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.scv-radio-label {
    line-height: 24px;
    margin: 0px 0px 0px 6px;
    font-size: 14px;
    font-weight: normal;
    color: #242424;
}

/* ************
 * チェックボックス
 * ************/
input[type=checkbox] {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.scv-check-label {
    line-height: 24px;
    margin: 0px 0px 0px 6px;
    font-size: 14px;
    font-weight: normal;
    color: #242424;
}

/* ************
 * search result
 * ************/
.scv-searchResult-box {
    height: 48px;
    line-height: 48px;
    padding-left: 16px;
    font-size: 14px;
    color: #242424;
}
