﻿/* #region 全体*/
.page {
    padding-left: 5px;
    padding-right: 5px;
    display: flex;
    flex-direction: column;
    gap: 8px; /*部品ごとの間隔*/
}
p {
    margin: 0;
}

/* #endregion */

/* #region プログレス（Step）*/
.progressbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .progressbar .item {
        position: relative;
        width: 33%;
        text-align: center;
        position: relative;
        align-items: center;
        justify-content: center;
        padding: 13px 0;
        line-height: 1.5;
        background: #F5F5F5;
        color: #999999;
    }
        .progressbar .item:not(:last-child)::before,
        .progressbar .item:not(:last-child)::after {
            position: absolute;
            z-index: 2;
            top: 0;
            bottom: 0;
            left: 100%;
            content: '';
            border: 34px solid transparent;
            border-left: 34px solid #F5F5F5;
            margin: auto;
        }
        .progressbar .item:not(:last-child)::before {
            margin-left: 1px;
            border-left-color: #FFF;
        }

        /* active */
        .progressbar .item.active {
            z-index: 1;
            background: #0070BD;
            color: #FFF;
        }
            .progressbar .item.active:not(:last-child)::after {
                border-left-color: #0070bd;
            }

            .progressbar .item.active:not(:last-child)::before {
                border-left: none;
            }
@media screen and (max-width: 767px) {
    .progressbar .item {
        font-size: 11px;
        line-height: 1.4;
        padding: 10px 0;
    }

        .progressbar .item:not(:last-child)::before,
        .progressbar .item:not(:last-child)::after {
            border-width: 25px;
            border-left-width: 12px;
        }
}
/* #endregion */

/* #region 情報入力エリア*/
.page-content-flex {
    display: flex;
    flex-direction: column;
    gap: 8px; /*panelごとの間隔*/
}
.panel-content {
    background-color: white;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-control {
    background-color: #F9FCFD;
    border: none;
    border-bottom: 1px solid gray;
    border-radius: 0;
}
.form-control-err {
    background-color: #FDE6E6 !important;
    border-bottom: 1px solid red !important;
}
/*確認画面のinputの背景色を強制（readonlyだと深いグレー）*/
.conritmForm .form-control {
    background-color: #F9FCFD !important;
}
/*警告文字列*/
.label-warning {
    background-color: unset;
    color: red;
    font-size: 13px;
}

/*情報文字列*/
.panel-info {
    color: #0073C8;
    font-size: 13px;
}
/*エラー表示*/
.alert-message {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    gap: 5px;
    color:red;
}
.alert-icon {
    height: 18px;
    width: 18px;
    fill:red;
}
.alert-message p {
    font-size: 13px;
}
/* #region パネルヘッダ*/
.panel-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/*パネルのタイトル*/
.panel-title {
    font-weight: bold;
    font-size: 18px;
    color: #0073C8;
}

/*「必須」「任意」*/
.panel-required,
.panel-optional {
    height: 20px;
    width: 50px;
    border-radius: 5px;
    border: 1px solid #0073C8;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    font-weight: bold;
}
.panel-required {
    color: white;
    background: #0073C8;
}
.panel-optional {
    color: #0073C8;
    background: white;
}

/* #endregion */

/*縦並び*/
.panel-inputArea,
.panel-inputArea-group3,
.panel-inputArea-group2,
.panel-inputItem {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/*横並び*/
.panel-inputArea-group,
.panel-inputArea-group4,
.panel-inputArea-inputItem-flexRow {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}
.panel-inputArea-inputItem-flexRow {
    flex-wrap: wrap;
}
    
.panel-inputArea {
    margin-left: 10px;
}
.panel-inputArea-group2 {
    margin-left: 10px;
}
.panel-inputArea-group4 {
    justify-content: left;
    flex-wrap: wrap;
}
.panel-inputItem {
    gap: 2px;
    width: 100%;
}


.panel-inputArea-group-title {
    width: 50px;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

/*入力欄のタイトル*/
#content4 .panel-inputArea-group-title,
#content10 .panel-inputArea-group-title {
    width: 90px;
}
#content5 .panel-inputArea-group-title{
    width: 70px;
}
#content9 .panel-inputArea-group3 .panel-inputArea-group-title {
    width: 60px;
}
#content9 .panel-inputArea-group2 .panel-inputArea-group-title {
    width: 70px;
}

/*日付、時間の入力欄*/
input[type="date"] {
    width: 200px;
    text-align: center;
}
input[type="time"] {
    width: 120px;
    text-align: center;
}
/*テキストエリア（備考）の横サイズ固定化*/
textarea {
    resize: vertical;
    width: 100%;
    min-height: 50px;   /*最小の縦サイズ*/
}
/*ドロップダウンリスト*/
.panel-list{
    width:200px;
}

#content2 input[type="text"] {
    width: 200px;
}
#content5 input{
    width:150px;
    text-align:right;
}
/* #endregion */

.panel-showArea {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-wrap: break-word;
    word-break: break-all;
}
/* #region 下部、作業ボタン*/
.buttonArea {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 10px;
}
/* #endregion */




