/* /Components/Admin/Shared/AdminImageUploader.razor.rz.scp.css */
.admin-image-preview[b-26pj64fuo9] {
    display: inline-block;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 4px;
    background: #fafafa;
}

.admin-image-thumb[b-26pj64fuo9] {
    display: block;
    max-width: 220px;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}
/* /Components/Admin/Shared/KnowledgeBodyEditor.razor.rz.scp.css */
/* 住まいのお役立ちコラム本文エディタの最低限の見た目（管理側は Tailwind 非適用のため独自に定義）。
   公開側の本文は Styles/app.tailwind.css の .article-body で整形される（ここは編集 UI 専用）。 */

/* WYSIWYG（Quill）エディタの高さを確保 */
.aun-knowledge-editor[b-csl6yfe9mu]  .ql-container {
    min-height: 320px;
    font-size: 1rem;
}

.aun-knowledge-editor[b-csl6yfe9mu]  .ql-editor {
    min-height: 320px;
    line-height: 1.8;
}

/* HTML 直接入力欄は等幅フォントで見やすく */
.aun-html-source[b-csl6yfe9mu]  textarea {
    font-family: "Consolas", "SFMono-Regular", "Menlo", monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* HTML モードのサニタイズ結果プレビュー（ブラウザ既定 + 最低限の整形。MarkdownEditor と同方針） */
.aun-body-preview[b-csl6yfe9mu] {
    padding: 1em;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    line-height: 1.8;
    word-break: break-word;
}

.aun-body-preview[b-csl6yfe9mu]  h2,
.aun-body-preview[b-csl6yfe9mu]  h3,
.aun-body-preview[b-csl6yfe9mu]  h4 {
    font-weight: 700;
    line-height: 1.4;
    margin: 1.2em 0 0.6em;
}

.aun-body-preview[b-csl6yfe9mu]  h2 { font-size: 1.4em; }
.aun-body-preview[b-csl6yfe9mu]  h3 { font-size: 1.2em; }
.aun-body-preview[b-csl6yfe9mu]  h4 { font-size: 1.05em; }

.aun-body-preview[b-csl6yfe9mu]  p { margin: 0.8em 0; }

.aun-body-preview[b-csl6yfe9mu]  ul,
.aun-body-preview[b-csl6yfe9mu]  ol {
    margin: 0.8em 0;
    padding-left: 1.6em;
}

.aun-body-preview[b-csl6yfe9mu]  li { margin: 0.3em 0; }

.aun-body-preview[b-csl6yfe9mu]  a {
    color: #7c3b00;
    text-decoration: underline;
}

.aun-body-preview[b-csl6yfe9mu]  strong { font-weight: 700; }

.aun-body-preview[b-csl6yfe9mu]  mark {
    background: linear-gradient(transparent 60%, #ffe593 0%);
}

.aun-body-preview[b-csl6yfe9mu]  img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.aun-body-preview[b-csl6yfe9mu]  table {
    border-collapse: collapse;
    margin: 0.8em 0;
}

.aun-body-preview[b-csl6yfe9mu]  th,
.aun-body-preview[b-csl6yfe9mu]  td {
    border: 1px solid #ddd;
    padding: 0.4em 0.8em;
}

.aun-body-preview[b-csl6yfe9mu]  blockquote {
    margin: 0.8em 0;
    padding: 0.2em 1em;
    border-left: 4px solid #e0e0e0;
    color: #555;
}

.aun-body-preview[b-csl6yfe9mu]  figure {
    margin: 1em 0;
}

.aun-body-preview[b-csl6yfe9mu]  figcaption {
    font-size: 0.85em;
    color: #777;
    text-align: center;
    margin-top: 0.4em;
}

.aun-body-preview[b-csl6yfe9mu]  iframe {
    max-width: 100%;
    aspect-ratio: 16 / 9;
    width: 100%;
    border: 0;
}
/* /Components/Admin/Shared/MarkdownEditor.razor.rz.scp.css */
/* プレビュー領域の最低限の見た目（管理側は Tailwind 非適用のため独自に定義）。
   MarkupString で差し込む HTML は子孫要素のため ::deep で対象にする。 */
.markdown-preview[b-02ffo7dsui] {
    line-height: 1.8;
    word-break: break-word;
}

.markdown-preview[b-02ffo7dsui]  h1,
.markdown-preview[b-02ffo7dsui]  h2,
.markdown-preview[b-02ffo7dsui]  h3,
.markdown-preview[b-02ffo7dsui]  h4 {
    font-weight: 700;
    line-height: 1.4;
    margin: 1.2em 0 0.6em;
}

.markdown-preview[b-02ffo7dsui]  h1 { font-size: 1.6em; }
.markdown-preview[b-02ffo7dsui]  h2 { font-size: 1.4em; }
.markdown-preview[b-02ffo7dsui]  h3 { font-size: 1.2em; }

.markdown-preview[b-02ffo7dsui]  p { margin: 0.8em 0; }

.markdown-preview[b-02ffo7dsui]  ul,
.markdown-preview[b-02ffo7dsui]  ol {
    margin: 0.8em 0;
    padding-left: 1.6em;
}

.markdown-preview[b-02ffo7dsui]  li { margin: 0.3em 0; }

.markdown-preview[b-02ffo7dsui]  a {
    color: #1976d2;
    text-decoration: underline;
}

.markdown-preview[b-02ffo7dsui]  img {
    max-width: 100%;
    height: auto;
}

.markdown-preview[b-02ffo7dsui]  blockquote {
    margin: 0.8em 0;
    padding: 0.2em 1em;
    border-left: 4px solid #e0e0e0;
    color: #555;
}

.markdown-preview[b-02ffo7dsui]  table {
    border-collapse: collapse;
    margin: 0.8em 0;
}

.markdown-preview[b-02ffo7dsui]  th,
.markdown-preview[b-02ffo7dsui]  td {
    border: 1px solid #ddd;
    padding: 0.4em 0.8em;
}

.markdown-preview[b-02ffo7dsui]  code {
    background: #f5f5f5;
    padding: 0.1em 0.3em;
    border-radius: 3px;
    font-size: 0.9em;
}

.markdown-preview[b-02ffo7dsui]  pre {
    background: #f5f5f5;
    padding: 1em;
    border-radius: 4px;
    overflow-x: auto;
}
/* /Components/Admin/Shared/PositionSelector.razor.rz.scp.css */
/* 3×3 位置セレクタ（PositionSelector.razor）。管理画面（MudBlazor）用に CSS isolation で完結させる。 */

.position-grid[b-ibtm4zpk7v] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    width: 132px;
    aspect-ratio: 1 / 1;
}

.position-cell[b-ibtm4zpk7v] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--mud-palette-lines-default, #cfcfcf);
    border-radius: 4px;
    background-color: var(--mud-palette-surface, #fff);
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

.position-cell:hover[b-ibtm4zpk7v] {
    border-color: var(--mud-palette-primary, #594ae2);
    background-color: var(--mud-palette-action-default-hover, rgba(0, 0, 0, .06));
}

.position-cell.is-selected[b-ibtm4zpk7v] {
    border-color: var(--mud-palette-primary, #594ae2);
    background-color: var(--mud-palette-primary, #594ae2);
}

.position-dot[b-ibtm4zpk7v] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--mud-palette-text-secondary, #9e9e9e);
}

.position-cell.is-selected .position-dot[b-ibtm4zpk7v] {
    width: 12px;
    height: 12px;
    background-color: var(--mud-palette-primary-text, #fff);
}
/* /Components/Layout/AccountLayout.razor.rz.scp.css */
/* Identity ページ（/admin/account/*）用の最小スタイル。
   テンプレート由来の Bootstrap 風クラスを CSS isolation（::deep）で必要分のみ実装する。
   公開側 Tailwind・管理側 MudBlazor とは独立（docs/10-design-01 §4）。 */

.account-page[b-nnntycbkbv] {
    min-height: 100vh;
    background: #f5f5f4;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, system-ui, sans-serif;
    color: #1c1917;
    line-height: 1.6;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

.account-container[b-nnntycbkbv] {
    max-width: 960px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e7e5e4;
    border-radius: 8px;
    padding: 2rem;
    box-sizing: border-box;
}

.account-container[b-nnntycbkbv]  * {
    box-sizing: border-box;
}

.account-container[b-nnntycbkbv]  h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.account-container[b-nnntycbkbv]  h1:focus {
    outline: none;
}

.account-container[b-nnntycbkbv]  h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.account-container[b-nnntycbkbv]  h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.account-container[b-nnntycbkbv]  hr {
    border: 0;
    border-top: 1px solid #e7e5e4;
    margin: 1rem 0;
}

.account-container[b-nnntycbkbv]  a {
    color: #7c3b00;
    text-decoration: underline;
}

/* ---- グリッド（row / col-*） ---- */
.account-container[b-nnntycbkbv]  .row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.account-container[b-nnntycbkbv]  [class^="col-"],
.account-container[b-nnntycbkbv]  [class*=" col-"] {
    flex: 1 1 100%;
    min-width: 0;
}

@media (min-width: 768px) {
    .account-container[b-nnntycbkbv]  .col-md-4 { flex: 0 0 calc(33.333% - 1rem); }
    .account-container[b-nnntycbkbv]  .col-md-6 { flex: 0 0 calc(50% - 0.75rem); }
    .account-container[b-nnntycbkbv]  .col-md-12 { flex: 0 0 100%; }
}

@media (min-width: 992px) {
    .account-container[b-nnntycbkbv]  .col-lg-3 { flex: 0 0 calc(25% - 1.125rem); }
    .account-container[b-nnntycbkbv]  .col-lg-4 { flex: 0 0 calc(33.333% - 1rem); }
    .account-container[b-nnntycbkbv]  .col-lg-6 { flex: 0 0 calc(50% - 0.75rem); }
    .account-container[b-nnntycbkbv]  .col-lg-9 { flex: 0 0 calc(75% - 0.375rem); }
    .account-container[b-nnntycbkbv]  .col-lg-offset-2 { margin-left: 16.666%; }
}

@media (min-width: 1200px) {
    .account-container[b-nnntycbkbv]  .col-xl-6 { flex: 0 0 calc(50% - 0.75rem); }
}

/* ---- フォーム ---- */
.account-container[b-nnntycbkbv]  .form-floating {
    position: relative;
}

.account-container[b-nnntycbkbv]  .form-control {
    display: block;
    width: 100%;
    padding: 1.375rem 0.75rem 0.375rem;
    font-size: 1rem;
    border: 1px solid #d6d3d1;
    border-radius: 6px;
    background: #ffffff;
    color: inherit;
}

.account-container[b-nnntycbkbv]  .form-control:focus {
    outline: 2px solid #ffc300;
    outline-offset: -1px;
    border-color: #ffc300;
}

.account-container[b-nnntycbkbv]  .form-floating > label {
    position: absolute;
    top: 0.25rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: #78716c;
    pointer-events: none;
}

.account-container[b-nnntycbkbv]  .form-label {
    display: inline-block;
    margin-bottom: 0.25rem;
}

.account-container[b-nnntycbkbv]  .control-label {
    display: inline-block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.account-container[b-nnntycbkbv]  .form-check-input {
    width: 1rem;
    height: 1rem;
    margin-right: 0.375rem;
    accent-color: #7c3b00;
}

.account-container[b-nnntycbkbv]  .darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.account-container[b-nnntycbkbv]  .input-group {
    display: flex;
    align-items: stretch;
}

.account-container[b-nnntycbkbv]  .input-group .form-control {
    flex: 1 1 auto;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.account-container[b-nnntycbkbv]  .input-group-append {
    display: flex;
}

.account-container[b-nnntycbkbv]  .input-group-text {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border: 1px solid #d6d3d1;
    border-left: 0;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    background: #f5f5f4;
}

/* ---- ボタン ---- */
.account-container[b-nnntycbkbv]  .btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.account-container[b-nnntycbkbv]  .btn-lg {
    padding: 0.65rem 1.25rem;
}

.account-container[b-nnntycbkbv]  .btn-primary {
    background: #513e00;
    border-color: #513e00;
    color: #ffffff;
}

.account-container[b-nnntycbkbv]  .btn-primary:hover {
    background: #312600;
    border-color: #312600;
}

.account-container[b-nnntycbkbv]  .btn-danger {
    background: #b91c1c;
    border-color: #b91c1c;
    color: #ffffff;
}

.account-container[b-nnntycbkbv]  .btn-danger:hover {
    background: #991b1b;
}

.account-container[b-nnntycbkbv]  .btn-link {
    background: transparent;
    border-color: transparent;
    color: #7c3b00;
    text-decoration: underline;
}

/* ---- ナビ（Manage メニュー） ---- */
.account-container[b-nnntycbkbv]  .nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-container[b-nnntycbkbv]  .nav.flex-column {
    flex-direction: column;
}

.account-container[b-nnntycbkbv]  .nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    color: #44403c;
    text-decoration: none;
}

.account-container[b-nnntycbkbv]  .nav-link:hover {
    background: #f5f5f4;
}

.account-container[b-nnntycbkbv]  .nav-pills .nav-link.active {
    background: #513e00;
    color: #ffffff;
}

/* ---- アラート（StatusMessage） ---- */
.account-container[b-nnntycbkbv]  .alert {
    padding: 0.75rem 1rem;
    border: 1px solid transparent;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.account-container[b-nnntycbkbv]  .alert-success {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.account-container[b-nnntycbkbv]  .alert-danger {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #991b1b;
}

.account-container[b-nnntycbkbv]  .alert-info,
.account-container[b-nnntycbkbv]  .alert-warning {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}

/* ---- テキスト・ユーティリティ ---- */
.account-container[b-nnntycbkbv]  .text-danger { color: #b91c1c; }
.account-container[b-nnntycbkbv]  .text-success { color: #166534; }
.account-container[b-nnntycbkbv]  .text-info { color: #92400e; }
.account-container[b-nnntycbkbv]  .text-secondary { color: #78716c; }
.account-container[b-nnntycbkbv]  .font-weight-bold { font-weight: 700; }
.account-container[b-nnntycbkbv]  .w-100 { width: 100%; }
.account-container[b-nnntycbkbv]  .h-100 { height: 100%; }
.account-container[b-nnntycbkbv]  .d-flex { display: flex; }
.account-container[b-nnntycbkbv]  .flex-column { flex-direction: column; }
.account-container[b-nnntycbkbv]  .mx-auto { margin-left: auto; margin-right: auto; }
.account-container[b-nnntycbkbv]  .mt-2 { margin-top: 0.5rem; }
.account-container[b-nnntycbkbv]  .mb-3 { margin-bottom: 1rem; }
.account-container[b-nnntycbkbv]  .checkbox { margin-bottom: 1rem; }

/* ---- バリデーション（EditForm + DataAnnotations） ---- */
.account-container[b-nnntycbkbv]  .validation-message {
    color: #e50000;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.account-container[b-nnntycbkbv]  .valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.account-container[b-nnntycbkbv]  .invalid {
    outline: 1px solid #e50000;
}

/* ---- リカバリーコード表示 ---- */
.account-container[b-nnntycbkbv]  .recovery-code {
    font-family: Consolas, monospace;
    font-size: 1rem;
}

/* ---- テーブル（Passkeys 一覧等） ---- */
.account-container[b-nnntycbkbv]  table {
    width: 100%;
    border-collapse: collapse;
}

.account-container[b-nnntycbkbv]  table th,
.account-container[b-nnntycbkbv]  table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e7e5e4;
    text-align: left;
}

/* ---- Blazor エラー UI ---- */
#blazor-error-ui[b-nnntycbkbv] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-nnntycbkbv] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/AdminLayout.razor.rz.scp.css */
#blazor-error-ui[b-yoe0uy8tkl] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

    #blazor-error-ui .dismiss[b-yoe0uy8tkl] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/PublicLayout.razor.rz.scp.css */
#blazor-error-ui[b-ykc1zlkrv6] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-ykc1zlkrv6] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-q3xy5y78t1],
.components-reconnect-repeated-attempt-visible[b-q3xy5y78t1],
.components-reconnect-failed-visible[b-q3xy5y78t1],
.components-pause-visible[b-q3xy5y78t1],
.components-resume-failed-visible[b-q3xy5y78t1],
.components-rejoining-animation[b-q3xy5y78t1] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-q3xy5y78t1],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-q3xy5y78t1],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-q3xy5y78t1],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-q3xy5y78t1],
#components-reconnect-modal.components-reconnect-retrying[b-q3xy5y78t1],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-q3xy5y78t1],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-q3xy5y78t1],
#components-reconnect-modal.components-reconnect-failed[b-q3xy5y78t1],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-q3xy5y78t1] {
    display: block;
}


#components-reconnect-modal[b-q3xy5y78t1] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-q3xy5y78t1 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-q3xy5y78t1 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-q3xy5y78t1 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-q3xy5y78t1]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-q3xy5y78t1 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-q3xy5y78t1 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-q3xy5y78t1 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-q3xy5y78t1 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-q3xy5y78t1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-q3xy5y78t1] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-q3xy5y78t1] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-q3xy5y78t1] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-q3xy5y78t1] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-q3xy5y78t1] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-q3xy5y78t1] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-q3xy5y78t1 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-q3xy5y78t1] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-q3xy5y78t1 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Shared/BackToTopButton.razor.rz.scp.css */
/* ====================================================================
   BackToTopButton.razor.css（スコープ CSS）
   「ページの先頭へ戻る」固定ボタンの見た目。

   デザイン: あうん工房のブランドカラー（黄＝#ffc300／茶＝#513e00／
     焦茶＝#7c3b00）に揃え、フッター黄帯の「先頭へ」ボタンと統一感を持たせる。
     これらは Styles/app.tailwind.css の @theme で --color-brand-* として
     定義され :root に出力されるため var() で参照できる（フォールバック併記）。

   状態クラス（site.js が付与）:
     hidden 属性  … JS 無効時は出さない（初期値・JS が有効化時に解除）
     .is-visible  … 一定量スクロールしたときだけ表示
   ==================================================================== */

.back-to-top[b-k1fd6ewll4] {
    position: fixed;
    inset-block-end: 24px;
    inset-inline-end: 24px;
    z-index: 990;
    display: flex;
    align-items: center;
    justify-content: center;
    inline-size: 52px;
    block-size: 52px;
    padding: 0;
    /* 外枠（ボーダー）は無し。矢印（currentColor）は白。 */
    border: none;
    border-radius: 9999px;
    background: var(--color-brand-yellow, #ffc300);
    color: #ffffff;
    box-shadow: 0 4px 14px rgb(81 62 0 / 0.28);
    cursor: pointer;
    /* 既定は不可視・非操作（is-visible で現れる） */
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    pointer-events: none;
    transition:
        opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
        visibility 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.back-to-top.is-visible[b-k1fd6ewll4] {
    opacity: 0.95;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover[b-k1fd6ewll4] {
    opacity: 1;
    background: var(--color-brand-accent, #ffd800);
    box-shadow: 0 6px 18px rgb(81 62 0 / 0.36);
}

.back-to-top:focus-visible[b-k1fd6ewll4] {
    opacity: 1;
    outline: 3px solid var(--color-brand-cocoa, #7c3b00);
    outline-offset: 2px;
}

.back-to-top:active[b-k1fd6ewll4] {
    transform: translateY(1px);
}

.back-to-top svg[b-k1fd6ewll4] {
    inline-size: 26px;
    block-size: 26px;
}

/* モバイル（S）。下部フローティングボタン群は左下、本ボタンは右下のため競合しない
   （旧・固定電話バーは廃止済み）。ブレークポイント sm=575px（PublicLayout の max-sm: と一致）。 */
@media (max-width: 574px) {
    .back-to-top[b-k1fd6ewll4] {
        inset-block-end: 20px;
        inset-inline-end: 14px;
        inline-size: 46px;
        block-size: 46px;
    }

    .back-to-top svg[b-k1fd6ewll4] {
        inline-size: 22px;
        block-size: 22px;
    }
}

/* モーション軽減（アクセシビリティ）: アニメーションは切り、表示/非表示は即時。 */
@media (prefers-reduced-motion: reduce) {
    .back-to-top[b-k1fd6ewll4] {
        transition: opacity 0.01ms, visibility 0.01ms;
        transform: none;
    }

    .back-to-top.is-visible[b-k1fd6ewll4] {
        transform: none;
    }
}
/* /Components/Shared/PageTransitionLoader.razor.rz.scp.css */
/* ====================================================================
   PageTransitionLoader.razor.css（スコープ CSS）
   Enhanced Navigation 用ローディング UI の見た目。

   デザイン: あうん工房のブランドカラー（黄＝#ffc300／茶＝#513e00／焦茶＝
     #7c3b00／アクセント＝#ffd800）に揃える。これらは Styles/app.tailwind.css の
     @theme で --color-brand-* として定義され :root に出力されるため、公開サイト
     （PublicLayout）でのみ描画される本コンポーネントから var() で参照できる。
     万一に備え既定値（フォールバック）も併記する。

   状態クラス（page-transition.js が付与）:
     .active         … ローダー表示・バーのアニメーション開始
     .show-indicator … 中央スピナー＋テキストを表示（遅延表示）
     .completing     … バーを 100% まで伸ばしてフェードアウト
   ==================================================================== */

/* === ベースコンテナ（既定は不可視・非操作） === */
.page-transition-loader[b-qt6xn9tnqb] {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.2s cubic-bezier(0.22, 0.61, 0.36, 1),
        visibility 0.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.page-transition-loader.active[b-qt6xn9tnqb] {
    opacity: 1;
    visibility: visible;
}

/* === 上部プログレスバー === */
.progress-track[b-qt6xn9tnqb] {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    block-size: 3px;
    overflow: hidden;
    background: transparent;
}

.progress-bar[b-qt6xn9tnqb] {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    block-size: 100%;
    inline-size: 0;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(
        90deg,
        var(--color-brand-cocoa, #7c3b00) 0%,
        var(--color-brand-yellow, #ffc300) 55%,
        var(--color-brand-accent, #ffd800) 100%
    );
    background-size: 200% 100%;
    transition: width 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 実完了を待たず、なめらかに 90% まで伸ばし続ける（読み込み中の合図） */
.page-transition-loader.active .progress-bar[b-qt6xn9tnqb] {
    animation:
        aun-pt-progress-b-qt6xn9tnqb 2.2s cubic-bezier(0.22, 0.61, 0.36, 1) infinite,
        aun-pt-shimmer-b-qt6xn9tnqb 1.6s ease-in-out infinite;
}

@keyframes aun-pt-progress-b-qt6xn9tnqb {
    0%   { inline-size: 0; }
    25%  { inline-size: 32%; }
    55%  { inline-size: 62%; }
    85%  { inline-size: 84%; }
    100% { inline-size: 90%; }
}

@keyframes aun-pt-shimmer-b-qt6xn9tnqb {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* バー先端の淡い光（控えめに左右へ流す） */
.progress-glow[b-qt6xn9tnqb] {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    block-size: 100%;
    inline-size: 100%;
    opacity: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgb(255 195 0 / 0.45) 50%,
        transparent 100%
    );
    animation: aun-pt-glow-b-qt6xn9tnqb 1.6s ease-in-out infinite;
}

.page-transition-loader.active .progress-glow[b-qt6xn9tnqb] {
    opacity: 1;
}

@keyframes aun-pt-glow-b-qt6xn9tnqb {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* === ごく淡いコンテンツフェード === */
.content-veil[b-qt6xn9tnqb] {
    position: fixed;
    inset: 0;
    opacity: 0;
    background: rgb(255 254 249 / 0.32); /* あうん工房のクリーム（#fffef9）を薄く敷く */
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    transition: opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.page-transition-loader.active .content-veil[b-qt6xn9tnqb] {
    opacity: 1;
    transition-delay: 0.15s; /* バーに少し遅れて静かに掛かる */
}

/* === 中央インジケーター（遅延表示） === */
.loading-indicator[b-qt6xn9tnqb] {
    position: fixed;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* .show-indicator が付いたときだけ現れる（速い遷移ではちらつかせない） */
.page-transition-loader.show-indicator .loading-indicator[b-qt6xn9tnqb] {
    opacity: 1;
}

.loading-spinner[b-qt6xn9tnqb] {
    display: block;
    inline-size: 2rem;
    block-size: 2rem;
    color: var(--color-brand-cocoa, #7c3b00);
}

.loading-spinner svg[b-qt6xn9tnqb] {
    inline-size: 100%;
    block-size: 100%;
    animation: aun-pt-spin-b-qt6xn9tnqb 1s linear infinite;
}

@keyframes aun-pt-spin-b-qt6xn9tnqb {
    to { transform: rotate(360deg); }
}

.loading-text[b-qt6xn9tnqb] {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-brand-brown, #513e00);
    background: rgb(255 255 255 / 0.94);
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    box-shadow: 0 2px 10px rgb(81 62 0 / 0.16);
}

/* === 完了アニメーション === */
.page-transition-loader.completing .progress-bar[b-qt6xn9tnqb] {
    inline-size: 100% !important;
    transition: width 0.2s ease-out;
    animation: none;
}

.page-transition-loader.completing[b-qt6xn9tnqb] {
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s;
}

/* === レスポンシブ === */
@media (max-width: 640px) {
    .loading-spinner[b-qt6xn9tnqb] {
        inline-size: 1.75rem;
        block-size: 1.75rem;
    }
    .loading-text[b-qt6xn9tnqb] {
        font-size: 0.75rem;
        padding: 0.3125rem 0.75rem;
    }
}

/* === モーション軽減（アクセシビリティ） === */
@media (prefers-reduced-motion: reduce) {
    .progress-bar[b-qt6xn9tnqb],
    .progress-glow[b-qt6xn9tnqb],
    .loading-spinner svg[b-qt6xn9tnqb] {
        animation: none;
    }
    /* アニメーションなしでも「進行中」が分かるよう一定量だけ表示 */
    .page-transition-loader.active .progress-bar[b-qt6xn9tnqb] {
        inline-size: 45%;
    }
    .content-veil[b-qt6xn9tnqb],
    .loading-indicator[b-qt6xn9tnqb] {
        transition: none;
    }
}
