﻿#body1220 [name="ColumnLastUpdateDateTime"] {
    width: 14%;
    min-width: 120px;
}

#body1220 [name="ColumnSenmei"] {
    width: 20%;
}

#body1220 [name="ColumnTenpuFile"] {
    width: 9%;
}

#body1220 [name="ColumnKinkyuRenraku"] {
    width: 7%;
}

#body1220 [name="ColumnSagyoYokushi"] {
    width: 9%;
}

#body1220 [name="ColumnJishoShuruiMei"] {
    width: 20%;
}

#body1220 [name="ColumnKenmei"] {
    width: 20%;
}

@media (min-width: 768px) {
    #body1220 .itiran-card-list-area {
        display: none;
    }

    #body1220 .noti-mobile-header {
        display: none;
    }

    #body1220 div.itiran-search-area {
        display: flex;
        top: 127px;
    }
}

@media (max-width: 767px ) {
    #body1220 {
        display: flex;
        /* 子要素の並び方向を縦方向に指定 */
        flex-direction: column;
        height: 100dvh;
    }

    #body1220 div.tab-control-area {
        display: none;
    }

    #body1220 div.itiran-table-heder-area {
        display: none;
    }

    #body1220 div.itiran-table-detail-area {
        display: none;
    }

    #body1220 .filter {
        display: none;
    }

    #body1220 .page-title {
        font-size: 17px;
    }

    #body1220 div.itiran-search-area {
        height: 85px;
        flex: 0 0 auto;
        position: static;
        padding-left: 10px;
    }

    #body1220 div.itiran-search-area select {
        font-size: 13px;   
        width: 200px;  
        height: 33px;  
    }

    #body1220 .noti-mobile-header {
        display: flex;
        /* アイテムを交差軸の中央揃え */
        align-items: center;
        padding-top: 8px;
    }

    .filter-group {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 8px;
        row-gap: 4px;
    }

    /* セレクトボックスのデフォルトの矢印を非表示化  */
    #body1220 .mobile-filter {
        appearance: none;
    }

    /*　セレクトボックスの矢印を自前で作成　*/
    #body1220 .select-arrow {
        position: relative;
    }

    #body1220 .select-arrow::after {
        left: 180px;
        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;
    }

    #body1220 label.readonly {
        margin-right: 0px;
        color: black;
    }

    #body1220 .itiran-card-list-area {
        flex: 1 1 auto;
        /* 常時スクロールバー表示 */
        overflow-y: auto;
        /* 横方向へのスクロールの禁止 */
        overflow-x: hidden;
    }

    #body1220 .card-content {
        border: 1px solid #ddd;
        box-sizing: border-box;
        padding-top: 10px;
        padding-inline: 10px;
        white-space: normal;
        overflow-wrap: break-word;
        height: 122px;
    }

    #body1220 .card-content:hover {
        font-weight: bold;
        background-color: #eeffff;
        cursor: pointer;
    }

    #body1220 .card-row-top {
        display: flex;
        /* 要素をカードの両端に配置 */
        justify-content: space-between;
        align-items: center;
        color: #555;
    }

    #body1220 .card-body {
        display: flex;
        justify-content: flex-start;
    }

    #body1220 .left-content {
        flex: 0 0 80%;
        min-width: 0;
        /* テキストがコンテナの幅を超えた場合に三点リーダーで表示 */
        text-overflow: ellipsis;
        /* テキスト折り返さない */
        white-space: nowrap;
        /* はみ出した要素を非表示 */
        overflow: hidden;
    }

    #body1220 .card-type {
        flex: 6;
        /* テキストがコンテナの幅を超えた場合に三点リーダーで表示 */
        text-overflow: ellipsis;
        /* テキスト折り返さない */
        white-space: nowrap;
        /* はみ出した要素を非表示 */
        overflow: hidden;
    }

    #body1220 .card-date {
        flex: 4;
        text-align: right;
        /* テキストがコンテナの幅を超えた場合に三点リーダーで表示 */
        text-overflow: ellipsis;
        /* テキスト折り返さない */
        white-space: nowrap;
        /* はみ出した要素を非表示 */
        overflow: hidden;
    }

    #body1220 .card-kenmei {
        font-size: 13px;
        height: 20px;
        color: #555;
        /* テキストがコンテナの幅を超えた場合に三点リーダーで表示 */
        text-overflow: ellipsis;
        /* テキスト折り返さない */
        white-space: nowrap;
        /* はみ出した要素を非表示 */
        overflow: hidden;
        inset-inline: 3%;
    }

    #body1220 .card-senmei {
        /* テキストがコンテナの幅を超えた場合に三点リーダーで表示 */
        text-overflow: ellipsis;
        /* テキスト折り返さない */
        white-space: nowrap;
        /* はみ出した要素を非表示 */
        overflow: hidden;
    }

    #body1220 .umu-group {
        display: inline-block;
        padding-top: 3px;
        max-width: 100%;
    }

    #body1220 .card-sagyo-yokushi-umu,
    #body1220 .card-kinkyu-renraku-umu {
        display: block;
        width: 8em;
        /* テキストがコンテナの幅を超えた場合に三点リーダーで表示 */
        text-overflow: ellipsis;
        /* テキスト折り返さない */
        white-space: nowrap;
        /* はみ出した要素を非表示 */
        overflow: hidden;
        width: 100%;
    }

    #body1220 .card-sagyo-yokushi-umu {
        text-align: left;
    }

    #body1220 .card-kinkyu-renraku-umu {
        text-align: right;
    }

    #body1220 .right-content {
        width: 20%;
    }

    #body1220 .file {
        width: 20px;
        height: 25px;
    }

    #body1220 .br {
        display: none;
    }

    #body1220 .itiran-footer-area {
        height: 120px;
        flex: 0 0 auto;
        position: relative;
    }

    #body1220 div.pager-area {
        left: 50%;
        transform: translateX(-50%);
        position: absolute;
        top: 10px;
    }
}
