﻿#body1210 [name="ColumnTorokuDateTime"] {
    width: 14%;
    min-width: 140px;
}

#body1210 [name="ColumnJishoShuruiMei"] {
    width: 15%;
}

#body1210 [name="ColumnJishoKenmei"] {
    width: 30%;
}

#body1210 [name="ColumnNaiyo"] {
    width: 41%;
}

@media (min-width: 768px) {
    #body1210 .itiran-card-list-area {
        display: none;
    }

    #body1210 .noti-mobile-header {
        display: none;
    }

    #body1210 div.itiran-search-area {
        display: flex;
        top: 127px;
    }
}

@media (max-width: 767px ) {
    #body1210 {
        display: flex;
        /* 子要素の並び方向を縦方向に指定 */
        flex-direction: column;
        height: 100dvh;
    }

    #body1210 #CreateHasseiJishoButton {
        display: none;
    }

    #body1210 div.tab-control-area {
        display: none;
    }

    #body1210 div.itiran-table-heder-area {
        display: none;
    }

    #body1210 div.itiran-table-detail-area {
        display: none;
    }

    #body1210 .filter {
        display: none;
    }

    #body1210 div.itiran-search-area {
        height: 105px;
        flex: 0 0 auto;
        position: static;
        padding-left: 10px;
    }


    #body1210 .noti-mobile-header {
        display: flex;
        /* アイテムを交差軸の中央揃え */
        align-items: center;
        padding-top: 8px;
    }

    #body1210 .filter-group {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 8px;
        row-gap: 4px;
    }

    #body1210 label.readonly {
        margin-right: 0px;
        color: black;
    }


    #body1210 .itiran-card-list-area {
        flex: 1 1 auto;
        /* 常時スクロールバー表示 */
        overflow-y: auto;
        /* 横方向へのスクロールの禁止 */
        overflow-x: hidden;
    }

    #body1210 .card-content {
        border: 1px solid #ddd;
        box-sizing: border-box;
        padding-top: 10px;
        padding-inline: 10px;
        white-space: normal;
        overflow-wrap: break-word;
        height: 115px;
    }

    #body1210 .card-content:hover {
        font-weight: bold;
        background-color: #eeffff;
        cursor: pointer;
    }

    #body1210 .card-row-top {
        display: flex;
        /* 要素をカードの両端に配置 */
        justify-content: space-between;
        align-items: center;
        color: #555;
    }

    #body1210 .card-type {
        flex: 6;
        /* テキストがコンテナの幅を超えた場合に三点リーダーで表示 */
        text-overflow: ellipsis;
        /* テキスト折り返さない */
        white-space: nowrap;
        /* はみ出した要素を非表示 */
        overflow: hidden;
    }

    #body1210 .card-date {
        flex: 4;
        text-align: right;
        /* テキストがコンテナの幅を超えた場合に三点リーダーで表示 */
        text-overflow: ellipsis;
        /* テキスト折り返さない */
        white-space: nowrap;
        /* はみ出した要素を非表示 */
        overflow: hidden;
    }

    #body1210 .card-content:hover .card-date {
        width: 140px;
        text-align: right;
    }

    #body1210 .card-kenmei {
        color: #555;
        /* テキストがコンテナの幅を超えた場合に三点リーダーで表示 */
        text-overflow: ellipsis;
        /* テキスト折り返さない */
        white-space: nowrap;
        /* はみ出した要素を非表示 */
        overflow: hidden;
        inset-inline: 3%;
        height: 20px;
    }

    #body1210 .card-naiyo {
        display: -webkit-box;
        /* コンテンツの流れる方向を「縦（上下方向）」に指定 */
        -webkit-box-orient: vertical;
        /* 表示するテキストを3行で切り、4行目以降を非表示化 */
        -webkit-line-clamp: 2;
        /* はみ出たコンテンツを表示せずに隠す */
        overflow: hidden;
        inset-inline: 3%;
        padding-top: 5px;
        padding-bottom: 3px;
        font-size: 15px;
    }

    #body1210 .mobile-filter {
        /* テキストがコンテナの幅を超えた場合に三点リーダーで表示 */
        text-overflow: ellipsis;
        /* テキスト折り返さない */
        white-space: nowrap;
        /* はみ出した要素を非表示 */
        overflow: hidden;
        /*  セレクトボックスのデフォルトの矢印を非表示化  */
        appearance: none;
    }

    /*　セレクトボックスの矢印を自前で作成　*/
    #body1210 .select-arrow {
        position: relative;
    }

    #body1210 .select-arrow::after {
        left: 165px;
        top: 45%;
        width: 5px;
        height: 5px;
        position: absolute;
        content: "";
        border-right: 2px solid #6b7280;
        border-bottom: 2px solid #6b7280;
        transform: translateY(-70%) rotate(45deg);
        pointer-events: none;
    }

    #body1210 .br {
        display: none;
    }

    #body1210 .page-title {
        font-size: 17px;
    }

    #body1210 .itiran-footer-area {
        height: 120px;
        flex: 0 0 auto;
        position: relative;
    }

    #body1210 div.pager-area {
        left: 50%;
        transform: translateX(-50%);
        position: absolute;
        top: 10px;
    }

}
