body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    margin: 0;
    overflow-y: scroll;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/*body > * {
    padding: 20px 10%;
}
*/

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: normal;
}

h1 {
    color: #435896;
    text-align: center;
}

p, input {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

input[type="checkbox"] {
    vertical-align: middle;
}

header {
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#logo {
    height: inherit;
}

.search {
    display: flex;
    align-items: center;
    max-width: 30em;
    margin: 0 auto;
    background: #F5F5F5;
    opacity: 0.78;
    color: #666666;
    border: 1px solid #999999;
    border-radius: 2px;
    padding: 6px 12px;
}

    .search input {
        flex: 1;
        font-family: Open Sans;
        font-size: 14px;
        line-height: 20px;
        border: none;
        background: inherit;
    }

    .search input:focus {
        outline: none;
    }

    .search button {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        margin-right: -3px;
        cursor: pointer;
    }

/*.recipe-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18em, 1fr));
    grid-gap: 20px;
}
*/

.recipe-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18em, 1fr));
    grid-gap: 20px;
    margin-top: 10px;
}


.recipe-list-item {
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
}

    .recipe-list-item a {
        text-decoration: none;
        color: inherit;
    }

    .recipe-list-item:hover {
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
    }

.recipe-card {
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 12px;
}

    .recipe-card img {
        width: 100%;
        aspect-ratio: 508 / 472;
        object-fit: cover;
    }

.recipe-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0px 8px 0px 8px;
}

.recipe-card-name {
    margin: 1rem 0 1rem 0;
}

.recipe-card-source {
    margin-top: 0;
}

.recipe-card .star-rating {
    margin-top: auto;
    justify-content: flex-end;
}

.back-link {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    color: #435869;
    text-decoration: none;
}

.source-and-servings {
    text-align: center;
    text-transform: uppercase;
    color: #212A31;
    text-align: center;
    margin: 5px 0;
}

.recipe > .star-rating-avg {
    text-align: center;
    margin: 5px auto;
}

.recipe-banner {
    display: block;
    width: 125%;
    margin: 0 -12.5%;
    aspect-ratio: 1261 / 508;
    object-fit: cover;
}

.recipe-details {
    padding: 0 5%;
}

    .recipe-details ul {
        list-style: none;
        padding: 0;
    }

.tag {
    color: inherit;
    font-size: 0.8em;
    text-decoration: none;
    background-color: #eaeaea;
    text-transform: uppercase;
    padding: 0 4px;
}

button {
    padding: 6px 25px;
    font-family: Playfair Display;
    color: white;
    background-color: #435869;
    border-radius: 2px;
    border: 0;
}

button:hover {
    background-color: #334452;
}

button:active {
    background-color: #26343f;
}

.review-editor {
    margin-bottom: 10px;
}

input.invalid, textarea.invalid, div.invalid {
    border: 1px solid red;
}

.validation-errors, .validation-message {
    color: red;
    margin-bottom: 0.5rem;
}

.reviews .rating
{
    display: none;
}

footer {
    margin-top: auto;
    height: 65px;
    background: #435869;
    font-family: 'Playfair Display', serif;
    color: white;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/open-sans-v34-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    src: local(''), url('fonts/playfair-display-v30-latin-regular.woff2') format('woff2');
}

.sortable-ghost {
    background-color: #ddd;
}

.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*+++ app.cssから移動 +++*/
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}
/*--- app.cssから移動 ---*/

.cellnowrap {
    white-space: nowrap;
}

/*+++ minio復号化の検証用 +++*/
.form-container-minio {
    max-width: 400px;
    margin: 20px auto;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.form-control-minio {
    width: 100%;
    padding: 8px;
    margin: 5px 0 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn-minio {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary-minio {
    background-color: #007bff;
    color: white;
}

    .btn-primary-minio:hover {
        background-color: #0056b3;
    }
/*--- minio復号化の検証用 ---*/

/*+++ モーダル表示 +++*/
/* Center the modal on larger screens */
/*.modal-dialog {
    margin-top: 10%;
}
*/

/* Add custom focus styles for inputs */
#editForm input:focus,
#editForm textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}


/* Customize form layout */
.form-label {
    font-weight: normal;
}

.form-control-plaintext {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 5px 10px;
    border-radius: 5px;
}


/* Style for the dl, dt, dd elements */
dl.row {
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

dt {
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    font-weight: bold;
}

dd {
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    margin-left: 0;
}

.editable {
    font-family: 'Playfair Display', serif;
    font-weight: normal;
    margin-top: -5px;
}
/*--- モーダル表示 ---*/

/*+++ ユーザー管理画面 +++*/
/* ヘッダーの高さを固定 */
.headerrow-fixed {
    height: 40px; /* 固定の高さを指定 */
    white-space: nowrap; /* ヘッダー内のテキストを1行に収める */
    background-color: var(--bs-primary); /* プライマリカラー */
    color: #fff; /* 白い文字 */
    /*color: var(--bs-body-color);*/ /* テキストカラーをテーマに応じて調整 */
    /*line-height: 50px;*/ /* テキストを縦中央に配置 */
    /*background-color: #f8f9fa;*/ /* ヘッダーの背景色 */
}

.filterrow-fixed {
    height: 40px; /* 固定の高さを指定 */
    white-space: nowrap; /* ヘッダー内のテキストを1行に収める */
    background-color: rgba(var(--bs-primary-rgb), 0.25); /* プライマリカラー透明度25% */
    color: #fff; /* 白い文字 */
    /*background-color: rgba(var(--bs-primary-rgb), 0.25);*/ /* プライマリカラー透明度25% */
    /*line-height: 50px;*/ /* テキストを縦中央に配置 */
    /*background-color: #f8f9fa;*/ /* ヘッダーの背景色 */
}
/*--- ユーザー管理画面 ---*/


/*+++ 初期表示画面 +++*/
/* ヘッダーの高さを固定 */
.headerrow-ini-fixed {
    height: 40px; /* 固定の高さを指定 */
    white-space: nowrap; /* ヘッダー内のテキストを1行に収める */
    background-color: rgba(var(--bs-danger-rgb), 0.75);
    color: #fff; /* 白い文字 */
}

.filterrow-ini-fixed {
    height: 40px; /* 固定の高さを指定 */
    white-space: nowrap; /* ヘッダー内のテキストを1行に収める */
    background-color: rgba(var(--bs-danger-rgb), 0.25); /* カラー透明度25% */
    color: #fff; /* 白い文字 */
}

.centered-container {
    display: block; /* ブロック要素として表示 */
    /*display: grid;*/
    place-items: start; /* 上に配置 */
    justify-items: center; /* 横方向に中央に配置 */
    /*height: 100vh;*/
    width: 100%; /* 横幅を100%に設定 */
    margin: 0;
}

.left-container {
    display: block; /* ブロック要素として表示 */
    /*display: grid;*/
    place-items: start; /* 上に配置 */
    /*justify-items: center;*/ /* 横方向に中央に配置 */
    /*height: 100vh;*/
    width: 100%; /* 横幅を100%に設定 */
    margin: 0;
}

/*--- 初期表示画面 ---*/

/*+++ 店舗画面 +++*/
/* ヘッダーの高さを固定 */
.headerrow-store-fixed {
    height: 40px; /* 固定の高さを指定 */
    white-space: nowrap; /* ヘッダー内のテキストを1行に収める */
    background-color: rgba(255, 165, 0, 1.0); /* オレンジ色 */
    color: #fff; /* 白い文字 */
}

.filterrow-store-fixed {
    height: 40px; /* 固定の高さを指定 */
    white-space: nowrap; /* ヘッダー内のテキストを1行に収める */
    background-color: rgba(255, 165, 0, 0.35); /* オレンジ色 */
    color: #fff; /* 白い文字 */
}
/*--- 店舗画面 ---*/

/*+++ モール画面 +++*/
/* ヘッダーの高さを固定 */
.headerrow-mall-fixed {
    height: 40px; /* 固定の高さを指定 */
    white-space: nowrap; /* ヘッダー内のテキストを1行に収める */
    background-color: rgba(0, 128, 0, 0.95); /* 緑色 */
    color: #fff; /* 白い文字 */
}

.filterrow-mall-fixed {
    height: 40px; /* 固定の高さを指定 */
    white-space: nowrap; /* ヘッダー内のテキストを1行に収める */
    background-color: rgba(0, 128, 0, 0.35); /* 緑色 */
    color: #fff; /* 白い文字 */
}
/*--- モール画面 ---*/

.inputselect-placeholder {
    color: #a9a9a9;
    opacity: 0.6; /* 透明度を少し下げる */
}

legend {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2); /* 薄い黒色の線 */
}

/*+++ 店舗とモール組合せ画面 +++*/
.headerrow-storemall-fixed {
    height: 40px; /* 固定の高さを指定 */
    white-space: nowrap; /* ヘッダー内のテキストを1行に収める */
    background-color: rgba(203, 93, 0, 1.0); /* オレンジ色に近いブラウン系の色 */
    color: #fff; /* 白い文字 */
}

.filterrow-storemall-fixed {
    height: 40px; /* 固定の高さを指定 */
    white-space: nowrap; /* ヘッダー内のテキストを1行に収める */
    background-color: rgba(203, 93, 0, 0.5); /* オレンジ色に近いブラウン系の色 */
    color: #fff; /* 白い文字 */
}
/*--- 店舗とモール組合せ画面 ---*/

/*+++ ユーザーと店舗とモール組合せ画面 +++*/
.headerrow-userstoremall-fixed {
    height: 40px; /* 固定の高さを指定 */
    white-space: nowrap; /* ヘッダー内のテキストを1行に収める */
    background-color: rgba(15, 181, 174, 1.0); /* 緑と青が強く、赤が弱めの色 */
    color: #fff; /* 白い文字 */
}

.filterrow-userstoremall-fixed {
    height: 40px; /* 固定の高さを指定 */
    white-space: nowrap; /* ヘッダー内のテキストを1行に収める */
    background-color: rgba(15, 181, 174, 0.5); /* 緑と青が強く、赤が弱めの色 */
    color: #fff; /* 白い文字 */
}
/*--- ユーザーと店舗とモール組合せ画面 ---*/

/*+++ タスク管理画面 +++*/
.headerrow-task-fixed {
    height: 40px; /* 固定の高さを指定 */
    white-space: nowrap; /* ヘッダー内のテキストを1行に収める */
    background-color: rgba(47, 79, 79, 1.0); /* 鮮やかなオレンジ色 */
    color: #fff; /* 白い文字 */
}

.filterrow-task-fixed {
    height: 40px; /* 固定の高さを指定 */
    white-space: nowrap; /* ヘッダー内のテキストを1行に収める */
    background-color: rgba(47, 79, 79, 0.5); /* 鮮やかなオレンジ色 */
    color: #fff; /* 白い文字 */
}

.headerrow-task-input-fixed {
    height: 10px; /* 固定の高さを指定 */
    white-space: nowrap; /* ヘッダー内のテキストを1行に収める */
    background-color: rgba(47, 79, 79, 1.0); /* 鮮やかなオレンジ色 */
    color: #fff; /* 白い文字 */
    font-size: 14px; /* フォントサイズを指定 */
    line-height: 14px; /* 高さと揃えるための行の高さ */
}
/*--- タスク管理画面 ---*/

/*+++ FTPアカウントの接続確認中のローディング中 +++*/
/*.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;*/ /* 縦方向に要素を並べる */
/*justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.6);*/ /* 半透明のオーバーレイ */
/*z-index: 1;
}*/
.loading-overlay {
    position: absolute; /* 絶対位置ではなく、画面全体をカバー */
    top: 0;
    left: 0;
    width: 100%; /* ビューポート幅いっぱい */
    height: 100%; /* ビューポート高さいっぱい */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*align-items: flex-start;*/
    background-color: rgba(255, 255, 255, 0.6); /* 半透明のオーバーレイ */
    z-index: 1; /* 他の要素より前面に表示 */
}

.custom-fieldset {
    border: 1px solid #6c757d; /* グレーの枠 */
    border-radius: 5px; /* 角を少し丸める */
    padding: 10px; /* 内側の余白 */
}

.ftp-account-custom-height {
    height: 700px;
}
/*--- FTPアカウントの接続確認中のローディング中 ---*/

/*+++ タスクのファイル読込みローディング中 +++*/
.loading-text {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px; /* プログレスバーとの間隔調整 */
    color: #000; /* 文字色 */
    background-color: rgba(255, 255, 255, 1); /* 少し透明感のある白 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);   /* 軽い影を追加 */
}

@media (max-width: 768px) {
    .loading-text {
        font-size: 0.9rem; /* 画面が小さい場合、さらに縮小 */
    }
}

.task-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin-top: 50px; /* 中央より少し下にずらす */
}
/*--- タスクのファイル読込みローディング中 ---*/

/*+++ タスク登録画面 +++*/
.filterrow-task-input-fixed {
    height: 10px; /* 固定の高さを指定 */
    white-space: nowrap; /* ヘッダー内のテキストを1行に収める */
    background-color: rgba(47, 79, 79, 0.5); /* 鮮やかなオレンジ色 */
    color: #fff; /* 白い文字 */
    font-size: 14px; /* フォントサイズを指定 */
    line-height: 14px; /* 高さと揃えるための行の高さ */
}

.scrollable-task-container {
    position: relative;
    overflow-y: auto; /* 必要なときに縦スクロール表示 */
    overflow-x: hidden; /* 横スクロール非表示 */
    flex-grow: 1; /* 親の空きスペースを埋める */
    max-height: calc(100vh - 140px); /* 画面の高さから140pxを引いた値を最大高さとする */
    padding: 2px; /* 内側の余白 */
}

.flex-task-column {
    display: flex; /* フレックスコンテナとして設定 */
    flex-direction: column; /* 子要素を縦方向（列方向）に配置 */
}

.modal-task-body-class {
    padding: 2px;
}

.scrollable-task-textarea-box {
    height: 50px; /* 高さを50pxに固定 */
    overflow-y: auto; /* 縦方向にスクロールを許可（内容が溢れた場合のみ表示） */
}

.grid-task-size {
    max-height: 100px; /* 高さの最大値を100pxに制限 */
    max-width: 100%; /* 幅の最大値を親要素の100%に制限 */
}

.custom-task-fieldset {
    border: 1px solid #6c757d; /* グレーの枠 */
    border-radius: 5px; /* 角を少し丸める */
    padding: 5px; /* 内側の余白 */
}

.task-custom-height {
    height: 700px;
}
/*--- タスク登録画面 ---*/

.small-nav-items .nav-link {
    font-size: 1.2rem !important;
    padding-left: 0.05rem !important;
}

/*+++ モーダルのPDF表示 +++*/
.custom-modal-pdf {
    max-width: none;
    max-height: none;
    width: 80vw;
    height: 97vh;
    margin: 0 auto;
}

    .custom-modal-pdf .modal-content {
        width: 100%;
        height: 100%;
    }

    .custom-modal-pdf .modal-body {
        height: 100%;
        padding: 0;
    }

.centered-pdf-frame {
    border: none;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
}
/*--- モーダルのPDF表示 ---*/

/*+++ トーストのz-index +++*/
.custom-toast-zindex {
    position: fixed;
    z-index: 10;
}
/*--- トーストのz-index ---*/

/*+++ グリッドの列の最大表示幅 +++*/
.text-ellipsis {
    display: inline-block;
    max-width: 300px; /* 表示幅を制限 */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: middle;
}