html {
    font-size: 11px;
}

/* 画面幅が576px以上の時 */
@media (min-width: 576px) {
    html {
        font-size: 14px;
    }
    .looking-col-term {
        width: 33.33333333% !important;
    }
    .looking-btn {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* 画面幅が768px以上の時 */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* 画面幅が1200px以上の時 */
@media (min-width: 1200px) {
    .looking-col-label {
        width: 16.66666667% !important;
    }
    .looking-col-text {
        width: 83.33333333% !important;
    }

    .looking-col-label2 {
        width: 16.66666667% !important;
    }
    .looking-col-text2 {
        width: 83.33333333% !important;
    }

    .looking-col-label3 {
        width: 17% !important;
    }

    .looking-col-text3 {
        width: 83% !important;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.btn-dropdown {
    border: none;
    margin: 0px;
    padding: 3.5px !important;
    padding-left: 14px !important;
    color: black !important;
}

.dashboard {
    overflow: hidden;
}

.dashboard .contents-box {
    margin-bottom: 1em;
}

.dashboard .contents {
    height: 100% /*20em*/;
    margin-bottom: 1em;
    /*position: relative;*/
    /*z-index: 100;*/
}

.dashboard .contents .article {
    height: 15em;
    overflow-x: hidden;
    /* padding: 0 0.5em; */
}

.dropdown:hover > .dropdown-menu {
    display: block;
}

.fluid-table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
}

.fluid-td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
}

.applications-title {
    padding-left: 0.25em;
    background: transparent;
    border-left: solid 5px #007bff;
}

.btn:hover {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
}

footer {
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    white-space: nowrap;
    line-height: 35px;
}

/* アイコン */
.bi-button {
    vertical-align: -.125em;
    fill: currentColor;
    width: 1em;
    height: 1em;
    margin-right: 0.3em;
}

.bi-nav {
    display: block;
    margin: auto;
    margin-top: 0.5em;
    color: white;
    fill: currentColor;
    width: 1.3em;
    height: 1.3em;
    margin-bottom: 0.3em;
}

.bi-index {
    display: block;
    margin: auto;
    fill: currentColor;
    color: blue;
    width: 1em;
    height: 1em;
    /*    margin-bottom: 0.3em;
*/
}

.bi-details {
    display: block;
    margin: auto;
    fill: currentColor;
    color: black;
    width: 1em;
    height: 1em;
    /*    margin-bottom: 0.3em;
*/
}

.icon-text {
    font-size: 0.5em;
    color: blue;
    text-align: center;
}

.icon-text-details {
    font-size: 0.7em;
    color: black;
    text-align: center;
}

.index-delete-button {
    outline: none !important;
    box-shadow: none !important;
    border: none;
    background: transparent;
}

.index-restore-button {
    outline: none !important;
    box-shadow: none !important;
    border: none;
    background: transparent;
}

.bi-edit {
    vertical-align: -.125em;
    fill: currentColor;
    width: 1.3em;
    height: 1.3em;
    padding-top: 0.2em;
}

/*ナビテキスト*/
.nav-item {
    padding-top: 0;
    font-size: smaller;
}

/*写真上下中央寄せ*/
.photo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    width: 100%;
    text-align: center;
}

/* 前景 */
div.loading-back {
    z-index: 10000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff96;
    /**/
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

div.loading-back div.loading {
    z-index: 2147483647; /*z-indexのMax値です*/
    position: absolute;
    margin: auto;
    inset: 0;
}

/*トップ画面用*/
@media (max-width: 767.9px) {
    .newMassage {
        min-height: 26rem;
    }
}

/*input背景色*/
.bgc-attention {
    background-color: lightgoldenrodyellow !important;
}

/* 商品詳細画面のセミナーの詳細（顧客） */
.looking-col-label {
    flex: 0 0 auto;
    width: 25%;
}
.looking-col-text {
    flex: 0 0 auto;
    width: 75%;
}

/* 請求・領収の編集画面（管理） */
.looking-col-label2 {
    flex: 0 0 auto;
    width: 28%;
}

.looking-col-text2 {
    flex: 0 0 auto;
    width: 72%;
}

/* お知らせグループ詳細画面（管理） */
.looking-col-label3 {
    flex: 0 0 auto;
    width: 33.33333333%;
}

.looking-col-text3 {
    flex: 0 0 auto;
    width: 66.66666667%;
}

/* 取引履歴一覧の取引期間 */
.looking-col-term {
    flex: 0 0 auto;
    width: 41.66666667%;
}

/*スマホ*/
@media (max-width: 575px) {
    .bi-nav {
        display: inline-block;
        margin-top: 0.5em;
        color: white;
        fill: currentColor;
        width: 1.3em;
        height: 1.3em;
        margin-bottom: 0.3em;
        margin-right: 0.3em;
    }

    .role-edit-pc {
        display: none;
    }

    /*トップ画面用*/
    .productContent {
        margin: 0 !important;
        font-size: 1rem !important;
    }

    .home-image-center .price {
        font-size: 1rem !important;
        margin-bottom: 0%;
    }

    #newProduct {
        width: 100% !important;
    }

    #homeError, #topNewContents {
        padding: 0;
    }

    #first-phone, #second-phone, #third-phone, #forth-phone, #five-phone {
        width: 98%;
        margin-left: 2%;
    }

    #newProduct .homeButtonPrev, #newProduct .homeButtonNext {
        display: none;
    }


    /*productSales*/
    /*写真の枠*/
    @media (min-width:200px) {
        .site-photo-frame {
            color: #495057;
            border: 1px dashed #ced4da;
            border-radius: 0.25rem;
            width: 100%;
            height: 200px;
            padding: 0.5rem;
            overflow: hidden;
            position: relative;
        }
    }
}


/*タブレット、PC*/
@media (min-width: 576px) {
    .role-edit-phone {
        display: none;
    }

    .site-photo-frame {
        color: #495057;
        border: 1px dashed #ced4da;
        border-radius: 0.25rem;
        width: 100%;
        height: 300px;
        padding: 0.5rem;
        position: relative;
    }
}

.select-seminar {
    background-color: silver;
}

p.help {
    display: none;
    position: absolute;
    padding: 5px 16px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: #ced4da;
    color: #fff;
    right: -245%;
    top: 68px;
}

p.help:after {
    position: absolute;
    bottom: 100%;
    right: 25.5%;
    width: 0;
    height: 0;
    margin-left: -10px;
    border: solid transparent;
    border-color: rgba(51,51,51,0);
    border-bottom-color: #ced4da;
    border-width: 10px;
    pointer-events: none;
    content: " ";
}

p.editHelp {
    display: none;
    position: absolute;
    padding: 16px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: #ced4da;
    color: #fff;
    right: -100%;
}

p.editHelp:after {
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 0;
    height: 0;
    margin-left: -10px;
    border: solid transparent;
    border-color: rgba(51,51,51,0);
    border-bottom-color: #ced4da;
    border-width: 10px;
    pointer-events: none;
    content: " ";
}

p.linkageHelp {
    display: none;
    position: absolute;
    padding: 5px 16px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: #ced4da;
    color: #fff;
    right: -15%;
    top: 68px;
}

p.linkageHelp:after {
    position: absolute;
    bottom: 100%;
    left: 87%;
    width: 0;
    height: 0;
    margin-left: -10px;
    border: solid transparent;
    border-color: rgba(51,51,51,0);
    border-bottom-color: #ced4da;
    border-width: 10px;
    pointer-events: none;
    content: " ";
}

p.editLinkageHelp {
    display: none;
    position: absolute;
    padding: 16px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: #ced4da;
    color: #fff;
    right: 15%;
}

p.editLinkageHelp:after {
    position: absolute;
    bottom: 100%;
    left: 80%;
    width: 0;
    height: 0;
    margin-left: -10px;
    border: solid transparent;
    border-color: rgba(51,51,51,0);
    border-bottom-color: #ced4da;
    border-width: 10px;
    pointer-events: none;
    content: " ";
}

p.helpProduct {
    display: none;
    position: absolute;
    padding: 5px 16px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: #ced4da;
    color: #fff;
    z-index: 100;
    width: 200%;
    right: 15%;
    top: 45px;
}

p.helpProduct:after {
    position: absolute;
    bottom: 100%;
    left: 80%;
    width: 0;
    height: 0;
    margin-left: -10px;
    border: solid transparent;
    border-color: rgba(51,51,51,0);
    border-bottom-color: #ced4da;
    border-width: 10px;
    pointer-events: none;
    content: " ";
}

.looking-btn {
    padding-top: calc(.375rem + 1px);
    padding-bottom: calc(.375rem + 1px);
}