﻿@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');
/*
    CustomeStyleSetting
    Created：2021.11.30
    updated：2021.11.30
    by：y
*/


/*@media screen and (min-width: 1200px) {
    .grid-container {
        -webkit-column-count: 3;
        -webkit-column-gap: 15px;
        -webkit-column-fill: balance;
        -moz-column-count: 3;
        -moz-column-gap: 15px;
        -moz-column-fill: balance;
        column-count: 3;
        column-gap: 15px;
        column-fill: balance;
    }
}

@media screen and (min-width: 993px) and (max-width: 1199px) {
    .grid-container {
        -webkit-column-count: 3;
        -webkit-column-gap: 15px;
        -webkit-column-fill: balance;
        -moz-column-count: 3;
        -moz-column-gap: 15px;
        -moz-column-fill: balance;
        column-count: 3;
        column-gap: 15px;
        column-fill: balance;
    }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
    .grid-container {
        -webkit-column-count: 3;
        -webkit-column-gap: 15px;
        -webkit-column-fill: balance;
        -moz-column-count: 3;
        -moz-column-gap: 15px;
        -moz-column-fill: balance;
        column-count: 3;
        column-gap: 15px;
        column-fill: balance;
    }
}

@media screen and (min-width: 491px) and (max-width: 768px) {
    .grid-container {
        -webkit-column-count: 2;
        -webkit-column-gap: 15px;
        -webkit-column-fill: balance;
        -moz-column-count: 2;
        -moz-column-gap: 15px;
        -moz-column-fill: balance;
        column-count: 2;
        column-gap: 15px;
        column-fill: balance;
    }
}

@media screen and (max-width: 490px) {
    .grid-container {
        -webkit-column-count: 1;
        -webkit-column-gap: 15px;
        -webkit-column-fill: balance;
        -moz-column-count: 1;
        -moz-column-gap: 15px;
        -moz-column-fill: balance;
        column-count: 1;
        column-gap: 15px;
        column-fill: balance;
    }
}

.grid {
    display: inline-block;
    -webkit-break-inside: avoid;
    -moz-break-inside: avoid;
    break-inside: avoid;
}*/
/* Google Chorome BugFix */
/*@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .grid {
        display: block !important;
    }
}*/



.custome-title {
    font-size: 36px;
    color: #E50012;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 800;
    padding-left: 10px;
}
.custome-sub-title {
    font-size: 24px;
    color: #E50012;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 800;
    padding-left: 10px;
}

*:focus {
    outline: none;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 1fr;
    grid-gap: 0.8em;
    padding: 0.8em;
    margin: 0 0 2em;
}

.list-card {
    margin: 5px 0px 5px 0px;
    border-radius: 5px;
    box-shadow: 0 2px 5px #ccc;
}

.list-card-closed {
    margin: 5px 0px 5px 0px;
    border-radius: 5px;
    box-shadow: 0 2px 5px #ccc;
    background-color: lavenderblush;
}

.list-content {
    padding: 20px;
}

.list-img-box {
    text-align: center;
    width: 350px;
    margin-left:10px;
}

.list-img {
    border-radius: 5px 5px 0 0;
    width: auto;
    max-width: 250px;
    max-height: 250px;
}

.list-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 0px;
}

.list-sub-title {
    font-size: 16px;
    color: #333;
    margin-top: 0px;
}

.list-text {
    font-size: 15px;
    color: #333;
}

.list-p-label {
    font-size: 13px;
    color: #333;
    margin-bottom:0px;
}

.list-p-text {
    font-size: 15px;
    color: #333;
    margin-top:0px;
}



.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    grid-auto-rows: 1fr;
    grid-gap: 0.8em;
/*    border: 1px solid #ddd;*/ 
    padding: 0.8em;
    margin: 0 0 2em;
}

    .card-grid > .item {
/*        background: #ddd;
*/        overflow: auto;
        min-width: 0;
        padding: 1em;
    }


.card {
    margin: 5px 0px 5px 0px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px #ccc;
}

.card-img-box {
    text-align: center;
    
    /* 
        キャプションを無くしたので、カードのサイズを均等に出来るようにサイズを指定した。
        但し、タイトル文字数が増えた場合、縦方向がoverflowする可能性があるため、縦だけmin指定にする
    */
    width: 350px;
    min-height: 250px;
}

.card-img {
    border-radius: 5px 5px 0 0;
    width: auto;
    max-width: 300px;
    max-height: 250px;
}

/* カードグリッドの親Divに指定。画面サイズが小さい時にカードを中央配置にするため、既定をstartとしてメディアクエリ側にcenterを入れておく */
.grid-parent{
    display: flex;
    justify-content: start;
}

.pdf-parent {
    text-align: center;
    height: 520px;
}


.card-content {
    padding: 20px;
}

.card-title {
    font-size: 15px;
    text-align: center;
    color: #333;
    max-width: 300px;
}

.card-sub-title {
    font-size: 15px;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
    max-width: 300px;
}

.card-text {
 
    margin: 5px auto 5px auto;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
    max-width: 300px;
/*    height: 200px;*/

}

.card-link {
    text-align: center;
    border-top: 1px solid #eee;
    padding: 20px;
}

    .card-link a {
        text-decoration: none;
        color: #0bd;
        margin: 0 10px;
    }

        .card-link a:hover {
            color: #0090aa;
        }

.btn-w25{
    width: 25%;
}

.btn-h250{
    height: 250px;
}

/*課題別第2階層以降ボタンの大きさ設定*/
.btn-w100-h75 {
    width: 100%;
    height: 75px;
}


.btn-font-l_weight-l {
    font-size: 19px;
    font-weight: 200;
}
.btn-font-l_weight-m {
    font-size: 19px;
    font-weight: 400;
}
.btn-font-l_weight-h {
    font-size: 19px;
    font-weight: 600;
}

.btn-font-m_weight-m {
    font-size: 18px;
    font-weight: 400;
}
.btn-font-m_weight-h {
    font-size: 18px;
    font-weight: 600;
}

.btn-font-s_weight-l {
    font-size: 16px;
    font-weight: 200;
}

.btn-font-xs_weight-l {
    font-size: 14px;
    font-weight: 200;
}

/*基本ボタンの設定*/
.btn-custome-form {
    width: 100%;
    padding: 15px 15px 15px 15px;
    margin: 10px 10px 10px 10px;
    border-radius: 3px 4px;
    transition: background-color 0.5s;
}

    .btn-custome-form:hover {
        transition: background-color 0.5s;
    }


/*基本ボタン色*/
.btn-color-orange {
    color: ghostwhite;
    background-color: coral;
    border-color: #ffb499;
}
    .btn-color-orange:hover {
        color: black;
        background-color: #ffd4cc;
        border-color: #ffb499;
    }

/*ユーザーメニューボタン色*/
.btn-color-um {
    color: ghostwhite;
    background-color: coral;
    border-color: #ffb499;
    text-shadow: 1px 0 0 black, 0 1px 0 black, -1px 0 0 black, 0 -1px 0 black
}

    .btn-color-um:hover {
        color: black;
        background-color: #ffd4cc;
        border-color: #ffb499;
        text-shadow: none;
    }

/*製品別の第2階層ボタン色*/
.btn-color-product {
    color: dimgrey;
    background-color: white;
    border-color: gainsboro;
    font-size: 19px;
    font-weight: 400;
}
    .btn-color-product:hover {
        color: tomato;
        border-color: tomato;
    }

/*管理側のグレー系ボタン色*/
.btn-color-gray {
    color: black;
    background-color: none;
    border-color: gainsboro;
}
    .btn-color-gray:hover {
        background-color: gray;
        border-color: gainsboro;
        color: white;
    }

/*課題、製品の各ボタン色*/
.btn-color-category {
    color: snow;
    background-color: crimson;
    border-color: #ff1745;
    font-weight: 600;
    text-shadow: 1px 0 0 black, 0 1px 0 black, -1px 0 0 black, 0 -1px 0 black
}
    .btn-color-category:hover {
        color: crimson;
        background-color: pink;
        border-color: #ff1745;
        font-weight: 800;
        text-shadow: none;
    }

/*詳細ページリンクボタン*/
.btn-detail {
    color: black;
    background-color: #ffd4cc;
    border-color: #ffb499;
}

    .btn-detail:hover {
        color: ghostwhite;
        background-color: coral;
        border-color: #ffb499;
    }
    .btn-detail:disabled {
        color: white;
        background-color: gainsboro;
        border-color: darkgray;
        cursor:not-allowed;
    }

.text-shadow-custome {
    text-shadow: 1px 0 0 black, 0 1px 0 black, -1px 0 0 black, 0 -1px 0 black
}

.screen {
    width: 100%;
    padding: 10px 10px 10px 10px;
    margin: 5px 5px 5px 5px;
    border-radius: 3px 4px;
    background-color: seashell;
}

.form-control.is-invalid, .was-validated .form-control:invalid {
    background-image: none;
}

.menu-body {
    padding: 10px 10px 10px 10px;
}

.icon_thums_up {
    border-color: tomato;
    color: tomato;
}
    .icon_thums_up:hover {
        background-color: coral;
        border-color: orangered;
        color: white;
    }

    .icon_thums_up:active {
        -webkit-transform: translate(0,2px);
        -moz-transform: translate(0,2px);
        transform: translate(0,2px);
        border-bottom: none;
    }

.icon_thums_up_after {
    background-color: coral;
    border-color: orangered;
    color: white;
}
    .icon_thums_up_after:hover {
        background-color: white;
        border-color: tomato;
        color: tomato;
    }
    .icon_thums_up_after:active {
        -webkit-transform: translate(0,2px);
        -moz-transform: translate(0,2px);
        transform: translate(0,2px);
        border-bottom: none;
    }


.icon_thums_up_fix {
    padding-top: 3px;
    border-color: tomato;
    color: tomato;
    font-size: 1.25em;
}

.search_input_text {
    border-color: gray;
}

.icon_search {
    border-color: gray;
    color: coral;
}
    .icon_search:hover {
        border-color: gray;
        background-color: dimgray;
        color: white;
    }

.icon_clear {
    border-color: gray;
    color: gray;
}
    .icon_clear:hover {
        border-color: gray;
        background-color: dimgray;
        color: white;
    }



.icon_bookmark {
    color: tomato;
    font-size:  1.25em;
    cursor: pointer;
}


.breadcrumb { /* 背景色の変更 */
    background: none;
}

.breadcrumb a { /* 文字色 */
    color: #0bd;
}

.breadcrumb-item.active { /* アクティブ文字色の変更 */
    color: #000;
}

.breadcrumb-item + .breadcrumb-item::before { /* 区切り線の文字色変更 */
    color: #000;
    content: ">";
}

@keyframes my-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.card-grid {

    animation-name: my-fade-in;
    animation-duration: 2s;
}

.center-parent{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}

.center-child{
    display: block;
    width: 100%;
}

.a-center{
    display:inline-block;
    width:100%;
    margin-top:auto;
    margin-bottom:auto;
    text-align:center;
}

.i-align-end {
    display: block;
    margin-left: auto;
}

.i-horizontal-center {
    display: flex;
    justify-content: center;
}

.i-horizontal-end {
    display: flex;
    justify-content: end;
}

.i-vertical-center {
    display: flex;
    align-items: center;
}

.i-vertical-end {
    display: flex;
    align-items: end;
}

.i-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon_layers_counter {
    /*    position: absolute;
    top: 0;
    display: inline-block;
    padding: 3px 5px;
    line-height: 1;
    color: #fff;
    background-color: tomato;
    font-size: 1.0em;
    border-radius: 1em;
    -webkit-border-radius: 1em;
    -moz-border-radius: 1em;*/
    color: #888;
    font-size: 1em;
}

.field-icon {
    float: right;
    margin-right: 30px;
    margin-top: -28px;
    position: relative;
    z-index: 2;
    cursor: pointer;
}


.td-compleated{
    background-color: gainsboro;
}

.custome-textarea{
    resize:none;
    width:100%;
}

.custome-modal-header{
    background-color: gainsboro;
}

.detail_pdf {
    width: 75%;
    height: 100%;
    display: block;
    margin: 0 auto;
    padding: 0 0 0 0;
    outline: none;
}

.contents-paage-button{
    padding: 7px 10px 7px 10px;
}

.pdf-iframe{
    border: none;
    width: 75%;
    height: 100%;
}

.user-table-thead{
    background-color:white;
}

.theme-ul{
    list-style:none;
    margin-top: 10px;
    margin-bottom: 20px;
}

.li-root-div {
    background-color: #ffdead;
}
.li-child-div {
    background-color: #fff5e6;
}
.theme-ul-theme {
    background-color: none;
}


.theme-li{
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Cardに横長画像が入ってきた場合、画面サイズが小さいとはみ出るのでメディアクエリでmax-widthを変更 */
@media screen and (min-width: 491px) and (max-width: 768px) {
    .card-img {
        border-radius: 5px 5px 0 0;
        width: auto;
        max-width: 250px;
        max-height: 250px;
    }


    .grid-parent {
        display: flex;
        justify-content: center;
    }

    .contents-paage-button {
        margin: 5px 0 5px 0;
    }

    .pdf-parent {
        text-align: center;
        height: 300px;
    }
}

@media screen and (min-width: 320px) and (max-width: 490px) {

    .card-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        grid-auto-rows: 1fr;
        grid-gap: 0.8em;
        padding: 0.5em;
        margin: 0 0 0em;
    }
        .card-grid > .item {
            overflow: auto;
            min-width: 0;
            padding: 0.2em;
        }


    .card-img {
        border-radius: 5px 5px 0 0;
        width: auto;
        max-width: 200px;
        max-height: 200px;
    }

    .card-content{

        padding-bottom:5px;
        padding-top:5px;
    }

    .grid-parent {
        display: flex;
        justify-content: center;
    }

    .contents-paage-button {
        margin: 5px 0 5px 0;
    }

    .pdf-parent {
        text-align: center;
        height: 250px;
    }
}
