/* 管理画面（/manage 配下）の共通CSS。白ホリドットコム（~/dev/shirohori.com public/css/app.css）の写し。
   2026-10-25 児島依頼「管理画面配下を白ホリの仕様に忠実に」。違いはブランド色だけ（黄＋墨文字 → ホワイトパンダのティール＋白文字）。
   白ホリ側を直したらこちらにも反映する */
/* ベース(~/dev 共通CSSルール準拠: 寸法はすべてem) */

/* 配色設定(2026-10-24 デザインの原則)。色はここから取る＝白・墨・ブランドの黄＋例外の赤(エラー)。入力欄の線だけ機能上の灰 */
:root {
    --c-bg: #fff;
    --c-ink: #1a1a1a;
    --c-brand: #0ABAB5;
    /* ホワイトパンダのブランドのグラデーション（2026-10-27 児島指定・ご利用ガイドの帯と同じ） */
    --c-brand-gradient: linear-gradient(135deg, #2af598 0%, #009efd 100%);
    --c-on-brand: #fff;
    --c-brand-tint: #E6F7F6;
    --c-brand-dark: #0A7A77;
    --c-line: #d4d4d4;
    --c-danger: #b91c1c;
    --c-danger-bg: #fef2f2;
    /* フォームだけの例外色(デザインの原則「フォーム」・基準は reserve.4696.studio) */
    --c-form-req: #8b1a1a;       /* 必須バッジ */
    --c-form-req-bg: #fdf0f0;    /* 必須の入力欄 */
    --c-form-opt-bg: #f5f5f5;    /* 任意の入力欄 */
    --c-form-divider: #eee;      /* 項目と項目の区切り */
    --c-form-sub: #999;          /* プレースホルダー */
    --c-form-disabled: #c8c8c8;  /* 押せない送信ボタン */
}
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-size: clamp(0px, calc(100vw / 80), 16px);
    font-family: 'Google Sans', 'Noto Sans JP', sans-serif;
    color: #1A1A1A;
    line-height: 1.6;
    background: #fff;
}
@media (max-width: 769px) {
    body {
        font-size: clamp(0px, calc(100vw / 25), 14px);
    }
}

/* 配色は白・#1a1a1a・ブランド色の3色。文中のリンクは色ではなく下線で示す */
a { color: #1a1a1a; text-decoration: none; }
a:hover { text-decoration: underline; }
/* 下線は文中のリンクだけ(カード見出しやボタン風のリンクには付けない) */
:is(p, td, dd, li > small, .help, .muted) > a:not([class]) { text-decoration: underline; text-underline-offset: 0.1875em; }
:is(p, td, dd, li > small, .help, .muted) > a:not([class]):hover { background: var(--c-brand-tint); }
img { max-width: 100em; }

.container { width: min(92%, 80em); margin: 0 auto; }

/* ヘッダー(公開側 header.site のデザインに合わせる) */
/* 全ページでヘッダーを固定(2026-10-25 児島依頼)。高さは JS が --hh に入れ、追従する部品の top に足す */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--c-bg); color: var(--c-ink); }
html { scroll-padding-top: calc(var(--hh, 0px) + 1em); }
/* ヘッダーはビューポート全幅。左右2emガター(メール画面.mailbox-pageと揃える) */
.site-header .container {
    width: 100%; max-width: none; margin: 0;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1em; padding: 0.625em 2em; flex-wrap: wrap;
}
@media (max-width: 769px) {
    .site-header .container { padding: 0.625em 1em; }
}
.brand { display: flex; align-items: center; height: 2.75em; font-weight: 700; color: #1A1A1A; }
.brand:hover { text-decoration: none; }
.brand img { display: block; width: auto; height: 100%; }
.brand span { padding-left: 0.5em; font-size: 0.875em; vertical-align: super; }
.brand span small { padding-left: 0.125em; font-size: 0.875em; vertical-align: super; }
.nav { display: flex; align-items: center; gap: 1.25em; flex-wrap: wrap; }
.nav a { color: #1A1A1A; font-size: 0.875em; font-weight: 700; text-decoration: none; }
.nav a:not(.nav-cta):hover { text-decoration: underline; }
.nav .nav-cta {
    background: var(--c-brand); color: var(--c-on-brand); padding: 0.375em 1em;
    border-radius: 0.375em; font-weight: 500;
}

main { padding: 2em 0 4em; min-height: 30em; }

/* 見出し */
h1 { font-size: 1.5em; margin-bottom: 1em; }
h2 { font-size: 1.1875em; margin: 1.5em 0 0.75em; }
h3 { font-size: 1em; margin: 1em 0 0.5em; }

/* フラッシュ・エラー */
.flash {
    background: var(--c-brand-tint); border: 0.0625em solid var(--c-brand); color: #1a1a1a;
    padding: 0.75em 1em; border-radius: 0.5em; margin-bottom: 1.5em; font-size: 0.875em;
}
/* トースト(処理結果の一時通知・自動で消える) */
.toast {
    position: fixed; right: 1.5em; top: 5em; z-index: 2000; /* ヘッダー(約4em)の下に出す */
    max-width: min(92%, 32em);
    background: var(--c-brand); color: var(--c-on-brand); cursor: pointer; font-weight: 700; /* 主ボタンと同じ黄色 */
    padding: 0.75em 1.25em; border-radius: 0.5em; font-size: 0.875em; line-height: 1.5;
    opacity: 0; transform: translateY(-0.5em);
    animation: toast-in .25s ease forwards;
}
.toast.is-hiding { animation: toast-out .3s ease forwards; }
@keyframes toast-in { to { opacity: 1; transform: translateY(0); } }
@keyframes toast-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-0.5em); } }
.errors {
    background: var(--c-danger-bg); color: var(--c-danger);
    padding: 0.75em 1em; border-radius: 0.5em; margin-bottom: 1.5em; font-size: 0.875em;
}
.errors ul { list-style: none; }

/* 注意事項(掲載写真のルール等・見落とすと差し戻しになる案内)。.flash/.errors と同型の箱 */
.notice {
    background: var(--c-brand-tint); border: 0.0625em solid var(--c-brand); color: #1a1a1a;
    padding: 0.75em 1em; border-radius: 0.5em; margin-bottom: 1.25em; font-size: 0.8125em; line-height: 1.7;
}
.notice__title { font-weight: 600; margin-bottom: 0.25em; }
.notice ul { margin: 0; padding-left: 1.25em; }
.notice li { margin: 0.125em 0; }

/* カード・グリッド */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25em; }
@media (max-width: 769px) {
    .grid { grid-template-columns: 1fr; }
}
.card {
    background: #fff; border: 0.0625em solid #E5E5E5; border-radius: 0.625em;
    overflow: hidden; display: block; color: inherit;
}
.card:hover { text-decoration: none; box-shadow: 0 0.25em 0.75em rgba(0,0,0,0.08); }
.card-thumb {
    background: #E5E5E5; height: 10em; display: flex;
    align-items: center; justify-content: center; color: #999; font-size: 0.8125em;
}
.card-body { padding: 1em; }
.card-title { font-size: 1em; font-weight: 700; margin-bottom: 0.25em; }
.card-meta { font-size: 0.8125em; color: #666; }
.card-price { font-size: 0.9375em; font-weight: 700; color: #1a1a1a; margin-top: 0.5em; }

/* パネル */
.panel {
    background: #fff; border: 0.0625em solid #E5E5E5; border-radius: 0.625em;
    padding: 1.5em; margin-bottom: 1.5em;
}
.panel h2:first-child, .panel h3:first-child { margin-top: 0; }

/* キャンセルポリシーの並び替え */
.policy-card-head { display: flex; align-items: center; gap: 0.5em; }
.policy-card-head h3 { margin: 0; }
.policy-card[draggable="true"] { cursor: grab; }
.policy-card.is-dragging { opacity: 0.5; }
.drag-handle { color: #B0B0B0; font-size: 1.125em; line-height: 1; cursor: grab; user-select: none; }

/* フォーム */
label { display: block; font-size: 0.8125em; font-weight: 500; margin-bottom: 0.25em; color: var(--c-ink); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="url"], input[type="tel"],
input[type="date"], input[type="time"], input[type="datetime-local"], select, textarea {
    width: 100em; max-width: 100%;
    font-size: 0.9375em; font-family: inherit;
    /* 入力欄は塗りだけで罫線なし（2026-10-29 白ホリ #481 と同じ・フォームの基準）。必須は淡い赤、任意は淡いグレー */
    padding: 0.5em 0.75em; border: 0; border-radius: 0.25em;
    background-color: var(--c-form-opt-bg);
    /* iOS Safari は色指定の無い select/input を青字(システムの強調色)で描く */
    color: #1A1A1A;
}
input:required:not([type="checkbox"]):not([type="radio"]), select:required, textarea:required { background-color: var(--c-form-req-bg); }
input:focus, select:focus, textarea:focus { outline: none; }
textarea { min-height: 6em; }
.field { margin-bottom: 1em; }
.field-row { display: flex; gap: 1em; flex-wrap: wrap; }
.field-row .field { flex: 1; min-width: 10em; }
.rule-row { align-items: flex-end; }
.rule-row[draggable="true"] { cursor: grab; }
.rule-row.is-dragging { opacity: 0.5; }
.rule-row .rule-handle { color: #B0B0B0; font-size: 1.125em; line-height: 1; cursor: grab; user-select: none; align-self: center; flex: none; }
.rule-row .rule-remove { align-self: center; }
.checks { display: flex; gap: 1em; flex-wrap: wrap; font-size: 0.875em; }
.checks label { display: flex; align-items: center; gap: 0.375em; font-weight: 400; margin: 0; }
.help { font-size: 0.75em; color: #1A1A1A; margin-top: 0.25em; }
.field .error { font-size: 0.75em; color: #991B1B; margin-top: 0.25em; }

/* テーブル型フォーム（申請モーダル等）: 左=項目名セル/右=入力セル */
/* 入力欄の既定幅(width:100em)がautoレイアウトのセル幅を押し広げ、モーダルに横スクロールが出るため、
   列幅をテーブル側で固定し、入力欄はセル幅に追従させる */
.form-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 0 0 1.25em; border: 0.0625em solid #E4E4E4; }
.form-table input, .form-table select, .form-table textarea { width: 100%; }
.form-table th, .form-table td { border-bottom: 0.0625em solid #E4E4E4; padding: 0.75em 0.875em; text-align: left; vertical-align: middle; }
.form-table tr:last-child th, .form-table tr:last-child td { border-bottom: none; }
/* 「R構造のある白ホリはありますか？」のような問いかけ形式のラベルが入るため、折り返しを許可する */
.form-table th { width: 13em; background: #F7F6F4; font-size: 0.8125em; font-weight: 600; color: #444; white-space: normal; }
.form-table th label { margin: 0; font-size: inherit; font-weight: inherit; color: inherit; display: inline; }
/* セル内で横並びにした入力(所在地=都道府県+市区町村)は行の下余白を作らない */
.form-table .field-row .field { margin-bottom: 0; }
.form-table .badge-req, .form-table .badge-opt { display: inline-block; margin-left: 0.5em; padding: 0.125em 0.5em; border-radius: 0.25em; font-size: 0.6875em; font-weight: 600; line-height: 1.4; }
.form-table .badge-req { background: #9B1C1C; color: #fff; }
.form-table .badge-opt { background: #E7E5E4; color: #666; }
.form-table .error { font-size: 0.75em; color: #991B1B; margin-top: 0.25em; }
@media (max-width: 769px) {
    .form-table { border: none; }
    .form-table, .form-table tbody, .form-table tr, .form-table th, .form-table td { display: block; width: 100%; }
    .form-table th { border-bottom: none; padding: 0 0 0.25em; background: transparent; }
    .form-table td { padding: 0 0 0.875em; border-bottom: none; }
    .form-table tr { border-bottom: 0.0625em solid #EEE; margin-bottom: 0.875em; }
    .form-table tr:last-child { border-bottom: none; margin-bottom: 0; }
}

/* 編集ページの左サイドメニュー(掲載内容/予約受付) */
.edit-layout { display: flex; gap: 3em; align-items: flex-start; }
.edit-main { flex: 1; min-width: 0; }
.edit-sidebar { flex: none; width: 14em; position: sticky; top: calc(var(--hh, 0px) + 1.5em); }
.edit-sidebar__toggles { display: flex; flex-direction: column; align-items: flex-start; gap: 0.625em; padding: 0 0.75em 1.75em; }
/* 予約受付のスイッチの下の「予約フォームを見る ↗」（2026-11-12・受け付けられるときだけ） */
.edit-sidebar__reserve-link { font-size: 0.8125em; color: #1A1A1A; white-space: nowrap; }
.edit-sidebar ul { list-style: none; margin: 0; padding: 0; }
.edit-sidebar li a { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; padding: 0.4375em 0.75em; border-radius: 0.375em; font-size: 0.875em; color: #555; }
.edit-sidebar li a:hover { background: #F5F5F4; color: #1A1A1A; text-decoration: none; }
.edit-sidebar li a.is-active { background: #F0F0EE; color: #1A1A1A; font-weight: 700; }
@media (max-width: 769px) {
    .edit-layout { display: block; }
    .edit-sidebar { position: static; width: 100%; margin-bottom: 1.5em; }
    .edit-sidebar__toggles { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.625em 1.25em; padding: 0 0 1.25em; }
    .edit-sidebar ul { display: flex; flex-wrap: wrap; gap: 0.375em; }
    .edit-sidebar li a { padding: 0.3125em 0.875em; border-radius: 999em; background: #F5F5F4; }
    .edit-sidebar li a.is-active { background: #1A1A1A; color: #fff; }
}

/* 予約メッセージのスレッドページ(左=予約詳細/右=メッセージ) */
.thread-layout { display: flex; gap: 1.5em; align-items: flex-start; }
.thread-layout__info { flex: none; width: 20em; position: sticky; top: calc(var(--hh, 0px) + 1em); }
.thread-layout__main { flex: 1; min-width: 0; }
@media (max-width: 769px) {
    .thread-layout { display: block; }
    .thread-layout__info { position: static; width: 100%; }
}

/* 予約メッセージスレッド */
.msg-thread { display: flex; flex-direction: column; gap: 0.75em; }
.msg { border: 0.0625em solid #E4E4E4; border-radius: 0.5em; padding: 0.7em 0.9em; background: #FAFAF9; max-width: 46em; }
.msg--mine { background: var(--c-brand-tint); border-color: #FDE8D0; margin-left: 2em; }
.msg--admin { background: var(--c-brand-tint); border-color: var(--c-brand); }
.msg__meta { display: flex; align-items: center; gap: 0.5em; font-size: 0.8125em; margin-bottom: 0.35em; flex-wrap: wrap; }
.msg__body { white-space: pre-line; font-size: 0.9375em; }
.msg-unread { display: inline-block; min-width: 1.5em; padding: 0.1em 0.4em; border-radius: 999em; background: #DC2626; color: #fff; font-size: 0.6875em; font-weight: 700; text-align: center; line-height: 1.5; }

/* ボタン */
/* ⚠️ hidden 属性を効かせる。クラス側の display 指定（.btn の inline-block 等）は
   UA既定の [hidden]{display:none} より詳細度が高く、JSで hidden にしても消えない。
   実際に写真アップロードの送信ボタンが隠れず残っていた（2026-08-30）。 */
[hidden] { display: none !important; }

.btn {
    display: inline-block; font-size: 0.875em; font-family: inherit; font-weight: 500;
    padding: 0.625em 1.5em; border: none; border-radius: 0.375em;
    background: var(--c-brand); color: var(--c-on-brand); cursor: pointer;
}
.btn:hover { opacity: 0.85; text-decoration: none; }
.btn-primary { background: var(--c-brand); color: var(--c-on-brand); }
.btn-outline { background: #fff; color: #1A1A1A; border: 0.0625em solid #D4D4D4; }
.btn-danger { background: #DC2626; color: #fff; }
.btn-sm { font-size: 0.75em; padding: 0.375em 0.875em; }
/* ブランドのグラデーションのボタン（スタジオを追加など・2026-10-27） */
.btn-gradient { background: var(--c-brand-gradient); color: #fff; }
/* アイコンつきのボタン（＋など）。アイコンは文字と同じ色の線 */
.btn-icon { display: inline-flex; align-items: center; gap: 0.375em; }
.btn-icon__svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; }

/* テーブル */
table { width: 100em; max-width: 100%; border-collapse: collapse; font-size: 0.875em; background: #fff; }
th, td { text-align: left; padding: 0.625em 0.75em; border-bottom: 0.0625em solid #E5E5E5; vertical-align: top; }
th { background: #F5F5F4; font-weight: 500; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
/* フォーム受信一覧の内容欄: 「項目名: 値」の改行を保つ */
.submission-message { white-space: pre-line; min-width: 20em; }

/* バッジ */
.badge {
    display: inline-block; font-size: 0.75em; font-weight: 500;
    padding: 0.125em 0.625em; border-radius: 1em; white-space: nowrap;
}
.badge-gray { background: #F5F5F4; color: #555; border: 0.0625em solid #D4D4D4; }
.badge-green { background: var(--c-brand-tint); color: #1a1a1a; border: 0.0625em solid var(--c-brand); }
.badge-yellow { background: var(--c-brand); color: var(--c-on-brand); border: 0.0625em solid var(--c-brand); }
.badge-red { background: #FEF2F2; color: #991B1B; border: 0.0625em solid #F87171; }
.badge-blue { background: #1a1a1a; color: #fff; border: 0.0625em solid #1a1a1a; }

/* 検索フォーム */
.search-bar {
    background: #fff; border: 0.0625em solid #E5E5E5; border-radius: 0.625em;
    padding: 1.25em; display: flex; gap: 1em; align-items: flex-end; flex-wrap: wrap;
    margin-bottom: 2em;
}
.search-bar .field { margin-bottom: 0; flex: 1; min-width: 9em; }
@media (max-width: 769px) {
    .search-bar { flex-direction: column; align-items: stretch; }
}

/* ヒーロー */
.hero { text-align: center; padding: 2.5em 0 2em; }
.hero h1 { font-size: 1.75em; margin-bottom: 0.375em; }
.hero p { color: #666; font-size: 0.9375em; margin-bottom: 1.5em; }

/* 定義リスト(予約詳細など) */
.dl { display: grid; grid-template-columns: 10em 1fr; gap: 0.5em 1em; font-size: 0.875em; }
.dl dt { color: #777; }
.dl dd { font-weight: 500; }
@media (max-width: 769px) {
    .dl { grid-template-columns: 7em 1fr; }
}

/* 金額表 */
.price-summary { font-size: 0.875em; }
.price-summary .total { font-size: 1.125em; font-weight: 700; color: #1a1a1a; }

/* インラインフォーム(承認/却下ボタン等) */
.inline-form { display: inline; }
.actions { display: flex; gap: 0.5em; flex-wrap: wrap; align-items: center; }

/* ダッシュボード統計 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; margin-bottom: 1.5em; }
@media (max-width: 769px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
}
.stat { background: #fff; border: 0.0625em solid #E5E5E5; border-radius: 0.625em; padding: 1em; }
.stat .num { font-size: 1.5em; font-weight: 700; }
.stat .label { font-size: 0.75em; color: #777; }

/* フッター(公開側tukuruテーマのfooter.siteを移植・px→em換算) */
footer.site { margin: 5em 0 0; padding: 1em 0 2em; background: #fff; border-top: 0.0625em solid #E5E5E5; }
footer.site nav h4 { margin: 0 0 0.25em; font-size: 0.875em; }
footer.site nav ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style-type: none; }
footer.site nav ul li { margin: 0 1em 0.5em 0; font-size: 0.8125em; opacity: 0.375; }
footer.site nav ul li.enable { opacity: 1; }
footer.site nav ul li a { display: block; text-decoration: none; color: inherit; transition: 0.3s; }
footer.site nav ul li a:hover { text-decoration: underline; }
footer.site .copyright { margin: 2em 0 0; text-align: center; }
footer.site .copyright a { display: inline-block; transition: 0.2s; }
footer.site .copyright a:hover { opacity: 0.5; }
footer.site .copyright a img { width: 4.6875em; }
footer.site .copyright .license { margin: 0; font-size: 0.75em; }
footer.site .copyright span { display: block; font-size: 0.625em; }
@media (max-width: 769px) {
    footer.site nav { margin: 0 0 1em; text-align: center; }
}

/* 補足は色を薄くせず、小さい文字で区別する(デザインの原則) */
.muted { color: var(--c-ink); font-size: 0.875em; }
.mt { margin-top: 1em; }
.mb { margin-bottom: 1em; }

/* ページネーション */
.pagination { display: flex; gap: 0.375em; flex-wrap: wrap; margin-top: 1.5em; }
.pagination .page {
    display: inline-block; min-width: 2.25em; text-align: center;
    padding: 0.375em 0.625em; font-size: 0.875em;
    border: 0.0625em solid #D4D4D4; border-radius: 0.375em;
    background: #fff; color: #1A1A1A;
}
.pagination a.page:hover { background: #F5F5F4; text-decoration: none; }
.pagination .page.current { background: #1A1A1A; color: #fff; border-color: #1A1A1A; }
.pagination .page.disabled { color: #bbb; background: #FAFAF8; }

/* タグ選択(ピル型トグルボタン) */
.tag-pills { display: flex; flex-wrap: wrap; gap: 0.5em; }
.tag-pills label {
    display: inline-flex; align-items: center;
    margin: 0; padding: 0.375em 1em;
    font-size: 0.875em; font-weight: 400; color: #444;
    border: 0.0625em solid #D4D4D4; border-radius: 2em;
    background: #fff; cursor: pointer; user-select: none;
    transition: background .15s, color .15s, border-color .15s;
}
.tag-pills label:hover { border-color: #999; }
.tag-pills input[type="checkbox"] {
    position: absolute; opacity: 0; width: 0; height: 0;
}
.tag-pills label:has(input:checked) {
    background: #1A1A1A; color: #fff; border-color: #1A1A1A;
}
.tag-pills label:has(input:checked)::before {
    content: "✓"; margin-right: 0.375em; font-size: 0.8125em;
}

/* 汎用モーダル(管理画面) */
.modal-overlay { position: fixed; inset: 0; z-index: 1000; display: none; background: rgba(0,0,0,.5); }
.modal-overlay.is-open { display: block; }
.modal-box { position: relative; width: min(92%, 42em); max-height: 90vh; overflow-y: auto; margin: 5vh auto; padding: 1.5em; background: #fff; border-radius: .5em; box-shadow: 0 0.625em 2.5em rgba(0,0,0,.3); }
.modal-box h3 { margin: 0 0 1em; }
.modal-box__close { position: absolute; top: .6em; right: .6em; width: 1.8em; height: 1.8em; border: none; border-radius: 50%; background: #f0f0f0; color: #333; font-size: 1.1em; line-height: 1.8em; text-align: center; cursor: pointer; }
.modal-box__close:hover { background: #e2e2e2; }
body.modal-open { overflow: hidden; }
/* 送信前の確認モーダル(partials/modal-script の data-confirm) */
.modal-box--confirm { width: min(92%, 36em); margin-top: 20vh; }
.modal-box__message { margin: 0 0 1.5em; white-space: pre-line; line-height: 1.8; }
.modal-box__actions { display: flex; justify-content: flex-end; gap: 0.5em; }
/* 確認モーダルの箇条書き(予約受付を開始できない理由など) */
.modal-box__message + .modal-box__list { margin-top: -0.75em; }
.modal-box__list { list-style: none; margin: 0 0 1.5em; padding: 0; display: flex; flex-direction: column; gap: 0.625em; }
/* 足りない項目は淡い赤の面だけで示す（枠線・「!」アイコンは付けない＝デザインの原則。2026-11-12 児島判断） */
.modal-box__list li { padding: 0.875em 1em; background: #fdf0f0; border-radius: 0.5em; }
.modal-box__list strong { display: block; font-size: 0.9375em; color: #8b1a1a; }
.modal-box__list p { margin: 0.25em 0 0; font-size: 0.8125em; color: #1A1A1A; line-height: 1.7; }
.modal-box__list .btn { margin-top: 0.625em; }

/* 予約受付スイッチ(運営管理 スペース審査) */
.switch { display: inline-flex; align-items: center; gap: 0.5em; border: none; background: transparent; padding: 0.125em 0; cursor: pointer; font-size: 0.875em; color: #555; }
.switch__track { position: relative; width: 2.5em; height: 1.375em; border-radius: 0.6875em; background: #c4c9d2; transition: background .15s ease; flex: none; }
.switch__track::after { content: ""; position: absolute; top: 0.125em; left: 0.125em; width: 1.125em; height: 1.125em; border-radius: 50%; background: #fff; box-shadow: 0 0.0625em 0.1875em rgba(0,0,0,.3); transition: left .15s ease; }
.switch.is-on .switch__track { background: var(--c-brand-gradient); } /* オンはブランドのグラデーション（2026-10-27 白ホリと同じ） */
.switch.is-on .switch__track::after { left: 1.25em; }
.switch__label { color: #1a1a1a; font-weight: 700; } /* オフのときも太字・墨（2026-10-27 児島指定） */
.switch:hover .switch__track { filter: brightness(0.95); }

/* 公開ページを別タブで開くアイコンリンク(一覧の行末) */
.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 1.75em; height: 1.75em; border-radius: 0.375em; color: #555; }
.icon-link svg { width: 1.125em; height: 1.125em; }
.icon-link:hover { background: #f0f0f0; color: #1A1A1A; }

/* 改行を保持して表示（オプション説明などの複数行テキスト） */
.u-pre-line { white-space: pre-line; }

/* テーブルのスマホカード化: .table-wrap に .table-cards を付与し、各tdに data-label を付ける。
   スマホでは1行=1カードに積み替え、横スクロールを不要にする(PCは通常のテーブルのまま) */
@media (max-width: 769px) {
    .table-cards { overflow-x: visible; }
    .table-cards table { display: block; width: 100%; }
    .table-cards tbody { display: block; width: 100%; }
    .table-cards tr {
        display: block; background: #fff;
        border: 0.0625em solid #E5E5E5; border-radius: 0.625em;
        padding: 0.875em 1em; margin-bottom: 0.75em;
    }
    .table-cards tr:first-child { display: none; } /* 見出し行はカードでは不要 */
    .table-cards td { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25em 0.75em; padding: 0.25em 0; border: none; }
    .table-cards td[data-label]::before {
        content: attr(data-label); flex: none; width: 5.5em;
        font-size: 0.8125em; color: #777;
    }
    .table-cards td.table-cards__title { display: block; font-weight: 700; font-size: 1.0625em; padding-bottom: 0.5em; }
    .table-cards td .help { width: 100%; }
}

/* 写真一覧: 4列・3:2で余白なく整列（object-fit: cover）・削除は画像右上の× */
.photo-grid { grid-template-columns: repeat(5, 1fr); gap: 0.75em; }
.photo-grid .card-thumb { position: relative; aspect-ratio: 3 / 2; height: auto; padding: 0; overflow: hidden; }
.photo-grid .card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-grid .photo-delete { position: absolute; top: 0.375em; right: 0.375em; }
.photo-grid .photo-delete button { width: 1.625em; height: 1.625em; border: none; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 1em; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.photo-grid .photo-delete button:hover { background: rgba(0,0,0,.8); }
@media (max-width: 769px) {
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* メールボックス 3ペイン(左:作成 / 中央:送受信履歴 / 右:詳細) */
/* .container(min(92%,80em))の内側から抜けてビューポート全幅(100vw)に広げる */
.mailbox-page { width: 100vw; margin-left: calc(50% - 50vw); padding: 0 2em; }
.mailbox-head { display: flex; justify-content: space-between; align-items: center; gap: 1em; flex-wrap: wrap; margin-bottom: 1em; }
.mailbox-head h1 { margin: 0; }
.mailbox { display: grid; grid-template-columns: 26em 22em 1fr; gap: 1em; align-items: start; }
.mailbox-pane { border: 0.0625em solid #E7E5E4; border-radius: 0.5em; background: #fff; overflow: hidden; }
.mailbox-pane > h2 { font-size: 1em; margin: 0; padding: 0.75em 1em; background: #FAFAF9; border-bottom: 0.0625em solid #E7E5E4; }
.mailbox-body { padding: 1em; }
.mailbox-body textarea { min-height: 18em; font-size: 0.8125em; }
.mailbox-filter { display: flex; flex-wrap: wrap; gap: 0.5em; padding: 0.75em 1em; border-bottom: 0.0625em solid #E7E5E4; }
.mailbox-filter select, .mailbox-filter input { padding: 0.375em 0.5em; }
.mailbox-filter input { flex: 1; min-width: 8em; }
.mailbox-list { max-height: 40em; overflow-y: auto; }
.mail-item { display: block; padding: 0.75em 1em; border-bottom: 0.0625em solid #F0EFED; color: inherit; }
.mail-item:hover { background: #FAFAF9; text-decoration: none; }
.mail-item.is-active { background: var(--c-brand-tint); box-shadow: inset 0.1875em 0 0 #1a1a1a; }
.mail-meta { display: flex; justify-content: space-between; align-items: center; gap: 0.5em; margin-bottom: 0.375em; }
.mail-meta > span:last-child { font-size: 0.75em; color: #78716C; white-space: nowrap; }
.mail-dot { color: #1a1a1a; margin-right: 0.25em; }
.mail-party { font-size: 0.8125em; color: #57534E; margin-bottom: 0.125em; word-break: break-all; }
.mail-subject { font-size: 0.875em; }
.mail-item.is-unread .mail-subject { font-weight: 700; }
.mail-detail-body { white-space: pre-wrap; font-size: 0.875em; line-height: 1.7; word-break: break-word; }
.mail-assignee { font-size: 0.75em; color: #57534E; margin-top: 0.25em; }
.mail-detail-status { margin-top: 1em; font-size: 0.875em; }
.mailbox-pane-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; padding: 0.5em 1em; background: #FAFAF9; border-bottom: 0.0625em solid #E7E5E4; }
.mailbox-pane-head h2 { margin: 0; padding: 0; background: none; border: 0; font-size: 1em; display: flex; align-items: center; gap: 0.5em; }
.mailbox-refresh { display: inline-flex; align-items: center; justify-content: center; border: none; background: none; color: #57534E; cursor: pointer; padding: 0.3em; border-radius: 0.25em; line-height: 0; }
.mailbox-refresh:hover { background: #EFEDEB; color: #1A1A1A; }
@media (max-width: 769px) {
    .mailbox-page { padding: 0 1em; }
    .mailbox { grid-template-columns: 1fr; }
    .mailbox-list { max-height: 26em; }
}

/* 写真グリッドの並び替え（D&D）。先頭が一覧サムネイル＆OGPになる */
.photo-item[draggable="true"] { cursor: grab; }
.photo-item.is-dragging { opacity: .35; }
/* ドロップ先の目印。差し込み位置が分からないと当てずっぽうになる */
.photo-item.is-drop-target .card-thumb { outline: 0.125em dashed #6B7280; outline-offset: 0.125em; }
/* 移動直後に一瞬光らせて、どれが動いたか分かるようにする */
.photo-item.is-moved .card-thumb { animation: photo-moved .6s ease; }
@keyframes photo-moved {
    from { box-shadow: 0 0 0 0.25em rgba(52,211,153,.9); }
    to   { box-shadow: 0 0 0 0.25em rgba(52,211,153,0); }
}

/* 先頭＝一覧サムネイル。枠とバッジで明示する */
.photo-grid .photo-item:first-child .card-thumb { outline: 0.125em solid var(--c-brand); outline-offset: -0.125em; }
.photo-grid .photo-badge { display: none; }
.photo-grid .photo-item:first-child .photo-badge {
    display: block; position: absolute; left: 0; bottom: 0;
    background: var(--c-brand); color: var(--c-on-brand); font-size: 0.625em; font-weight: 600;
    padding: 0.125em 0.5em; border-top-right-radius: 0.25em;
}

/* 並び替えボタン。タッチでも押せるよう十分な大きさにする */
.photo-move { display: flex; gap: 0.25em; padding: 0.375em 0.375em 0; }
.photo-move:last-child { padding-bottom: 0.375em; }
.photo-move button {
    flex: 1; min-height: 2em; border: 0.0625em solid #D4D4D4; border-radius: 0.25em;
    background: #fff; color: #1A1A1A; font-size: 0.75em; line-height: 1; cursor: pointer;
}
.photo-move button:hover { background: #F5F5F5; }
.photo-move button:active { background: #E5E5E5; }
.photo-move__main { font-weight: 600; }
/* 先頭の写真は押す意味が無いので落とす（文言はBlade側で出し分ける） */
.photo-item:first-child .photo-move__main,
.photo-item:first-child .photo-move [data-move="prev"],
.photo-item:last-child .photo-move [data-move="next"] { opacity: .35; pointer-events: none; }

/* 写真のドラッグ＆ドロップ投入。ファイル選択も同じ枠の中に置いて迷わせない */
.dropzone {
    border: 0.125em dashed #D4D4D4; border-radius: 0.5em;
    padding: 1.5em 1em; text-align: center; background: #FAFAFA;
    transition: border-color .15s, background .15s;
}
.dropzone.is-over { border-color: var(--c-brand); background: var(--c-brand-tint); }
/* 送信中。ボタンを隠しているので枠側で進行を示す */
.dropzone.is-uploading { border-color: #A3A3A3; background: #F5F5F5; opacity: .6; pointer-events: none; }
.dropzone__lead { font-weight: 600; margin: 0 0 0.25em; }
.dropzone input[type="file"] { width: auto; max-width: 100%; margin: 0.25em auto; }
.dropzone__selected { font-size: 0.8125em; color: #1a1a1a; margin-top: 0.5em; word-break: break-all; }

/* 公開設定の行（掲載・予約受付）。ラベルと操作を左右に並べる */
.toggle-row { display: flex; align-items: center; gap: 1em; padding: 0.5em 0; }
.toggle-row + .toggle-row { border-top: 0.0625em solid #F0F0F0; }
.toggle-row__label { width: 6em; flex-shrink: 0; font-weight: 600; font-size: 0.875em; }
.toggle-row .help { display: block; margin-top: 0.25em; }

/* ===== スタジオ編集ページのUI改善(2026-10-14) ===== */
/* 読み上げ専用 */
.u-sr { position: absolute; width: 0.0625em; height: 0.0625em; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 見出し: どのスタジオか・状態・掲載ページへの導線 */
.edit-header { margin: 0 0 2.5em; }
.edit-header__crumbs { display: flex; gap: 0.5em; align-items: center; font-size: 0.8125em; color: #888; margin-bottom: 0.5em; }
.edit-header__crumbs a { color: #555; }
.edit-header__main { display: flex; justify-content: space-between; align-items: flex-end; gap: 1em; flex-wrap: wrap; }
.edit-header__title { margin: 0 0 0.375em; font-size: 1.75em; line-height: 1.3; }
.edit-header__meta { display: flex; flex-wrap: wrap; gap: 0 1.25em; margin: 0; padding: 0; list-style: none; font-size: 0.8125em; color: #777; }
.edit-header__meta .is-on::before, .edit-header__meta .is-off::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-right: 0.4375em; border-radius: 50%; background: #1a1a1a; vertical-align: 0.0625em; }
.edit-header__meta .is-off::before { background: #C4C4C4; }
.edit-header__actions .help { margin: 0; }
/* 「ヘルプ」は枠も塗りもない文字だけのボタン・ホバーで下線（2026-10-29 白ホリ #477・#478）。
   ？アイコンの .btn-icon__svg の線は太い48px想定なので、24の図形に合わせて細くする */
.edit-header .edit-header__help { border: 0; background: none; color: #1a1a1a; padding-left: 0.5em; padding-right: 0.5em; }
.edit-header .edit-header__help:hover { background: none; text-decoration: underline; }
.edit-header__help-icon { width: 1.125em; height: 1.125em; stroke-width: 1.8; }

/* パネル内の見出しと区切り */
.edit-main .panel { padding: 0; border: 0; border-radius: 0; margin-bottom: 3.5em; }
.edit-main .panel h2, .edit-main .panel h3 { font-size: 1.25em; margin: 0 0 1.5em; }
.edit-main .panel h4 { font-size: 0.9375em; margin: 1.75em 0 0.5em; color: #1A1A1A; }
.edit-main .panel h4:first-of-type { margin-top: 0; }
.edit-main .help.mb { margin: 0 0 0.75em; }
.edit-main .field { margin-bottom: 1.25em; }
.edit-main label { color: #333; font-weight: 600; }
.edit-main .tag-pills label, .edit-main .checks label { font-weight: 400; }

/* 入力欄: 罫線なしの塗りなので、フォーカスでも線は出さない（2026-10-29 白ホリ #481・フォームの基準） */
.edit-main input:focus, .edit-main select:focus, .edit-main textarea:focus { outline: none; }

/* 単位付きの数値入力(右端に m・㎡・A など) */
.input-unit { position: relative; }
.input-unit input { padding-right: 3.5em; }
.input-unit::after {
    content: attr(data-unit); position: absolute; right: 0.875em; top: 50%; transform: translateY(-50%);
    font-size: 0.8125em; color: #9CA3AF; pointer-events: none;
}

/* 保存ボタン: 画面下に固定して、長いページでもスクロールせずに保存できる */
.form-actions {
    position: sticky; bottom: 0; z-index: 5;
    display: flex; align-items: center; justify-content: flex-end; gap: 1em;
    margin: 2em 0 0; padding: 1em 0;
    background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(0.25em);
}
.form-actions .btn { min-width: 9em; }
.form-actions__state { font-size: 0.8125em; color: #1a1a1a; font-weight: 600; }
.form-actions__state::before { content: "●"; margin-right: 0.375em; font-size: 0.75em; }


/* 編集メニュー: 入力状況の印 */
.progress-mark { flex: none; font-size: 0.6875em; font-weight: 700; line-height: 1; }
/* 入力済みはブランドのグラデーションの丸＋白の太いチェック（2026-10-27 白ホリと同じ・ホワイトパンダはブランドの上の文字が白） */
/* 入力済みの印は丸なし・チェックそのものをブランドのグラデーションで塗る(2026-10-27 児島依頼)。チェックの形で切り抜く(mask) */
.progress-mark--done { display: inline-block; width: 1.25em; height: 1.25em; font-size: 1em; background: var(--c-brand-gradient); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.75 8.5l3.5 3.5L13.25 4.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.75 8.5l3.5 3.5L13.25 4.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.progress-mark--done svg { display: none; }
.progress-mark--todo { color: #1a1a1a; font-weight: 400; }

/* タグ: グループごとの選択数 */
.tag-count { margin-left: 0.5em; font-size: 0.875em; font-weight: 600; color: #1a1a1a; }

@media (max-width: 769px) {
    .edit-header__title { font-size: 1.25em; }
    .form-actions { padding: 0.75em 0; }
    .form-actions .btn { flex: 1; }
}

/* ===== スタジオ編集画面の仕上げ(2026-10-14) =====
   線で区切らず、文字の大きさ・濃さ・余白の3つで階層を作る。
   色は墨(#1a1a1a)・本文(#3F3F46)・補足(#71717A)・薄墨(#A1A1AA)の4段に絞る */
.edit-header__crumbs { font-size: 0.75em; color: #A1A1AA; letter-spacing: 0.02em; }
.edit-header__crumbs a { color: #71717A; }
.edit-header__title { font-size: 1.625em; letter-spacing: 0.01em; color: #1a1a1a; }
.edit-header__meta { color: #71717A; }

.edit-main { max-width: 50em; color: #3F3F46; }
.edit-main .panel h2, .edit-main .panel h3 { font-size: 1.375em; letter-spacing: 0.01em; color: #1a1a1a; margin: 0 0 0.5em; }
/* 見出し直後の説明は「リード文」: 見出しとひと続きに読ませ、入力欄との間を空ける */
.edit-main .panel h2 + .help.mb, .edit-main .panel h3 + .help.mb {
    font-size: 0.875em; line-height: 1.75; color: #1A1A1A; margin: 0 0 2.25em;
}
.edit-main .panel h4 { font-size: 0.9375em; color: #1a1a1a; margin: 2.75em 0 0.375em; }
.edit-main .panel h4:first-of-type { margin-top: 0; }
.edit-main .panel h4 + .help.mb { font-size: 0.8125em; line-height: 1.7; color: #1A1A1A; margin: 0 0 1.125em; }

.edit-main label { font-size: 0.8125em; font-weight: 500; color: #3F3F46; margin-bottom: 0.5em; }
.edit-main .field { margin-bottom: 1.5em; }
.edit-main .field-row { gap: 1.25em; }
.edit-main .help { font-size: 0.75em; line-height: 1.7; color: #1A1A1A; margin-top: 0.5em; }

/* 入力欄: 高さをそろえ、罫線なしの塗り（2026-10-29 白ホリ #481）。任意は淡いグレー、必須は淡い赤 */
.edit-main input[type="text"], .edit-main input[type="email"], .edit-main input[type="number"],
.edit-main input[type="url"], .edit-main input[type="tel"], .edit-main input[type="date"],
.edit-main input[type="time"], .edit-main select, .edit-main textarea {
    padding: 0.6875em 0.875em; border: 0; border-radius: 0.25em;
    background-color: var(--c-form-opt-bg); color: #1a1a1a; line-height: 1.4;
}
.edit-main input:required, .edit-main select:required, .edit-main textarea:required { background-color: var(--c-form-req-bg); }
.edit-main input::placeholder, .edit-main textarea::placeholder { color: #B4B4BB; }
.edit-main input:disabled { background: #F7F7F8; color: #A1A1AA; }
.edit-main textarea { line-height: 1.75; }
/* select の矢印をOS任せにせず、細い山形にそろえる */
.edit-main select {
    appearance: none; -webkit-appearance: none; padding-right: 2.5em; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%2371717A' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.875em center; background-size: 0.75em;
}
.edit-main input[type="checkbox"], .edit-main input[type="radio"] {
    width: 1.0625em; height: 1.0625em; accent-color: #1a1a1a; margin: 0; flex: none; cursor: pointer;
}
/* チェックボックス付きの行(「仮予約を受け付ける」など) */
.edit-main .field > label:has(> input[type="checkbox"]),
.edit-main .field > label:has(> input[type="radio"]) {
    display: inline-flex; align-items: center; gap: 0.625em; font-size: 0.875em; color: #1a1a1a; cursor: pointer;
}
.edit-main .checks { gap: 0.75em 1.75em; }
.edit-main .checks label { gap: 0.5em; font-size: 1em; color: #1a1a1a; cursor: pointer; }

/* 表(営業時間・各種一覧): 見出し行は小さく薄く、行は細い罫だけ */
.edit-main table { font-size: 0.875em; }
.edit-main th { background: none; font-size: 0.8125em; font-weight: 500; color: #8A8A93; padding: 0 0.875em 0.75em; border-bottom: 0.0625em solid #EDEDF0; }
.edit-main td { padding: 0.875em; border-bottom: 0.0625em solid #F4F4F5; vertical-align: middle; color: #1a1a1a; }
.edit-main tr:last-child td { border-bottom: none; }
.edit-main th:first-child, .edit-main td:first-child { padding-left: 0; }
.edit-main td .btn + .inline-form, .edit-main td .inline-form + .btn { margin-left: 0.375em; }
#bh-table td:nth-child(2), #bh-table td:nth-child(3), #bh-table th:nth-child(2), #bh-table th:nth-child(3) { text-align: center; }

/* ボタン */
.edit-main .btn, .edit-header .btn { border-radius: 0.5em; font-weight: 700; letter-spacing: 0.02em; transition: background-color .15s ease, border-color .15s ease; }
.edit-main .btn:hover, .edit-header .btn:hover { opacity: 1; }
.edit-main .btn-primary, .edit-main .btn:not(.btn-outline):not(.btn-danger) { background: var(--c-brand); color: var(--c-on-brand); }
.edit-main .btn-primary:hover, .edit-main .btn:not(.btn-outline):not(.btn-danger):hover { background: #1a1a1a; color: #fff; }
.edit-main .btn-outline, .edit-header .btn-outline { border-color: #E4E4E7; color: #3F3F46; }
.edit-main .btn-outline:hover, .edit-header .btn-outline:hover { border-color: #C9C9CF; background: #FAFAFA; }
.form-actions .btn { min-width: 10em; padding: 0.75em 1.5em; font-size: 0.9375em; }
/* 一覧に行を足すボタン: 主張しすぎない控えめな形 */
.edit-main .btn.btn-add {
    background: #F4F4F5; color: #1a1a1a; font-size: 0.8125em; padding: 0.625em 1.125em;
}
.edit-main .btn.btn-add::before { content: "+"; margin-right: 0.5em; font-weight: 400; font-size: 1.125em; line-height: 1; }
.edit-main .btn.btn-add:hover { background: #EAEAEC; }
.edit-main .empty-state { margin: 0 0 1.25em; padding: 2em 1em; border-radius: 0.5em; background: #FAFAFA; text-align: center; font-size: 0.875em; color: #8A8A93; }

/* 注意書き: 枠をやめ、淡い面だけで示す */
.edit-main .notice { border: none; background: #FFF8EB; color: #7C4A03; border-radius: 0.5em; padding: 1em 1.25em; }

/* 保存欄: 本文と同じ幅で、上にだけ淡い影 */
.form-actions { margin-top: 2.5em; }
.form-actions__state { color: #1a1a1a; }

/* タグ: 選択数は控えめに */
.tag-count { color: #8A8A93; font-weight: 500; }

/* 左メニュー: 文字色を本文の4段にそろえる */
.edit-sidebar li a { color: #52525B; }
.edit-sidebar li a.is-active { background: #F4F4F5; color: #1a1a1a; }

@media (max-width: 769px) {
    .edit-header__title { font-size: 1.25em; }
    .edit-main .panel h2, .edit-main .panel h3 { font-size: 1.1875em; }
    .edit-main .panel h2 + .help.mb, .edit-main .panel h3 + .help.mb { margin-bottom: 1.5em; }
    .form-actions .btn { min-width: 0; }
}
/* タグ: 枠線の札をやめ、淡い面→選ぶと墨色 */
.edit-main .tag-pills { gap: 0.5em; }
.edit-main .tag-pills label { border: none; background: #F4F4F5; color: #3F3F46; padding: 0.5em 1em; font-size: 0.8125em; margin: 0; }
.edit-main .tag-pills label:hover { background: #EAEAEC; }
.edit-main .tag-pills label:has(input:checked) { background: #1a1a1a; color: #fff; }
.edit-main .tag-pills input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.edit-main .field > label + .tag-pills { margin-top: 0.25em; }
/* 追加ボタンは常に主操作の青(空の状態から最初に押すボタンのため) */
.edit-main .btn.btn-add { background: var(--c-brand); color: var(--c-on-brand); }
.edit-main .btn.btn-add:hover { background: #1a1a1a; color: #fff; }
/* 写真・図面の投入欄: 破線は残し(ここに落とせる合図)、色を薄く。ファイル選択ボタンもそろえる */
.edit-main .dropzone { border: 0.125em dashed #E4E4E7; background: #FAFAFA; border-radius: 0.75em; color: #71717A; }
.edit-main .dropzone__lead { color: #1a1a1a; }
.edit-main .dropzone input[type="file"] { font-size: 0.8125em; color: #71717A; }
.edit-main .dropzone input[type="file"]::file-selector-button {
    margin-right: 0.75em; padding: 0.5em 1em; border: none; border-radius: 0.5em;
    background: #1a1a1a; color: #fff; font-family: inherit; font-weight: 700; cursor: pointer;
}
@media (max-width: 769px) {
    /* 横並びの入力欄: 4つの行は2列×2、それ以外は縦積み(3＋1の半端な折り返しを作らない) */
    .edit-main .field-row { display: grid; grid-template-columns: 1fr; gap: 0 0.75em; }
    .edit-main .field-row:has(> .field:nth-child(4)) { grid-template-columns: 1fr 1fr; }
    .edit-main .field-row .field { min-width: 0; }
}
/* 入力ページの「左に項目名 14em・右に入力」（2026-10-29 白ホリ #479・#480 の A案と同じ・フォームの基準）。
   基本情報・連絡先・所在地・アクセス・広さ・設備・エリア・予約設定で使う。項目は今までどおり .field で、
   1つ目の label（または .sf-name）を左列に、それ以外を右列に置く。スマホは項目名を入力欄の上に */
.edit-main .panel .sf h4 { margin: 2.5em 0 0; padding-bottom: 0.75em; font-size: 1em; }
.edit-main .panel .sf h4:first-child { margin-top: 0; }
.edit-main .sf .field { display: grid; grid-template-columns: 14em minmax(0, 1fr); column-gap: 1.5em; margin: 0; padding: 1.25em 0; border-top: 0.0625em solid var(--c-form-divider); }
.edit-main .sf .field > :first-child { grid-column: 1; grid-row: 1 / span 20; align-self: start; margin: 0; padding-top: 0.75em; font-size: 0.9375em; font-weight: 700; color: #1a1a1a; }
.edit-main .sf .field > :not(:first-child) { grid-column: 2; }
.edit-main .sf .field > .help, .edit-main .sf .field > .error { margin-top: 0.375em; }
.edit-main .sf input[type="text"], .edit-main .sf input[type="email"], .edit-main .sf input[type="url"],
.edit-main .sf input[type="number"], .edit-main .sf select, .edit-main .sf textarea { width: 100%; padding: 0.875em 1em; font-size: 0.9375em; }
.edit-main .sf select { padding-right: 2.5em; }
.edit-main .sf .input-unit input { padding-right: 3.5em; }
.edit-main .sf textarea { line-height: 1.7; resize: vertical; }
.edit-main .sf .sf-w-s, .edit-main .sf .input-unit.sf-w-s { max-width: 9em; }
.edit-main .sf .sf-w-m { max-width: 16em; }
.edit-main .sf .sf-w-xs { width: 5.5em; max-width: 5.5em; text-align: right; }
.edit-main .sf .input-unit { width: 100%; }
/* 右列のチェックボックス・ラジオ（ホリゾント・予約方式など）は、左の項目名と高さをそろえる */
.edit-main .sf .field > label:not(:first-child), .edit-main .sf .field > .checks { justify-self: start; padding-top: 0.75em; }
.edit-main .sf .field > label:not(:first-child) { display: inline-flex; align-items: center; gap: 0.625em; margin: 0; font-size: 0.875em; font-weight: 400; color: #1a1a1a; }
/* 右列のスイッチ（予約設定の延長・2026-10-29）。項目名の行の高さに合わせる */
.edit-main .sf .sf-switch { padding-top: 0.5em; }
.edit-main .sf--plain { margin-bottom: 1.5em; }
.sf-count { margin: 0.25em 0 0; font-size: 0.75em; text-align: right; }
.sf-count.is-over { color: var(--c-danger); }
/* 1項目の中の複数の入力（住所・準備時間など）: 小見出し付きの行を縦に並べる */
.sf-sub { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 0.625em 0.75em; align-items: center; }
.sf-sub--wide { grid-template-columns: 7em minmax(0, 1fr); }
.edit-main .sf .sf-sub > label { margin: 0; font-size: 0.875em; font-weight: 500; color: #1a1a1a; }
.sf-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em; font-size: 0.9375em; color: #1a1a1a; }
.edit-main .sf .sf-inline input { font-size: 1em; }
@media (max-width: 769px) {
    .edit-main .sf .field { grid-template-columns: minmax(0, 1fr); row-gap: 0.5em; }
    .edit-main .sf .field > :first-child { grid-row: auto; padding-top: 0; }
    .edit-main .sf .field > :not(:first-child) { grid-column: 1; }
    .edit-main .sf .field > label:not(:first-child), .edit-main .sf .field > .checks { padding-top: 0; }
    /* 16px 未満だと iOS で入力時に画面が拡大される */
    .edit-main .sf input, .edit-main .sf select, .edit-main .sf textarea { font-size: 1em; }
}
/* 営業時間の表: 祝日の3択は中身の幅にする(既定の width:100em だと表が横に伸びて列が押し出される) */
#bh-table select { width: auto; }
#bh-table td:first-child { white-space: nowrap; }
/* オーナー都合の取り消し: 負担額の内訳 */
.fee-table { width: 100%; margin: 0.75em 0; font-size: 0.875em; }
.fee-table th { background: none; font-weight: 400; color: #52525B; white-space: normal; }
.fee-table td { text-align: right; white-space: nowrap; }
/* アクセス数(2026-10-14) */
.stats-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(9em, 1fr)); gap: 0.75em; margin: 0 0 2.5em; padding: 0; list-style: none; }
.stats-cards li { padding: 1em 1.25em; border-radius: 0.625em; background: #F7F7F8; }
.stats-cards__label { display: block; font-size: 0.8125em; color: #71717A; }
.stats-cards strong { font-size: 1.75em; color: #1a1a1a; }
.stats-month { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-bottom: 0.75em; }
.stats-month h2 { margin: 0; }
.stats-month a { font-size: 0.875em; }
.stats-table td:not(:first-child), .stats-table th:not(:first-child) { text-align: right; }
.stats-table__total td { font-weight: 700; }
.stats-cards__note { display: block; margin-top: 0.25em; font-size: 0.6875em; color: #8A8A93; line-height: 1.5; }
.stats-sub { font-size: 1em; margin: 2em 0 0.75em; color: #1a1a1a; }
.stats-sources { list-style: none; margin: 0 0 1.5em; padding: 0; max-width: 40em; }
.stats-sources li { display: grid; grid-template-columns: 11em 1fr 4em; align-items: center; gap: 0.75em; padding: 0.375em 0; font-size: 0.875em; }
.stats-sources strong { text-align: right; }
.stats-sources__bar { width: 100%; height: 0.5em; }
.stats-sources__bar::-webkit-meter-bar { background: #F4F4F5; border: none; border-radius: 999em; }
.stats-sources__bar::-webkit-meter-optimum-value { background: #1a1a1a; border-radius: 999em; }
.stats-sources__bar::-moz-meter-bar { background: #1a1a1a; border-radius: 999em; }
/* プランを変えた場合 */
.plan-sim { margin-top: 3.5em; }
.plan-sim__item { padding: 1.5em 1.75em; margin-bottom: 1em; border-radius: 0.75em; background: #F7F7F8; }
.plan-sim__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25em 1em; margin-bottom: 0.75em; }
.plan-sim__head h3 { margin: 0; font-size: 1.125em; color: #1a1a1a; }
.plan-sim__head p { margin: 0; font-size: 0.8125em; color: #71717A; }
.plan-sim__list { margin: 0; padding: 0; list-style: none; font-size: 0.875em; }
.plan-sim__list > li { position: relative; padding: 0.375em 0 0.375em 1.25em; color: #3F3F46; }
.plan-sim__list > li::before { content: "・"; position: absolute; left: 0; color: #A1A1AA; }
.plan-sim__list > li.is-up::before { content: "↑"; color: #1a1a1a; }
.plan-sim__list > li.is-down::before { content: "↓"; color: #1a1a1a; }
.plan-sim__pages { margin: 0.375em 0 0; padding-left: 1.25em; font-size: 0.9375em; color: #52525B; }
.plan-sim__peers { margin-top: 1em; padding: 0.875em 1em; border-radius: 0.5em; background: #fff; font-size: 0.8125em; }
.plan-sim__peers p { margin: 0 0 0.375em; color: #71717A; }
.plan-sim__peers ul { margin: 0; padding-left: 1.25em; }
.plan-sim__pending, .plan-sim__how { margin: 0.875em 0 0; font-size: 0.75em; color: #8A8A93; }
@media (max-width: 769px) {
    .stats-sources li { grid-template-columns: 8em 1fr 3.5em; }
    .plan-sim__item { padding: 1.25em 1em; }
}
.stats-summary + section .stats-month { margin-top: 2.5em; }
/* アクセス数の日別グラフ */
.stats-charts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25em; }
.stats-chart { margin: 0; padding: 1em 1.25em 0.75em; border-radius: 0.75em; background: #F7F7F8; }
.stats-chart figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5em; font-size: 0.8125em; color: #52525B; }
.stats-chart figcaption strong { font-size: 1.375em; color: #1a1a1a; }
.stats-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.stats-chart__bar { fill: #1a1a1a; }
.stats-chart__bar:hover { fill: var(--c-brand); stroke: #1a1a1a; }
.stats-chart__grid { stroke: #E4E4E7; stroke-width: 1; stroke-dasharray: 3 3; }
.stats-chart__base { stroke: #C9C9CF; stroke-width: 1; }
.stats-chart__y { fill: #A1A1AA; text-anchor: end; }
.stats-chart__x { fill: #A1A1AA; text-anchor: middle; }
@media (max-width: 769px) {
    .stats-charts { grid-template-columns: 1fr; }
}
.stats-charts + .help { margin-top: 1.25em; }

/* ===== アクセス数ページ(2026-10-14 作り直し) =====
   見出し→主要な数字→お客様の流れ・表示された場所→プランの比較→日ごとの推移、の順に「次に何をすればよいか」へ導く */
.sx-head { margin: 0 0 2.25em; }
.sx-head__main { display: flex; justify-content: space-between; align-items: flex-end; gap: 1em; flex-wrap: wrap; }
.sx-head__title { margin: 0 0 0.375em; font-size: 1.75em; line-height: 1.3; color: #1a1a1a; letter-spacing: 0.01em; }
.sx-head__meta { margin: 0; display: flex; align-items: center; gap: 0.75em; flex-wrap: wrap; font-size: 0.8125em; color: #71717A; }
.sx-head__actions { display: flex; gap: 0.5em; }
.sx-chip { display: inline-block; padding: 0.25em 0.75em; border-radius: 999em; background: #1a1a1a; color: #fff; font-size: 0.875em; font-weight: 700; }

.sx-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(12em, 1fr)); gap: 1em; margin: 0 0 1.25em; }
.sx-kpi { position: relative; padding: 1.25em 1.25em 0.75em; border-radius: 0.875em; background: #F7F7F8; overflow: hidden; }
.sx-kpi.is-primary { background: #1a1a1a; color: #fff; }
.sx-kpi__label { margin: 0 0 0.5em; font-size: 0.8125em; font-weight: 500; color: inherit; opacity: 0.75; }
.sx-kpi__value { margin: 0; font-size: 2.25em; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.sx-kpi__value small { margin-left: 0.25em; font-size: 0.375em; font-weight: 500; opacity: 0.6; }
.sx-kpi__delta { margin: 0.5em 0 0.25em; font-size: 0.75em; color: #8A8A93; }
.sx-kpi.is-primary .sx-kpi__delta { color: rgba(255, 255, 255, 0.6); }
.sx-kpi__delta.is-up { color: #1a1a1a; font-weight: 700; }
.sx-kpi__delta.is-down { color: #1a1a1a; font-weight: 700; }
.sx-kpi.is-primary .sx-kpi__delta.is-up { color: #4ADE80; }
.sx-kpi__delta span { margin-left: 0.5em; font-weight: 400; color: #A1A1AA; }
.sx-spark { display: block; width: 100%; height: 2.25em; margin-top: 0.25em; }
.sx-spark__line { fill: none; stroke: #1a1a1a; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.sx-spark__area { fill: rgba(71, 163, 255, 0.12); }
.sx-kpi.is-primary .sx-spark__line { stroke: #8EC5FF; }
.sx-kpi.is-primary .sx-spark__area { fill: rgba(142, 197, 255, 0.18); }

.sx-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; margin-bottom: 4em; }
.sx-card { padding: 1.5em 1.75em; border-radius: 0.875em; background: #F7F7F8; }
.sx-card__title { margin: 0; font-size: 1.0625em; color: #1a1a1a; }
.sx-card__lead { margin: 0.25em 0 1.25em; font-size: 0.75em; color: #1A1A1A; }
.sx-card meter, .sx-funnel meter { width: 100%; height: 0.625em; }
.sx-card meter::-webkit-meter-bar { background: #E9E9EC; border: none; border-radius: 999em; }
.sx-card meter::-webkit-meter-optimum-value { background: #1a1a1a; border-radius: 999em; }
.sx-card meter::-moz-meter-bar { background: #1a1a1a; border-radius: 999em; }
.sx-funnel { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.sx-funnel li { margin-bottom: 1em; }
.sx-funnel__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.375em; font-size: 0.875em; color: #3F3F46; }
.sx-funnel__row strong { font-size: 1.25em; color: #1a1a1a; }
.sx-funnel__rate { margin: 0.25em 0 0; font-size: 0.75em; color: #71717A; }
.sx-sources { margin: 0; padding: 0; list-style: none; }
.sx-sources li { display: grid; grid-template-columns: 10.5em 1fr 3.5em; align-items: center; gap: 0.75em; padding: 0.4375em 0; font-size: 0.8125em; color: #3F3F46; }
.sx-sources li strong { text-align: right; color: #1a1a1a; }
.sx-sources li.is-locked { grid-template-columns: 10.5em 1fr; color: #A1A1AA; }
.sx-sources li.is-locked a { font-size: 0.9375em; color: #1a1a1a; }
.sx-sources__name { display: inline-flex; align-items: center; gap: 0.375em; }
/* アクセス分析（2026-10-25 独立）: 全店／スタジオの切り替えと、全店のときのスタジオ別比較 */
.sales-filter.sx-filter { margin: 1.25em 0 0; }
.sx-filter select { padding: 0.625em 2.5em 0.625em 0.875em; border: 0; border-radius: 0.25em; background: var(--c-form-opt-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%2371717A' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.875em center / 0.75em; color: #1a1a1a; appearance: none; -webkit-appearance: none; cursor: pointer; }
.sx-sources__note { font-size: 0.9375em; color: #A1A1AA; }
.sx-compare { margin: 0 0 1.5em; }
.sx-compare__table table { width: 100%; background: transparent; }
.sx-compare__table td { vertical-align: middle; }
.sx-compare__table td .sx-chip { margin-left: 0.5em; }
.sx-compare__num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 769px) {
    .sx-compare__num { text-align: left; }
    /* 「検索結果などでの表示」が既定の 5.5em に収まらず数字に重なるため */
    .sx-compare__table td[data-label]::before { width: 10em; }
}
.sx-lock { display: inline-block; width: 0.875em; height: 0.875em; flex: none;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3' y='7' width='10' height='8' rx='1.5' fill='%23A1A1AA'/%3E%3Cpath d='M5 7V5a3 3 0 0 1 6 0v2' fill='none' stroke='%23A1A1AA' stroke-width='1.6'/%3E%3C/svg%3E"); }

.sx-plans { margin: 0 0 4.5em; }
.sx-plans__intro { margin: 0 0 1.75em; }
.sx-eyebrow { margin: 0 0 0.5em; font-size: 0.6875em; font-weight: 700; letter-spacing: 0.2em; color: #1a1a1a; }
.sx-plans__intro h2 { margin: 0 0 0.5em; font-size: 1.625em; line-height: 1.35; color: #1a1a1a; }
.sx-plans__intro p { margin: 0; font-size: 0.875em; line-height: 1.75; color: #71717A; }
.sx-revenue { margin: -0.75em 0 1.5em; font-size: 0.8125em; color: #52525B; }
.sx-plan-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(14em, 1fr)); gap: 1em; align-items: stretch; }
.sx-plan { position: relative; display: flex; flex-direction: column; padding: 1.75em 1.5em 1.5em; border-radius: 1em; background: #F7F7F8; }
.sx-plan.is-current { background: #fff; box-shadow: 0 0.25em 1.25em rgba(24, 24, 27, 0.08); }
.sx-plan.is-recommended { background: linear-gradient(180deg, var(--c-brand-tint) 0%, #fff 70%); box-shadow: 0 0.75em 2em rgba(26, 26, 26, 0.14); }
.sx-plan__badge { position: absolute; top: -0.75em; left: 1.5em; margin: 0; padding: 0.25em 0.75em; border-radius: 999em; font-size: 0.6875em; font-weight: 700; background: #E4E4E7; color: #3F3F46; }
.sx-plan.is-recommended .sx-plan__badge { background: var(--c-brand); color: var(--c-on-brand); }
.sx-plan__name { margin: 0 0 0.375em; font-size: 1.125em; color: #1a1a1a; }
.sx-plan__price { margin: 0; font-size: 0.9375em; font-weight: 700; color: #1a1a1a; }
.sx-plan__fee { margin: 0.125em 0 1em; font-size: 0.75em; color: #71717A; }
.sx-plan__gains { display: grid; gap: 0.5em; margin: 0 0 1em; padding: 0; list-style: none; }
.sx-plan__gains li { display: flex; align-items: baseline; gap: 0.625em; padding: 0.625em 0.875em; border-radius: 0.625em; background: rgba(71, 163, 255, 0.1); }
.sx-plan__gains strong { font-size: 1.25em; color: #1a1a1a; white-space: nowrap; }
.sx-plan__gains span { font-size: 0.75em; color: #3F3F46; line-height: 1.4; }
.sx-plan__loss { margin: 0 0 1em; font-size: 0.75em; color: #1a1a1a; }
.sx-plan__features { margin: 0 0 1em; padding: 0; list-style: none; font-size: 0.8125em; }
.sx-plan__features li { position: relative; padding: 0.25em 0 0.25em 1.5em; color: #3F3F46; }
.sx-plan__features li::before { content: "✓"; position: absolute; left: 0.125em; font-weight: 700; color: #1a1a1a; }
.sx-plan__features li.is-off { color: #B4B4BB; }
.sx-plan__features li.is-off::before { content: "–"; color: #C9C9CF; }
.sx-plan__pages { margin: 0 0 1em; font-size: 0.8125em; }
.sx-plan__pages summary { cursor: pointer; color: #1a1a1a; font-weight: 500; }
.sx-plan__pages ul { margin: 0.5em 0 0; padding-left: 1.125em; color: #52525B; }
.sx-plan__pages li { margin: 0.25em 0; }
.sx-plan__pages small { margin-left: 0.5em; color: #8A8A93; }
.sx-plan__peers { margin: 0 0 1em; font-size: 0.75em; line-height: 1.6; color: #52525B; }
.sx-plan__cost { margin: 0 0 1em; font-size: 0.8125em; color: #3F3F46; }
.sx-plan__cost strong { font-size: 1.125em; color: #1a1a1a; }
.sx-plan__cost span { display: block; color: #8A8A93; }
.sx-plan__cost span.is-save { color: #1a1a1a; font-weight: 700; }
.sx-plan__cta { margin-top: auto; display: grid; gap: 0.5em; }
.sx-plan__cta .btn { width: 100%; text-align: center; }
.sx-plan__cta small { font-size: 0.6875em; line-height: 1.6; color: #8A8A93; }
.sx-plan__now { display: block; padding: 0.625em; border-radius: 0.5em; background: #F4F4F5; text-align: center; font-size: 0.8125em; font-weight: 700; color: #71717A; }
.sx-note { margin: 1.25em 0 0; font-size: 0.6875em; line-height: 1.7; color: #A1A1AA; }
.sx-detail .stats-month { margin-bottom: 1.25em; }

@media (max-width: 769px) {
    .sx-head__title { font-size: 1.375em; }
    .sx-kpis { grid-template-columns: 1fr 1fr; }
    .sx-kpi__value { font-size: 1.75em; }
    .sx-grid2 { grid-template-columns: 1fr; margin-bottom: 3em; }
    .sx-card { padding: 1.25em; }
    .sx-sources li { grid-template-columns: 8em 1fr 3em; }
    .sx-sources li.is-locked { grid-template-columns: 1fr; gap: 0.25em; }
    .sx-plans__intro h2 { font-size: 1.3125em; }
    .sx-plan-cards { grid-template-columns: 1fr; gap: 1.5em; }
}
.sx-kpi__value.is-pending { font-size: 1.25em; padding: 0.5em 0 0.125em; opacity: 0.85; }
.sx-card__empty { margin: 0 0 1em; padding: 0.75em 1em; border-radius: 0.5em; background: #fff; font-size: 0.75em; line-height: 1.6; color: #71717A; }
/* アクセス数の出典と数え方(2026-10-14) */
.ga4-source { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.375em 0.75em; margin: 0.75em 0 0; padding: 0.4375em 0.875em 0.4375em 0.4375em; border-radius: 999em; background: #F4F4F5; font-size: 0.75em; color: #52525B; }
.ga4-source strong { color: #1a1a1a; }
.ga4-source__mark { padding: 0.125em 0.5em; border-radius: 999em; background: #1a1a1a; color: #fff; font-weight: 700; letter-spacing: 0.04em; }
.ga4-source__sub { color: #8A8A93; }
.ga4-source a { color: #1a1a1a; }
.sx-howto { margin: 2.5em 0 0; padding: 1.25em 1.5em; border-radius: 0.875em; background: #F7F7F8; font-size: 0.8125em; color: #3F3F46; scroll-margin-top: 1em; }
.sx-howto summary { cursor: pointer; font-weight: 700; color: #1a1a1a; }
.sx-howto p { margin: 1em 0 0.75em; line-height: 1.75; }
.sx-howto dl { margin: 0; }
.sx-howto dt { margin-top: 0.875em; font-weight: 700; color: #1a1a1a; }
.sx-howto dd { margin: 0.25em 0 0; line-height: 1.75; color: #52525B; }
.sx-howto ul { margin: 1.25em 0 0; padding-left: 1.25em; line-height: 1.75; color: #71717A; }

/* ===== オーナーのダッシュボード(2026-10-14 ゼロベースで作り直し) ===== */
.od-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1em 2em; flex-wrap: wrap; margin: 0 0 2.25em; }
.od-head__date { margin: 0 0 0.25em; font-size: 0.8125em; color: #8A8A93; }
.od-head__title { margin: 0; font-size: 1.75em; line-height: 1.3; color: #1a1a1a; }
.od-head__links { display: flex; flex-wrap: wrap; gap: 0.5em; }
.od-head__links a { padding: 0.5em 0.875em; border-radius: 999em; background: #F4F4F5; font-size: 0.8125em; font-weight: 500; color: #3F3F46; }
.od-head__links a:hover { background: #EAEAEC; text-decoration: none; }
.od-section { margin: 0 0 3.5em; }
.od-section__title { display: flex; align-items: center; gap: 0.5em; margin: 0 0 1em; font-size: 1.25em; color: #1a1a1a; }
.od-count { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5em; height: 1.5em; padding: 0 0.375em; border-radius: 999em; background: #DC2626; color: #fff; font-size: 0.6875em; }
.od-sub { margin: 1.75em 0 0.75em; font-size: 0.9375em; color: #1a1a1a; }
.od-clear { margin: 0; padding: 1em 1.25em; border-radius: 0.75em; background: #f5f5f5; color: #1a1a1a; font-size: 0.875em; font-weight: 500; } /* 緑は使わない（2026-10-28 白ホリ #443 と同じ・色は黒白＋ブランド色） */
.od-clear::before { content: "✓"; margin-right: 0.5em; font-weight: 700; }
.od-empty { margin: 0; padding: 1em 1.25em; border-radius: 0.75em; background: #F7F7F8; color: #71717A; font-size: 0.875em; }
.od-more { margin: 0.875em 0 0; font-size: 0.8125em; }
.od-actions { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.625em; }
.od-action { display: flex; justify-content: space-between; align-items: center; gap: 1em; padding: 1em 1.25em; border-radius: 0.75em; background: #F7F7F8; }
/* 角丸の箱に片側だけの線は付けない（2026-10-14 児島指摘）。急ぎは背景色と見出しの赤い点で示す */
.od-action.is-urgent { background: #FEF2F2; }
.od-action.is-urgent .od-action__title { display: flex; align-items: center; gap: 0.5em; }
.od-action.is-urgent .od-action__title::before { content: ""; flex: none; width: 0.5em; height: 0.5em; border-radius: 50%; background: #DC2626; }
.od-action__title { margin: 0; font-size: 0.9375em; font-weight: 700; color: #1a1a1a; }
.od-action__text { margin: 0.25em 0 0; font-size: 0.8125em; color: #52525B; }
.od-action .btn { flex: none; }
.od-bookings { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(15em, 1fr)); gap: 0.75em; }
.od-bookings li { padding: 1em 1.25em; border-radius: 0.75em; background: #F7F7F8; font-size: 0.875em; }
.od-bookings__when { margin: 0; font-size: 1.125em; color: #1a1a1a; }
.od-bookings__when strong { margin-right: 0.5em; color: #1a1a1a; }
.od-bookings__who { margin: 0.375em 0 0; font-weight: 700; color: #1a1a1a; }
.od-bookings__where { margin: 0.125em 0 0.5em; color: #71717A; font-size: 0.9375em; }
.od-tag { margin-left: 0.5em; padding: 0.125em 0.5em; border-radius: 999em; background: var(--c-brand-tint); color: #1a1a1a; font-size: 0.75em; font-weight: 500; }
.od-list { margin: 0; padding: 0; list-style: none; }
.od-list li { display: grid; grid-template-columns: 9em 1fr auto; gap: 1em; padding: 0.625em 0; font-size: 0.875em; color: #3F3F46; }
.od-list li + li { box-shadow: inset 0 0.0625em 0 #F0F0F2; }
.od-kpis { margin-top: 1em; }
.od-payout { display: flex; flex-wrap: wrap; align-items: center; gap: 1em 2.5em; margin-top: 1em; padding: 1.25em 1.5em; border-radius: 0.875em; background: linear-gradient(135deg, var(--c-brand-tint), #F7F7F8); }
.od-payout__label { margin: 0; font-size: 0.8125em; color: #52525B; }
.od-payout__value { margin: 0.125em 0 0; font-size: 2em; font-weight: 700; color: #1a1a1a; }
.od-payout__value small { margin-left: 0.25em; font-size: 0.4375em; color: #71717A; }
.od-payout__detail { flex: 1; min-width: 16em; margin: 0; padding: 0; list-style: none; font-size: 0.8125em; color: #52525B; }
.od-payout__detail li { display: flex; justify-content: space-between; gap: 1em; padding: 0.25em 0; }
.od-payout__detail strong { color: #1a1a1a; white-space: nowrap; }
.od-payout__detail li.is-warn { color: #1a1a1a; }
.od-studios { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.75em; }
.od-studio { display: grid; grid-template-columns: minmax(14em, 1.2fr) 2fr auto; gap: 1em 1.5em; align-items: center; padding: 1.25em 1.5em; border-radius: 0.875em; background: #F7F7F8; }
.od-studio__head h3 { margin: 0 0 0.375em; font-size: 1em; color: #1a1a1a; }
.od-studio__chips { display: flex; flex-wrap: wrap; gap: 0.375em; margin: 0; }
.od-chip { padding: 0.125em 0.625em; border-radius: 999em; background: #E9E9EC; font-size: 0.6875em; font-weight: 700; color: #52525B; }
.od-chip.is-on { background: #DCFCE7; color: #166534; }
.od-studio__bar { display: flex; align-items: center; gap: 0.75em; font-size: 0.75em; color: #52525B; }
.od-studio__bar meter { flex: 1; height: 0.5em; }
.od-studio__bar meter::-webkit-meter-bar { background: #E4E4E7; border: none; border-radius: 999em; }
.od-studio__bar meter::-webkit-meter-optimum-value { background: #1a1a1a; border-radius: 999em; }
.od-studio__bar meter::-moz-meter-bar { background: #1a1a1a; border-radius: 999em; }
.od-studio__missing { margin: 0.5em 0 0; font-size: 0.75em; color: #1a1a1a; }
.od-studio__missing a { color: #1a1a1a; text-decoration: underline; }
.od-studio__tip { margin: 0.375em 0 0; font-size: 0.75em; color: #71717A; }
.od-studio__tip::before { content: "💡"; margin-right: 0.375em; }
.od-studio__links { display: flex; flex-direction: column; gap: 0.375em; }
.od-hints { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(18em, 1fr)); gap: 0.75em; }
.od-hints li { padding: 1.25em 1.5em; border-radius: 0.875em; background: linear-gradient(180deg, var(--c-brand-tint), #fff 90%); box-shadow: 0 0.5em 1.5em rgba(26, 26, 26, 0.08); font-size: 0.875em; }
.od-hints__studio { margin: 0 0 0.375em; font-size: 0.8125em; color: #71717A; }
.od-hints__text { margin: 0 0 0.625em; line-height: 1.7; color: #1a1a1a; }
.od-hints__text strong { color: #1a1a1a; }
.od-news { margin: 0; padding: 0; list-style: none; }
.od-news li + li { box-shadow: inset 0 0.0625em 0 #F0F0F2; }
.od-news summary { display: flex; align-items: center; gap: 0.75em; padding: 0.75em 0; cursor: pointer; font-size: 0.9375em; color: #1a1a1a; }
.od-news time { flex: none; font-size: 0.8125em; color: #8A8A93; }
.od-new { flex: none; padding: 0.0625em 0.5em; border-radius: 999em; background: #DC2626; color: #fff; font-size: 0.625em; font-weight: 700; }
.od-news p { margin: 0 0 1em; font-size: 0.875em; line-height: 1.8; color: #3F3F46; }
@media (max-width: 769px) {
    .od-head__title { font-size: 1.375em; }
    .od-action { flex-direction: column; align-items: stretch; }
    .od-studio { grid-template-columns: 1fr; }
    .od-studio__links { flex-direction: row; flex-wrap: wrap; }
    .od-list li { grid-template-columns: 1fr; gap: 0.125em; }
}

/* オーナーのダッシュボード（2026-10-29 白ホリ #490・#492 の A案＝受信箱型）。左＝今やること・今日明日・今月の数字、右＝スタジオの状態・お知らせ。
   白ホリは行の間に細い線を引いているが、こちらは共通ルールどおり線を引かず、面（#f5f5f5）と余白で区切る。色は墨・白＋ブランド（NEW の札だけグラデーション） */
.oda { display: grid; grid-template-columns: minmax(0, 1fr) 18em; gap: 3em; align-items: start; }
.oda-sec + .oda-sec { margin-top: 2.5em; }
.oda-h { margin: 0 0 0.75em; font-size: 1.0625em; color: #1a1a1a; }
.oda-h-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; }
.oda-h-row a { font-size: 0.8125em; color: #1a1a1a; white-space: nowrap; }
.oda-count { display: inline-block; min-width: 1.5em; margin-left: 0.375em; padding: 0 0.375em; border-radius: 1em; background: #1a1a1a; color: #fff; font-size: 0.75em; text-align: center; vertical-align: 0.125em; }
.oda-clear { margin: 0; padding: 1em 1.25em; border-radius: 0.5em; background: #f5f5f5; color: #1a1a1a; font-size: 0.875em; }
.oda-clear a { color: #1a1a1a; text-decoration: underline; }
.oda-inbox { display: grid; gap: 0.5em; margin: 0; padding: 0; list-style: none; }
.oda-inbox li { display: grid; grid-template-columns: 7em minmax(0, 1fr) auto; gap: 1em; align-items: center; padding: 0.875em 1em; border-radius: 0.5em; background: #f5f5f5; }
.oda-kind { justify-self: start; padding: 0.125em 0.75em; border-radius: 1em; background: #fff; color: #1a1a1a; font-size: 0.75em; font-weight: 700; white-space: nowrap; }
.oda-kind.is-urgent { background: #1a1a1a; color: #fff; }
.oda-inbox__title { margin: 0; font-size: 0.875em; font-weight: 700; color: #1a1a1a; }
.oda-inbox__text { margin: 0.125em 0 0; font-size: 0.8125em; color: #1a1a1a; }
.oda-inbox .btn { white-space: nowrap; }
.oda-btn-soft { background: #fff; color: #1a1a1a; border: 0; }
.oda-today { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75em; margin: 0; padding: 0; list-style: none; }
.oda-today a { display: block; height: 100%; padding: 1em; border-radius: 0.5em; background: #f5f5f5; color: #1a1a1a; text-decoration: none; }
.oda-today a:hover { background: #ececec; }
.oda-today p { margin: 0; }
.oda-today__when { font-weight: 700; }
.oda-today__who { margin-top: 0.25em !important; font-size: 0.875em; }
.oda-today__where { font-size: 0.8125em; }
.oda-unread { margin-left: 0.5em; padding: 0 0.5em; border-radius: 1em; background: #1a1a1a; color: #fff; font-size: 0.75em; white-space: nowrap; }
.oda-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(10em, 1fr)); gap: 0.75em; }
.oda-kpi { padding: 1em 1.125em; border-radius: 0.5em; background: #f5f5f5; color: #1a1a1a; }
.oda-kpi.is-main { background: #1a1a1a; color: #fff; }
.oda-kpi p { margin: 0; }
.oda-kpi__label { margin: 0; font-size: 0.75em; font-weight: 500; color: inherit; }
.oda-kpi__value { margin: 0.25em 0 !important; font-size: 1.5em; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; }
.oda-kpi__value small { margin-left: 0.125em; font-size: 0.5em; font-weight: 500; }
.oda-kpi__sub { font-size: 0.75em; }
.oda-note { margin: 0.75em 0 0; font-size: 0.8125em; color: #1a1a1a; }
.oda-note a { color: #1a1a1a; text-decoration: underline; }
.oda-health, .oda-news { margin: 0; padding: 0; list-style: none; font-size: 0.8125em; }
.oda-health a, .oda-health__row { display: flex; justify-content: space-between; gap: 1em; padding: 0.5em 0; color: #1a1a1a; text-decoration: none; }
.oda-health a:hover span { text-decoration: underline; }
.oda-health b { font-variant-numeric: tabular-nums; white-space: nowrap; }
/* お知らせ: 1行＝日付・件名・NEW。押すとモーダルで本文（白ホリ #492。札が縦に伸びる・押すと青い枠が出る、を直したもの） */
.oda-news__item { display: flex; align-items: baseline; gap: 0.75em; width: 100%; padding: 0.5em 0; border: 0; background: none; color: #1a1a1a; font: inherit; text-align: left; cursor: pointer; }
.oda-news__item:hover .oda-news__title { text-decoration: underline; }
.oda-news__item:focus { outline: none; }
.oda-news__item:focus-visible .oda-news__title { text-decoration: underline; }
.oda-news time { flex: none; font-variant-numeric: tabular-nums; }
.oda-news__title { flex: 1; min-width: 0; }
.oda-new { flex: none; align-self: center; padding: 0.125em 0.5em; border-radius: 1em; background: var(--c-brand-gradient); color: var(--c-on-brand); font-size: 0.8462em; font-weight: 700; line-height: 1.2; }
.oda-news-modal { width: min(92%, 40em); }
.oda-news-modal__date { margin: 0 0 0.25em; font-size: 0.8125em; }
.oda-news-modal__body { margin: 0 0 1.5em; font-size: 0.9375em; line-height: 1.8; }
.oda-news-modal__body p { margin: 0 0 1em; }
.oda-news-modal__body a { color: #1a1a1a; text-decoration: underline; word-break: break-all; }
@media (max-width: 769px) {
    .oda { grid-template-columns: minmax(0, 1fr); gap: 2.5em; }
    .oda-inbox li { grid-template-columns: minmax(0, 1fr) auto; }
    .oda-kind { grid-column: 1 / -1; }
    .oda-today, .oda-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== オーナー画面の共通デザイン(2026-10-14 フルリニューアル) =====
   .op = オーナー画面の本文。線で区切らず面と余白で、文字色は墨/本文/補足/薄墨の4段(編集画面と同じ) */
.op-head { margin: 0 0 2.25em; }
.op-head__crumbs { display: flex; gap: 0.5em; align-items: center; margin-bottom: 0.5em; font-size: 0.75em; color: #A1A1AA; }
.op-head__crumbs a { color: #71717A; }
.op-head__main { display: flex; justify-content: space-between; align-items: flex-end; gap: 1em 2em; }
.op-head__main > div:first-child { flex: 1; min-width: 0; }
.op-head__title { margin: 0; font-size: 1.75em; line-height: 1.3; color: #1a1a1a; letter-spacing: 0.01em; }
.op-head__count { margin-left: 0.5em; font-size: 0.5em; font-weight: 500; color: #1A1A1A; }
.op-head__lead { margin: 0.5em 0 0; font-size: 0.875em; line-height: 1.75; color: #1A1A1A; }
.op-head__actions { display: flex; flex-wrap: wrap; gap: 0.5em; }

.op { color: #3F3F46; }
.op-section { margin: 0 0 3em; }
.op-section__title { margin: 0 0 0.375em; font-size: 1.25em; color: #1a1a1a; }
.op-section__lead { margin: 0 0 1.5em; font-size: 0.875em; line-height: 1.75; color: #1A1A1A; }
.op-card { padding: 1.75em 2em; border-radius: 0.875em; background: #F7F7F8; }
.op-card + .op-card { margin-top: 1em; }
.op-card--white { background: #fff; box-shadow: 0 0.25em 1.25em rgba(24, 24, 27, 0.06); }
.op-narrow { max-width: 40em; }
.op-empty { margin: 0; padding: 2.5em 1em; border-radius: 0.875em; background: #F7F7F8; text-align: center; font-size: 0.875em; color: #8A8A93; }
.op-chip { display: inline-block; padding: 0.125em 0.625em; border-radius: 999em; background: #E9E9EC; font-size: 0.6875em; font-weight: 700; color: #52525B; }
.op-chip.is-on { background: #DCFCE7; color: #166534; }
.op-chip.is-warn { background: var(--c-brand); color: var(--c-on-brand); }
.op-chip.is-off { background: #F4F4F5; color: #A1A1AA; }
.op-chip.is-ink { background: #1a1a1a; color: #fff; }

/* 入力欄・ボタン(編集画面 .edit-main と同じ仕上げ) */
.op label { font-size: 0.8125em; font-weight: 500; color: #3F3F46; margin-bottom: 0.5em; }
.op .field { margin-bottom: 1.5em; }
.op .field-row { gap: 1.25em; }
.op .help { font-size: 0.75em; line-height: 1.7; color: #1A1A1A; margin-top: 0.5em; }
.op input[type="text"], .op input[type="email"], .op input[type="number"], .op input[type="password"],
.op input[type="url"], .op input[type="tel"], .op input[type="date"], .op input[type="time"], .op select, .op textarea {
    padding: 0.6875em 0.875em; border: 0; border-radius: 0.25em;
    background-color: var(--c-form-opt-bg); color: #1a1a1a; line-height: 1.4;
}
.op input:required, .op select:required, .op textarea:required { background-color: var(--c-form-req-bg); }
.op input:focus, .op select:focus, .op textarea:focus { outline: none; }
/* グレーの面の上の任意の入力欄は白で塗る（同じグレーだと見えなくなる・2026-10-29 白ホリ #481） */
.op-card:not(.op-card--white) input:not([type="checkbox"]):not([type="radio"]):not(:required),
.op-card:not(.op-card--white) select:not(:required), .op-card:not(.op-card--white) textarea:not(:required) { background-color: #fff; }
.op input::placeholder, .op textarea::placeholder { color: #B4B4BB; }
.op textarea { line-height: 1.75; }
.op select {
    appearance: none; -webkit-appearance: none; padding-right: 2.5em; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%2371717A' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.875em center; background-size: 0.75em;
}
.op input[type="checkbox"], .op input[type="radio"] { accent-color: #1a1a1a; }
.op .btn, .op-head .btn { border-radius: 0.5em; font-weight: 700; letter-spacing: 0.02em; }
.op .btn:hover, .op-head .btn:hover { opacity: 1; }
.op .btn-primary, .op-head .btn-primary { background: var(--c-brand); color: var(--c-on-brand); }
.op .btn-primary:hover, .op-head .btn-primary:hover { background: #1a1a1a; color: #fff; }
/* ブランドのグラデーションのボタン（2026-10-27）。上の .op-head .btn-primary のほうが強いので、同じ強さで後ろに置いて塗りを戻す。ホバーは少し薄く */
.op .btn-gradient, .op-head .btn-gradient { background: var(--c-brand-gradient); color: #fff; }
.op .btn-gradient:hover, .op-head .btn-gradient:hover { background: var(--c-brand-gradient); color: #fff; opacity: 0.85; }
.op .btn-outline, .op-head .btn-outline { border-color: #E4E4E7; color: #3F3F46; background: #fff; }
.op .btn-outline:hover, .op-head .btn-outline:hover { border-color: #C9C9CF; background: #FAFAFA; }
.op .btn-danger:hover { background: #B91C1C; }
.op .errors { border: none; border-radius: 0.625em; }
.op-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75em; margin-top: 2em; }
@media (max-width: 769px) {
    .op-head__title { font-size: 1.375em; }
    .op-head__main { flex-direction: column; align-items: flex-start; }
    .op-card { padding: 1.25em 1.125em; }
    .op .field-row { display: grid; grid-template-columns: 1fr; gap: 0; }
}
/* スタジオ管理 */
.op-studios { margin: 0; padding: 0; list-style: none; display: grid; gap: 1em; }
.op-studio { display: grid; grid-template-columns: 13em 1fr; gap: 1.5em; padding: 1.25em; border-radius: 0.875em; background: #F7F7F8; }
.op-studio__thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; border-radius: 0.625em; overflow: hidden; background: #E9E9EC; color: #A1A1AA; font-size: 0.75em; }
.op-studio__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.op-studio__body { display: grid; grid-template-columns: minmax(0, 1fr) 10em; gap: 0.75em 1.5em; align-content: start; }
.op-studio__head { grid-column: 1; }
.op-studio__title { margin: 0; font-size: 1.125em; line-height: 1.4; }
.op-studio__title a { color: #1a1a1a; }
.op-studio__meta { margin: 0.25em 0 0.5em; font-size: 0.8125em; color: #71717A; }
.op-studio__chips { margin: 0.5em 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25em 1em; }
.op-studio__plan-change { font-size: 0.8125em; color: #1a1a1a; text-decoration: underline; white-space: nowrap; }
.op-studio__toggles { grid-column: 2; grid-row: 1; display: flex; /* 列幅を固定し、ラベルの長さが違ってもスイッチの位置を全カードで揃える */ flex-direction: column; align-items: flex-start; gap: 0.5em; }
.op-studio__locked { margin: 0; display: flex; align-items: center; gap: 0.5em; font-size: 0.75em; color: #1a1a1a; }
.op-studio__note { grid-column: 1 / -1; margin: 0; font-size: 0.75em; color: #1a1a1a; }
.op-studio__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.5em; margin-top: 0.25em; }
.op-studio__links a { padding: 0.4375em 0.875em; border-radius: 0.5em; background: #fff; font-size: 0.8125em; font-weight: 500; color: #1a1a1a; box-shadow: 0 0.0625em 0.25em rgba(24, 24, 27, 0.06); }
.op-studio__links a:hover { text-decoration: none; background: var(--c-brand-tint); color: #1a1a1a; }
@media (max-width: 769px) {
    .op-studio { grid-template-columns: 1fr; }
    .op-studio__body { grid-template-columns: 1fr; }
    .op-studio__toggles { grid-column: 1; grid-row: auto; flex-direction: row; gap: 1em; }
}
/* 予約一覧 */
.op-tabs { display: flex; flex-wrap: wrap; gap: 0.375em; margin: 0 0 1.5em; padding: 0.25em; border-radius: 0.75em; background: #F4F4F5; width: fit-content; max-width: 100%; }
.op-tabs a { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.5em 1em; border-radius: 0.5em; font-size: 0.875em; font-weight: 500; color: #52525B; }
.op-tabs a:hover { text-decoration: none; color: #1a1a1a; }
.op-tabs a.is-current { background: #fff; color: #1a1a1a; font-weight: 700; box-shadow: 0 0.0625em 0.25em rgba(24, 24, 27, 0.08); }
.op-tabs__count { min-width: 1.5em; padding: 0 0.375em; border-radius: 999em; background: #E4E4E7; font-size: 0.75em; text-align: center; color: #52525B; }
.op-tabs__count.is-alert { background: #DC2626; color: #fff; }
.op-bookings { margin: 0 0 1.5em; padding: 0; list-style: none; display: grid; gap: 0.625em; }
.op-booking { display: grid; grid-template-columns: 6.5em 1fr auto auto; align-items: center; gap: 1.25em; padding: 1em 1.25em; border-radius: 0.875em; background: #F7F7F8; }
.op-booking.is-action { background: #FFF8EB; }
.op-booking__date { display: flex; flex-direction: column; align-items: center; padding: 0.5em 0.25em; border-radius: 0.625em; background: #fff; text-align: center; line-height: 1.25; }
.op-booking__md { font-size: 1.375em; font-weight: 700; color: #1a1a1a; }
.op-booking__dow { font-size: 0.75em; color: #71717A; }
.op-booking__time { margin-top: 0.25em; font-size: 0.6875em; color: #52525B; }
.op-booking__who { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em; font-size: 0.9375em; font-weight: 700; color: #1a1a1a; }
.op-booking__where { margin: 0.25em 0 0; font-size: 0.8125em; color: #52525B; }
.op-booking__where span { margin-left: 0.75em; color: #A1A1AA; }
/* オーナーの予約詳細: 左に予約内容(白い1枚のカード)、右にメッセージ(2026-10-22 統合・UI刷新) */
.bd { display: grid; grid-template-columns: minmax(0, 26em) minmax(0, 1fr); gap: 2em; align-items: start; }
.bd-card { border: 0.0625em solid #E9E9EC; border-radius: 0.875em; background: #fff; }
.bd-sec { padding: 1.5em 1.75em; }
.bd-sec + .bd-sec { border-top: 0.0625em solid #F0F0F2; }
.bd-sec--foot { padding-top: 0.75em; padding-bottom: 0.75em; text-align: center; }
.bd-sec__title { margin: 0 0 0.75em; font-size: 0.75em; font-weight: 700; letter-spacing: 0.08em; color: #8A8A93; }
.bd-hero__top { display: flex; align-items: center; gap: 0.625em; margin-bottom: 0.875em; }
.bd-code { font-size: 0.8125em; font-weight: 700; color: #8A8A93; }
.bd-hero__date { margin: 0; font-size: 1.75em; font-weight: 700; line-height: 1.2; color: #1a1a1a; }
.bd-hero__time { margin: 0.25em 0 0; font-size: 1.125em; font-weight: 700; color: #1a1a1a; }
.bd-hero__time span { margin-left: 0.25em; font-size: 0.8125em; font-weight: 500; color: #8A8A93; }
.bd-hero__meta { margin: 0.75em 0 0; font-size: 0.875em; line-height: 1.6; color: #52525B; }
.bd-deadline { margin: 1.25em 0 0; font-size: 0.8125em; font-weight: 700; color: #1a1a1a; }
.bd-decide { display: grid; grid-template-columns: 1fr 2fr; gap: 0.75em; margin-top: 0.75em; }
.bd-decide .btn { width: 100%; }
.bd-name { margin: 0; font-size: 1.125em; font-weight: 700; color: #1a1a1a; }
.bd-company { margin: 0.125em 0 0; font-size: 0.8125em; color: #71717A; }
.bd-tel { display: flex; justify-content: center; width: 100%; margin-top: 1em; }
.bd-note { margin-top: 1em; padding: 0.875em 1em; border-radius: 0.625em; background: #F7F7F8; font-size: 0.875em; line-height: 1.7; white-space: pre-line; color: #3F3F46; }
.bd-note strong { display: block; margin-bottom: 0.25em; font-size: 0.857em; color: #8A8A93; }
.bd-muted { margin: 0.875em 0 0; font-size: 0.75em; color: #8A8A93; }
.bd-money { display: grid; grid-template-columns: 1fr auto; gap: 0.5em 0; margin: 0; font-size: 0.875em; }
.bd-money dt { color: #52525B; }
.bd-money dd { margin: 0; padding-left: 1em; text-align: right; font-variant-numeric: tabular-nums; color: #1a1a1a; }
.bd-money .is-total { padding-top: 0.75em; border-top: 0.0625em solid #E9E9EC; font-size: 1.0714em; font-weight: 700; color: #1a1a1a; }
.bd-cancel { padding: 0.5em 1em; border: 0; background: none; font-size: 0.8125em; font-weight: 700; color: #DC2626; text-decoration: underline; cursor: pointer; }
/* 日時の変更（2026-10-29 白ホリ #487）。変更前→変更後の1行・提案のボタン・モーダルのエラー（フォームの決まりの赤い箱） */
.bd-change { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25em 0.5em; margin: 0; font-size: 0.9375em; color: #1a1a1a; }
.bd-change strong { font-weight: 700; }
.bd-change__lead { margin: 0 0 0.75em; font-size: 0.8125em; color: #1a1a1a; }
.bd-change__open { width: 100%; }
.bd-change__undo { margin-top: 0.75em; }
.bd-change__error { margin: 0 0 1em; padding: 0.875em 1em; border-radius: 0.25em; background: var(--c-form-req-bg); color: var(--c-form-req); font-size: 0.875em; }
.bd__chat-head h2 { margin: 0; font-size: 1.125em; color: #1a1a1a; }
.bd__chat-head p { margin: 0.25em 0 1em; font-size: 0.8125em; color: #71717A; }
.bd__chat .chat { min-height: 30em; }
@media (max-width: 769px) {
    .bd { grid-template-columns: 1fr; gap: 1.5em; }
    .bd-sec { padding: 1.25em; }
}
.op-booking__tel { margin: 0.25em 0 0; font-size: 0.8125em; color: #52525B; }
.op-booking__tel a { color: inherit; font-weight: 700; }
.op-booking__deadline { margin: 0.375em 0 0; font-size: 0.75em; font-weight: 700; color: #1a1a1a; }
.op-booking__note { margin: 0.375em 0 0; font-size: 0.75em; color: #1a1a1a; }
.op-booking__money { text-align: right; }
.op-booking__money strong { display: block; font-size: 1.0625em; color: #1a1a1a; }
.op-booking__money span { font-size: 0.6875em; color: #8A8A93; }
.op-booking__side { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5em; }
.op-booking__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.375em; }
@media (max-width: 769px) {
    .op-booking { grid-template-columns: 5em 1fr; gap: 0.75em 1em; }
    .op-booking__money { grid-column: 2; text-align: left; }
    .op-booking__side { grid-column: 1 / -1; align-items: stretch; }
    .op-booking__actions { justify-content: flex-start; }
}
/* メッセージ(オーナー・お客様・運営で共通) */
.op-card__title { margin: 0 0 1em; font-size: 1em; color: #1a1a1a; }
.op-dl { display: grid; grid-template-columns: 6em 1fr; gap: 0.625em 1em; margin: 0; font-size: 0.8125em; }
.op-dl dt { color: #8A8A93; }
.op-dl dd { margin: 0; color: #1a1a1a; }
.op-back { margin: 1.25em 0 0; font-size: 0.8125em; }
.thread-layout.op { gap: 1.5em; }
.chat { display: flex; flex-direction: column; min-height: 24em; padding: 1.5em; border-radius: 0.875em; background: #F7F7F8; }
.chat__empty { flex: 1; margin: 0; padding: 3em 1em; text-align: center; font-size: 0.875em; color: #8A8A93; }
.chat__list { flex: 1; margin: 0 0 1.25em; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 1em; }
.chat__item { max-width: 78%; }
.chat__item.is-mine { align-self: flex-end; text-align: right; }
.chat__meta { margin: 0 0 0.25em; display: flex; gap: 0.5em; align-items: baseline; font-size: 0.6875em; color: #8A8A93; }
.chat__item.is-mine .chat__meta { justify-content: flex-end; }
.chat__meta strong { color: #3F3F46; }
.chat__bubble { display: inline-block; padding: 0.75em 1em; border-radius: 1em 1em 1em 0.25em; background: #fff; text-align: left; white-space: pre-line; font-size: 0.9375em; line-height: 1.7; color: #1a1a1a; box-shadow: 0 0.0625em 0.25em rgba(24, 24, 27, 0.06); }
.chat__item.is-mine .chat__bubble { border-radius: 1em 1em 0.25em 1em; background: var(--c-brand); color: var(--c-on-brand); }
.chat__item.is-admin .chat__bubble { background: var(--c-brand-tint); color: #1a1a1a; }
.chat__form { display: grid; grid-template-columns: 1fr auto; gap: 0.75em; align-items: end; padding-top: 1.25em; box-shadow: inset 0 0.0625em 0 #E9E9EC; }
.chat__form textarea { min-height: 3.5em; resize: vertical; }
.chat__form .error { grid-column: 1 / -1; }
@media (max-width: 769px) {
    .thread-layout.op { flex-direction: column-reverse; }
    .thread-layout.op .thread-layout__info { width: 100%; position: static; }
    .chat { padding: 1em; }
    .chat__item { max-width: 92%; }
    .chat__form { grid-template-columns: 1fr; }
}
/* キャンセルポリシー */
.op-hint { margin: 0 0 1em; font-size: 0.75em; color: #1A1A1A; }
.op-label { margin: 0 0 0.25em; font-size: 0.8125em; font-weight: 500; color: #3F3F46; }
.op-policies { display: grid; gap: 1em; margin: 0 0 3.5em; }
.op-policy { padding: 1.5em 1.75em; border-radius: 0.875em; background: #F7F7F8; }
.op-policy.is-dragging { opacity: 0.5; }
.op-policy__head { display: flex; align-items: center; gap: 0.75em; margin-bottom: 1.25em; }
.op-policy__head h2 { flex: 1; margin: 0; font-size: 1.0625em; color: #1a1a1a; }
.op-policy__actions { display: flex; gap: 0.375em; }
/* キャンセルポリシー: 期間ごとに1行の表（2026-10-28 白ホリ #467 のA案）。色は墨とブランド色だけ。無料の行だけブランド色で塗る */
.edit-main .bk-policy-table { width: 100%; margin: 0 0 1em; font-size: 0.9375em; background: transparent; }
.edit-main .bk-policy-table th { padding: 0 0.75em 0.5em 0; font-size: 0.8125em; font-weight: 500; color: #1a1a1a; border-bottom: 0; white-space: nowrap; }
.edit-main .bk-policy-table td { padding: 0.75em 0.75em 0.75em 0; border-bottom: 0; border-top: 0.0625em solid var(--c-form-divider); vertical-align: middle; white-space: nowrap; color: #1a1a1a; }
.edit-main .bk-policy-table__when { width: 13em; }
.edit-main .bk-policy-table__fee { width: 5em; font-weight: 700; font-variant-numeric: tabular-nums; }
.edit-main .bk-policy-table tr.is-free .bk-policy-table__fee span { display: inline-block; padding: 0.125em 0.625em; border-radius: 0.25em; background: var(--c-brand); color: var(--c-on-brand); }
.bk-policy-table__meter svg { display: block; width: 100%; height: 0.5em; border-radius: 0.25em; overflow: hidden; }
.bk-policy-table__track { fill: var(--c-form-opt-bg); }
.bk-policy-table__bar { fill: var(--c-ink); }
.edit-main .bk-policy-table__refund { width: 4em; font-variant-numeric: tabular-nums; }
.bk-policy-warn { margin: 0 0 1em; font-size: 0.8125em; color: var(--c-form-req); }
@media (max-width: 769px) {
    .edit-main .bk-policy-table td { padding-right: 0.5em; }
    .edit-main .bk-policy-table__when { width: auto; white-space: normal; }
    .edit-main .bk-policy-table__meter { width: 3em; }
}
/* キャンセル料の行フォーム（2026-10-28 白ホリ #467）: 1行＝「[◯] 日前から キャンセル料 [◯] %」。入力欄は枠なし・必須の淡い赤（フォームの基準） */
.rule-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em; margin: 0 0 1.25em; }
.rule-presets__label { font-size: 0.8125em; margin-right: 0.25em; color: #1a1a1a; }
.rule-presets button { padding: 0.375em 1em; border: 0; border-radius: 2em; background: var(--c-form-opt-bg); color: #1a1a1a; font: inherit; font-size: 0.8125em; cursor: pointer; white-space: nowrap; }
.rule-presets button:hover { background: var(--c-ink); color: #fff; }
.rule-free { margin: 0; padding: 0.75em 0; font-size: 0.9375em; color: #1a1a1a; }
.rule-free:empty { display: none; }
.edit-main .rule-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em 1.5em; padding: 0.625em 0; border-top: 0.0625em solid var(--c-form-divider); font-size: 0.9375em; }
.edit-main .rule-row:last-child { border-bottom: 0.0625em solid var(--c-form-divider); }
.edit-main .rule-row label { display: inline-flex; align-items: center; gap: 0.5em; margin: 0; font-size: 1em; font-weight: 400; color: #1a1a1a; white-space: nowrap; }
.edit-main .rule-row input[type="number"] { width: 5em; padding: 0.5em 0.75em; border: 0; border-radius: 0.25em; background: var(--c-form-req-bg); text-align: right; font-size: 1em; }
/* 数字の増減ボタンを消す（スマホで3桁が欠けるため） */
.edit-main .rule-row input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.edit-main .rule-row input[type="number"]::-webkit-inner-spin-button, .edit-main .rule-row input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.edit-main .rule-row input[type="number"]:hover, .edit-main .rule-row input[type="number"]:focus { border: 0; box-shadow: none; }
.edit-main .rule-row .rule-remove { margin-left: auto; padding: 0.25em 0; border: 0; background: none; color: #1a1a1a; font: inherit; font-size: 0.8125em; text-decoration: underline; cursor: pointer; }
.rule-add { padding: 0.75em 0; border: 0; background: none; color: #1a1a1a; font: inherit; font-size: 0.875em; font-weight: 700; cursor: pointer; }
.rule-preview { margin-top: 1em; padding: 1em 1.25em; border-radius: 0.5em; background: var(--c-form-opt-bg); font-size: 0.8125em; color: #1a1a1a; }
.rule-preview__title { margin: 0 0 0.5em; font-weight: 700; }
.rule-preview__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: max-content max-content; gap: 0.25em 2em; }
.rule-preview__list li { display: contents; }
.rule-preview__list strong { font-variant-numeric: tabular-nums; }
.rule-preview__warn { margin: 0.75em 0 0; color: var(--c-form-req); }
@media (max-width: 769px) {
    .edit-main .rule-row { gap: 0.5em 1em; }
    .edit-main .rule-row input[type="number"] { width: 4.5em; }
}
.op .rule-row { align-items: flex-end; padding: 0.75em 0.875em 0; border-radius: 0.625em; background: #fff; margin-bottom: 0.5em; }
.op .rule-row .field { margin-bottom: 0.875em; }
.op .rule-row .rule-remove { margin-bottom: 0.875em; }
.op-add { padding: 0.625em 1em; border: none; border-radius: 0.5em; background: var(--c-brand-tint); color: #1a1a1a; font-size: 0.8125em; font-weight: 700; font-family: inherit; cursor: pointer; }
.op-add:hover { background: #DCEBFF; }
/* オーナー設定: 左に見出しと説明、右に入力(設定画面の定番の並び) */
.op-setting { display: grid; grid-template-columns: 17em 1fr; gap: 1.5em 3em; margin: 0 0 3em; }
.op-setting__intro h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em; margin: 0 0 0.5em; font-size: 1.0625em; color: #1a1a1a; }
.op-setting__intro p { margin: 0; font-size: 0.8125em; line-height: 1.75; color: #1A1A1A; }
.op-status { margin: 0 0 1em; }
.op-setting .op-actions { grid-column: 2; margin-top: 0; }
.op-google { display: flex; align-items: center; gap: 0.75em; margin: 0 0 0.75em; font-size: 0.875em; }
.op-google strong { display: block; color: #1a1a1a; }
.op-google__mark { display: inline-flex; align-items: center; justify-content: center; width: 2.25em; height: 2.25em; border-radius: 50%; background: #fff; font-weight: 700; color: #1a1a1a; box-shadow: 0 0.0625em 0.25em rgba(24, 24, 27, 0.08); }
@media (max-width: 769px) {
    .op-setting { grid-template-columns: 1fr; gap: 1em; }
    .op-setting .op-actions { grid-column: 1; }
}
/* 入力欄の既定幅(width:100em)が grid の 1fr を押し広げてはみ出すのを防ぐ */
.op-setting { grid-template-columns: 17em minmax(0, 1fr); }
.chat__form { grid-template-columns: minmax(0, 1fr) auto; }
.thread-layout__main { min-width: 0; }
.op .field-row .field { min-width: 0; }
@media (max-width: 769px) {
    .op-setting { grid-template-columns: minmax(0, 1fr); }
    .chat__form { grid-template-columns: minmax(0, 1fr); }
}

/* 管理画面の左サイドバー（運営・オーナー共通・2026-10-14） */
.app-shell { display: grid; grid-template-columns: 15em minmax(0, 1fr); align-items: start; background: #fff; }
.app-shell main { background: #fff; min-height: calc(100vh - 4em); border-left: 0.0625em solid #EDEDF0; }
.app-shell main > .container { width: auto; max-width: 80em; margin: 0; padding: 0 2.5em; }
.side-nav { position: sticky; top: var(--hh, 0px); max-height: calc(100vh - var(--hh, 0px)); overflow-y: auto; padding: 1.75em 1em 2em; display: flex; flex-direction: column; gap: 1em; }
.side-nav__role { padding: 0 0.75em; font-size: 0.75em; font-weight: 700; letter-spacing: 0.08em; color: #8A8A93; }
.side-nav nav { display: flex; flex-direction: column; gap: 0.875em; }
.side-nav__label { padding: 0 0.75em 0.25em; font-size: 0.75em; font-weight: 500; color: #8A8A93; }
.side-nav ul { list-style: none; display: flex; flex-direction: column; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; padding: 0.4375em 0.75em; border-radius: 0.5em; font-size: 0.875em; font-weight: 500; color: #3F3F46; }
.side-nav a:hover { background: #F0F0F2; color: #1a1a1a; text-decoration: none; }
.side-nav a.is-current { background: #1a1a1a; color: #fff; }
.side-nav__text { display: flex; align-items: center; gap: 0.625em; }
.side-nav__icon { flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; opacity: 0.8; }
.side-nav a.is-current .side-nav__icon { opacity: 1; }
.side-nav__soon { display: flex; align-items: center; padding: 0.4375em 0.75em; border-radius: 0.5em; font-size: 0.875em; font-weight: 500; color: #8A8A93; cursor: default; }
.side-nav__soon small { display: block; font-size: 0.75em; font-weight: 400; line-height: 1.4; }
.side-nav__badge { min-width: 1.5em; padding: 0 0.4375em; border-radius: 999em; background: #DC2626; color: #fff; font-size: 0.75em; font-weight: 700; line-height: 1.5em; text-align: center; }
.side-nav__foot { margin-top: auto; padding: 1em 0.75em 0; border-top: 0.0625em solid #EDEDF0; display: flex; flex-direction: column; align-items: flex-start; gap: 0.5em; }
.side-nav__foot a, .side-nav__logout { padding: 0; color: #8A8A93; font-size: 0.8125em; }
.side-nav__foot a:hover, .side-nav__logout:hover { background: none; color: #1a1a1a; }
.side-nav__foot a.side-nav__user { font-size: 0.8125em; font-weight: 500; color: #3F3F46; overflow-wrap: anywhere; }
.side-nav__logout { border: none; background: none; font-family: inherit; cursor: pointer; }
.nav-logout-sp { display: none; }
@media (max-width: 769px) {
    .app-shell { display: block; background: #fff; }
    .app-shell main { border-left: none; min-height: 0; }
    .app-shell main > .container { width: min(92%, 80em); margin: 0 auto; padding: 0; }
    /* スマホは横にスクロールするメニュー1段にする */
    .side-nav { position: static; max-height: none; padding: 0.625em 0; flex-direction: row; overflow-x: auto; border-bottom: 0.0625em solid #EDEDF0; }
    .side-nav__role, .side-nav__label, .side-nav__foot { display: none; }
    .nav-logout-sp { display: block; }
    .side-nav nav, .side-nav ul { flex-direction: row; gap: 0.25em; }
    .side-nav nav { padding: 0 1em; }
    .side-nav a { white-space: nowrap; padding: 0.5em 0.75em; }
    /* まだ使えないメニュー（アクセス分析）も1行に（2026-10-27・口コミを足して横に流れる項目が増えたため） */
    .side-nav__soon { white-space: nowrap; padding: 0.5em 0.75em; }
}

/* キャンセル料の一覧（お客様向け・partials/cancel-fees） */
.cancel-fees { margin: 0 0 1em; padding: 0; list-style: none; font-size: 0.8125em; }
.cancel-fees li { display: flex; justify-content: space-between; gap: 1em; padding: 0.375em 0; }
.cancel-fees li + li { box-shadow: inset 0 0.0625em 0 #EEEEF0; }
.cancel-fees span { color: #555; }
.cancel-fees strong { color: #111; font-variant-numeric: tabular-nums; }

/* 予約受付 › カレンダー連携（2026-10-14 カード型に作り直し） */
.cal-account { display: flex; align-items: center; gap: 0.75em; margin: 0 0 1em; }
.cal-account p { margin: 0; font-size: 0.8125em; color: #1A1A1A; }
.cal-account strong { display: block; font-size: 1.0769em; color: #1a1a1a; }
.cal-card { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1.5em 2em; padding: 1.5em 1.75em; border-radius: 0.875em; background: #F7F7F8; margin: 0 0 1em; }
.cal-card__label { margin: 0 0 0.25em; font-size: 0.75em; color: #1A1A1A; }
.cal-card__name { margin: 0 0 0.5em; font-size: 1.25em; line-height: 1.35; color: #1a1a1a; }
.cal-card__chips { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; }
.cal-status, .cal-chip { display: inline-flex; align-items: center; gap: 0.4375em; padding: 0.25em 0.75em; border-radius: 999em; font-size: 0.75em; font-weight: 700; }
.cal-status::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: currentColor; }
.cal-status.is-ok { background: var(--c-brand-tint); color: #1a1a1a; }
.cal-status.is-error { background: #FDECEC; color: #B91C1C; }
.cal-status.is-none { background: #EEEEF0; color: #52525B; }
.cal-chip { background: var(--c-brand-tint); color: #1a1a1a; }
.cal-card__stats { display: flex; gap: 2em; margin: 0; }
.cal-card__stats dt { font-size: 0.75em; color: #1A1A1A; }
.cal-card__stats dd { margin: 0.125em 0 0; font-size: 1.25em; font-weight: 700; color: #1a1a1a; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cal-card__stats dd small { margin-left: 0.125em; font-size: 0.65em; font-weight: 500; }
.cal-card__actions { display: flex; gap: 0.5em; }
.cal-card__actions .btn { background: #fff; }
.cal-pick { padding: 1.5em 1.75em; border-radius: 0.875em; background: #F7F7F8; }
.cal-pick label { display: block; }
.cal-pick__row { display: flex; gap: 0.75em; align-items: stretch; }
.cal-pick__row select { flex: 1; min-width: 0; }
.cal-pick__row .btn { flex: none; padding-left: 1.75em; padding-right: 1.75em; }
/* インポート・エクスポートの選択（2026-10-31・白ホリと同じ） */
.cal-modes { margin: 0 0 1em; padding-left: 1.25em; }
.cal-modes li + li { margin-top: 0.25em; }
.cal-modes-form { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em 1.25em; margin: 0.875em 0 0; }
.cal-modes-form .btn { background: #fff; }
.cal-check { display: inline-flex !important; align-items: center; gap: 0.5em; font-size: 0.875em; cursor: pointer; }
.cal-pick .cal-check { display: flex !important; margin-top: 0.5em; }
.cal-connect { display: flex; align-items: center; gap: 1em; padding: 1.5em 1.75em; border-radius: 0.875em; background: #F7F7F8; }
.cal-connect p { flex: 1; margin: 0; font-size: 0.875em; color: #1A1A1A; }
@media (max-width: 769px) {
    .cal-card { grid-template-columns: 1fr; gap: 1em; padding: 1.25em; }
    .cal-pick__row { flex-direction: column; }
    .cal-connect { flex-direction: column; align-items: flex-start; }
}

/* 掲載内容 › 機材・備品（2026-10-15） */
.modal-box--wide { width: min(92%, 52em); }
.eq-actions { justify-content: flex-start; gap: 1em; margin: 0 0 1.5em; }
.eq-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1em; }
.eq-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.25em; padding: 1em 0.875em 1em; border-radius: 0.875em; background: #F7F7F8; text-align: center; cursor: grab; }
.eq-card.is-dragging { opacity: 0.4; }
.eq-card__handle { position: absolute; left: 0.625em; top: 0.5em; color: #A1A1AA; font-size: 0.875em; }
.eq-card__image { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 0.625em; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 0.5em; }
.eq-card__image img { width: 86%; height: 86%; object-fit: contain; }
.eq-card__image > span:first-child { font-size: 0.75em; color: #A1A1AA; }
.eq-card__qty { position: absolute; top: 0.5em; right: 0.5em; min-width: 2.25em; height: 2.25em; padding: 0 0.375em; border-radius: 999em; background: #1a1a1a; color: #fff; font-size: 0.75em; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.eq-card__name { margin: 0; font-size: 0.875em; font-weight: 700; color: #1a1a1a; line-height: 1.4; }
.eq-card__model { margin: 0; font-size: 0.75em; color: #1A1A1A; line-height: 1.4; }
.eq-card__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.375em; margin: 0.375em 0 0; }
.eq-chip { padding: 0.125em 0.625em; border-radius: 999em; background: #EEEEF0; color: #3F3F46; font-size: 0.6875em; font-weight: 700; }
.eq-chip.is-free { background: var(--c-brand-tint); color: #1a1a1a; }
.eq-chip.is-consumable { background: var(--c-brand); color: var(--c-on-brand); }
.eq-card__buttons { display: flex; gap: 0.375em; margin-top: 0.75em; }
.eq-card__buttons .btn { background: #fff; }
.eq-form { display: grid; grid-template-columns: 14em minmax(0, 1fr); gap: 1.5em; }
.eq-form__preview { aspect-ratio: 1 / 1; border-radius: 0.625em; background: #F7F7F8; display: flex; align-items: center; justify-content: center; margin: 0 0 0.75em; overflow: hidden; }
.eq-form__preview img { width: 86%; height: 86%; object-fit: contain; }
.eq-form__preview span { font-size: 0.75em; color: #A1A1AA; }
.eq-form__image input[type="file"] { font-size: 0.75em; max-width: 100%; }
.eq-form__check { display: flex; align-items: center; gap: 0.375em; margin-top: 0.5em; font-size: 0.8125em; }
.eq-form__choices { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em 1.25em; }
.eq-form__choices label { display: flex; align-items: center; gap: 0.375em; margin: 0; font-size: 0.875em; font-weight: 500; }
.eq-form__price { width: 9em; }
.eq-form__qty { width: 8em; }
@media (max-width: 769px) {
    .eq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .eq-form { grid-template-columns: 1fr; }
}

/* 無料会員登録(2026-10-23): 特典の一覧と必須・任意の表示 */
.field label .req, .field label .opt, .field .sf-name .req { margin-left: 0.5em; padding: 0.0625em 0.5em; border-radius: 999em; font-size: 0.75em; font-weight: 700; }
/* .sf-name は label の無い項目名（住所など・2026-10-29 白ホリ #479 の A案） */
.field label .req, .field .sf-name .req { background: var(--c-ink); color: var(--c-bg); }
.field label .opt { margin-left: 0.25em; padding: 0; background: none; color: var(--c-ink); font-weight: 400; }

/* マイページの保有ポイント(2026-10-23) */
.point-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; }
.point-card__head h2 { margin: 0; }
.point-card__balance { margin: 0; font-size: 2em; font-weight: 700; line-height: 1.2; }
.point-card__balance small { margin-left: 0.25em; font-size: 0.4375em; }
.point-card__expire { margin: 0.25em 0 0; text-align: right; font-size: 0.875em; }
.point-history .is-plus { color: #1a1a1a; font-weight: 700; }
.point-history .is-minus { color: #B91C1C; font-weight: 700; }

/* 会員・ゲスト管理（2026-10-23） */
.member-tabs { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0 0 1.25em; }
.member-tabs__item { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.5em 1em; border-radius: 999em; background: #F5F5F4; color: #1a1a1a; font-size: 0.875em; font-weight: 700; }
.member-tabs__item span { font-weight: 400; color: #555; }
.member-tabs__item:hover { text-decoration: none; background: #E5E5E5; }
.member-tabs__item.is-current { background: #1a1a1a; color: #fff; }
.member-tabs__item.is-current span { color: var(--c-brand); }
.member-link { font-weight: 700; text-decoration: underline; text-underline-offset: 0.1875em; }
.member-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5em; align-items: start; }
.member-grid .panel { margin-bottom: 0; }
.member-grid + .panel { margin-top: 1.5em; }
.member-points-form { margin-top: 1.25em; }
.u-small { font-size: 0.8125em; }
@media (max-width: 769px) {
    .member-grid { grid-template-columns: minmax(0, 1fr); }
}
.search-bar input[type="search"] { width: 100%; }

/* ハニーポット(botだけが埋める不可視の欄) */
.u-hp { position: absolute; left: -624.9375em; }

/* 会員登録のメール確認待ち(2026-10-24) */
.verify-note { background: var(--c-brand-tint); border-color: var(--c-brand-tint); }
.verify-note p { margin: 0 0 0.75em; }
.verify-note .btn { background: #1a1a1a; color: #fff; }


/* 認証画面(ログイン・会員登録・パスワード再設定)。2026-10-24 デザインの原則で作り直し:
   枠・影・灰色の面を使わず、余白と白地で区切る。強調は塗り(主ボタン=黄、必須=墨) */
.c-auth { width: min(100%, 26em); margin: 2.5em auto 1em; color: var(--c-ink); }
.c-auth__title { margin: 0 0 1.25em; font-size: 1.625em; font-weight: 700; line-height: 1.4; text-align: center; }
.c-auth__lead { margin: -0.5em 0 1.75em; font-size: 0.875em; line-height: 1.8; }
.c-auth__form .field { margin: 0; padding: 1.25em 0; }
.c-auth__form .field + .field { border-top: 0.0625em solid var(--c-form-divider); }
.c-auth__form label { display: flex; align-items: center; gap: 0.375em; margin: 0 0 0.5em; color: var(--c-ink); font-size: 0.9375em; font-weight: 700; }
.c-auth__form label .req { margin: 0; padding: 0.125em 0.625em; border-radius: 1.25em; background: var(--c-form-req); color: var(--c-bg); font-size: 0.6875em; font-weight: 700; letter-spacing: 0.0625em; }
/* 入力欄は枠線なし。背景色で必須(淡い赤)と任意(淡いグレー)を見分ける */
.c-auth__form input { width: 100%; padding: 0.875em 1em; border: none; border-radius: 0.25em; background: var(--c-form-opt-bg); color: var(--c-ink); font-size: 0.9375em; outline: none; appearance: none; -webkit-appearance: none; }
.c-auth__form input:required { background: var(--c-form-req-bg); }
.c-auth__form input:focus { outline: none; }
.c-auth__form input::placeholder { color: var(--c-form-sub); }
.c-auth__form .error { margin: 0.375em 0 0; color: var(--c-danger); font-size: 0.8125em; }
.c-auth__note { margin: 0.5em 0 1em; font-size: 0.75em; }
.c-auth__note a, .c-auth__links a, .c-auth__perks a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 0.1875em; }
.c-auth__submit { display: block; width: 100%; padding: 1em; border-radius: 0.25em; background: var(--c-ink); color: var(--c-bg); font-size: 0.9375em; font-weight: 700; white-space: nowrap; }
.c-auth__submit:hover { opacity: 0.85; }
/* 必須が埋まるまで押せない(文言は「未入力項目があります」に変わる) */
.c-auth__submit:disabled { background: var(--c-form-disabled); color: var(--c-bg); cursor: not-allowed; opacity: 1; }
.c-auth__links { margin: 2em 0 0; padding: 0; list-style: none; font-size: 0.8125em; line-height: 2; text-align: center; }
.c-auth__perks { margin: 0 0 2em; font-size: 0.875em; line-height: 1.9; }
.c-auth__perks-title { margin: 0 0 0.375em; font-size: 1em; font-weight: 700; }
.c-auth__perks ul { margin: 0 0 0.5em; padding-left: 1.25em; list-style: disc; }
.c-auth__perks p { margin: 0; font-size: 0.875em; }
.c-auth__notice { margin: 0 0 2em; padding: 1em 1.25em; border-radius: 0.5em; background: var(--c-brand-tint); font-size: 0.875em; line-height: 1.8; }
.c-auth__notice p { margin: 0; }
.c-auth__notice p + p { margin-top: 0.5em; }
@media (max-width: 769px) {
    .c-auth { margin-top: 1.5em; }
    .c-auth__title { font-size: 1.375em; }
    /* 16px未満だと iOS が入力時に画面を拡大するため(本文14px×1.1875≒16.6px) */
    .c-auth__form input { font-size: 1.1875em; }
}

/* 送信したメールの一覧（manage/reservation/_mail-logs・2026-11-11 白ホリ #558 の移植＝白ホリ app.css と同じ） */
.mail-logs { margin-top: 2em; }
.mail-logs__title { margin: 0; font-size: 1.125em; color: #1a1a1a; }
.mail-logs__lead { margin: 0.25em 0 0.75em; font-size: 0.8125em; color: #1a1a1a; }
.mail-logs__empty { margin: 0; font-size: 0.875em; }
.mail-logs__list { margin: 0; padding: 0; list-style: none; }
.mail-logs__list li + li { margin-top: 0.25em; }
.mail-logs summary { display: flex; flex-direction: column; gap: 0.125em; padding: 0.625em 0.875em; border-radius: 0.5em; cursor: pointer; list-style: none; }
.mail-logs summary::-webkit-details-marker { display: none; }
.mail-logs summary:hover, .mail-logs details[open] summary { background: #f5f5f5; }
.mail-logs__meta { font-size: 0.75em; }
.mail-logs__subject { font-size: 0.875em; font-weight: 700; }
.mail-logs__body { margin: 0.5em 0 0.75em; padding: 0 0.875em; font-size: 0.8125em; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ===== ここから下はホワイトパンダだけの追加（白ホリに無いもの） ===== */
/* ロゴは横長の文字ロゴなので、白ホリのマーク（高さいっぱい）より低くする */
.brand img { height: 1.5em; }
.brand span { vertical-align: baseline; }
/* 運営がオーナーとして表示しているときの帯（運営に戻る） */
.impersonate-bar { position: sticky; top: 0; z-index: 101; display: flex; justify-content: center; align-items: center; gap: 1em; padding: 0.5em 1em; background: #1a1a1a; color: #fff; font-size: 0.8125em; }
.impersonate-bar .btn { background: var(--c-brand); color: var(--c-on-brand); }
.side-nav__id { font-size: 0.75em; color: #8A8A93; }
/* 運営からのお知らせは WordPress の記事へのリンク（白ホリは本文を開閉する details） */
.od-news__link { display: flex; align-items: center; gap: 0.75em; padding: 0.75em 0; font-size: 0.9375em; color: #1a1a1a; }
.od-news__link time { flex: none; font-size: 0.8125em; color: #8A8A93; }

/* --- スタジオ管理・掲載編集 --- */
/* ===== 担当A: スタジオ管理・掲載内容の編集（ホワイトパンダだけの追加） ===== */
/* 項目のまとまり（タグの分類・最寄り駅）は fieldset＋legend。白ホリの label と同じ見た目にする */
.edit-main fieldset { border: none; margin: 0; padding: 0; min-width: 0; }
.edit-main fieldset.field > legend { display: block; margin-bottom: 0.5em; padding: 0; font-size: 0.8125em; font-weight: 500; color: #3F3F46; }
.edit-main fieldset.field > legend .op-chip { margin-left: 0.5em; }
.edit-main fieldset.field > legend + .tag-pills { margin-top: 0.25em; }
.edit-main .field > label + input + .help, .edit-main .field > input + .help { margin-top: 0.5em; }
/* 最寄り駅は数が多いので、絞り込み＋枠の中だけスクロール */
.edit-main .tag-filter { margin-bottom: 0.75em; }
.edit-main .tag-pills--scroll { max-height: 18em; overflow-y: auto; padding: 0.25em 0; }

/* 繰り返しの行（料金・機材・よくある質問）。白ホリの .op .rule-row と同じく淡い面で1行を区切る */
/* よくある質問の編集（2026-10-28 白ホリ #464 と同じ）。1件＝「Q＋質問」「A＋回答」の2行、件と件はフォームの区切り線（#eee）で分ける */
.edit-main .c-faq-edit__list { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 0 1.25em; padding: 0; list-style: none; }
.edit-main .c-faq-edit__row { display: grid; grid-template-columns: 1.5em minmax(0, 1fr) auto; align-items: start; gap: 0.5em 0.75em; min-width: 0; padding: 1em 0; border-top: 0.0625em solid #eee; background: #fff; }
.edit-main .c-faq-edit__row:first-child { border-top: 0; padding-top: 0; }
.edit-main .c-faq-edit__row.is-dragging { opacity: 0.5; }
.edit-main .c-faq-edit__mark { grid-column: 1; padding-top: 0.75em; font-weight: 700; text-align: center; }
.edit-main .c-faq-edit__mark--a { color: #71717a; }
/* 入力欄の既定幅が grid の中でも効いてしまうので、枠いっぱいに固定 */
.edit-main .c-faq-edit__row input, .edit-main .c-faq-edit__row textarea { grid-column: 2; width: 100%; max-width: none; min-width: 0; margin: 0; }
.edit-main .c-faq-edit__row textarea { min-height: 0; overflow: hidden; resize: none; }
.edit-main .c-faq-edit__error { grid-column: 2; margin: 0; }
.edit-main .c-faq-edit__tools { grid-column: 3; grid-row: 1; display: flex; gap: 0.125em; padding-top: 0.25em; }
.edit-main .c-faq-edit__tool { display: inline-flex; align-items: center; justify-content: center; width: 2.25em; height: 2.25em; padding: 0; border: 0; border-radius: 0.5em; background: none; color: #71717a; font: inherit; cursor: pointer; user-select: none; }
.edit-main .c-faq-edit__tool:hover:not(:disabled) { background: #f5f5f5; color: #1a1a1a; }
.edit-main .c-faq-edit__tool:disabled { opacity: 0.3; cursor: default; }
.edit-main .c-faq-edit__handle { cursor: grab; }
.edit-main .c-faq-edit__tool--sp { display: none; }
@media (max-width: 769px) {
  .edit-main .c-faq-edit__row { gap: 0.5em; }
  .edit-main .c-faq-edit__tool { width: 2em; }
  .edit-main .c-faq-edit__handle { display: none; }   /* スマホはドラッグしにくいので ↑↓ で並べ替え */
  .edit-main .c-faq-edit__tool--sp { display: inline-flex; }
}

.edit-main .repeat { margin: 0 0 2em; }
.edit-main .repeat__title { padding: 0; margin: 0 0 0.75em; font-size: 0.9375em; font-weight: 700; color: #1a1a1a; }
.edit-main .repeat__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.625em; margin-bottom: 0.875em; }
.edit-main .repeat__list:empty { display: none; }
.edit-main .repeat__row { padding: 1em 1.125em 0.875em; border-radius: 0.625em; background: #F7F7F8; }
.edit-main .repeat__row .field { display: block; margin-bottom: 0.75em; font-size: 1em; font-weight: 400; color: inherit; }
.edit-main .repeat__row .field > span { display: block; margin-bottom: 0.375em; font-size: 0.8125em; font-weight: 500; color: #3F3F46; }
.edit-main .repeat__row .field-row .field { flex: 1; min-width: 0; }
.edit-main .repeat__row .field-row { flex-wrap: nowrap; }
.edit-main .repeat__row .field-row .repeat__s { flex: 0 0 9em; min-width: 0; }
.edit-main .repeat__delete { display: inline-flex; align-items: center; gap: 0.5em; margin: 0; font-size: 0.75em; color: #1a1a1a; cursor: pointer; }

/* 営業時間の表: 曜日の見出し（行の th）は本文と同じ濃さ */
#bh-table { max-width: 36em; margin-bottom: 0.5em; }
#bh-table tbody th { padding: 0.875em 0.875em 0.875em 0; border-bottom: 0.0625em solid #F4F4F5; font-size: 1em; color: #1a1a1a; vertical-align: middle; }
#bh-table td label { display: inline-flex; align-items: center; gap: 0.5em; margin: 0; font-size: 1em; color: #1a1a1a; }
#bh-table input[type="text"] { width: 7em; }

/* 写真: 見出しの横の枚数・平面図と特徴画像は先頭を特別扱いしない・公開ページに出ない写真の印・特徴画像の説明 */
.photo-count { margin-left: 0.75em; font-size: 0.625em; font-weight: 500; color: #71717A; }
.photo-grid { padding: 0; list-style: none; }
.photo-grid--plain .photo-item:first-child .card-thumb { outline: none; }
.photo-grid .photo-over { position: absolute; right: 0; bottom: 0; padding: 0.125em 0.5em; border-top-left-radius: 0.25em; background: #1a1a1a; color: #fff; font-size: 0.625em; font-weight: 600; }
.photo-caption { display: grid; gap: 0.375em; padding: 0.375em; }
.photo-caption textarea { min-height: 4em; font-size: 0.8125em; }
.photo-upload { margin-top: 0.5em; }
.photo-upload .btn { margin-top: 0.75em; }

/* スタジオ管理の一覧: 店舗ID・閲覧数の行（白ホリには無い項目） */
.op-studio__stats { grid-column: 1 / -1; margin: 0; font-size: 0.75em; color: #52525B; text-align: right; }
.op-studio__stats span + span::before { content: "／"; margin: 0 0.375em; color: #A1A1AA; }

/* 申請・プラン変更: 申請者の情報（読み取りのみ）と選択肢 */
.op-readonly { margin: 0 0 1.5em; }
.op-choices { display: flex; flex-direction: column; gap: 0.625em; }
.op-choices label { display: inline-flex; align-items: center; gap: 0.625em; margin: 0; font-size: 0.875em; color: #1a1a1a; cursor: pointer; }
.op fieldset { border: none; margin: 0; padding: 0; min-width: 0; }
.op fieldset.field > legend { margin-bottom: 0.75em; padding: 0; font-size: 0.8125em; font-weight: 500; color: #3F3F46; }
.op fieldset.field > legend .req, .edit-main fieldset.field > legend .req { margin-left: 0.5em; padding: 0.0625em 0.5em; border-radius: 999em; background: var(--c-ink); color: var(--c-bg); font-size: 0.75em; font-weight: 700; }
/* 特徴画像のファイル選択（ドロップゾーンの外）もボタンをそろえる */
.photo-upload input[type="file"] { font-size: 0.8125em; color: #71717A; }
.photo-upload input[type="file"]::file-selector-button { margin-right: 0.75em; padding: 0.5em 1em; border: none; border-radius: 0.5em; background: #1a1a1a; color: #fff; font-family: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 769px) {
    .edit-main .repeat__row .field-row { flex-wrap: wrap; }
    .edit-main .repeat__row .field-row .repeat__s { flex: 1 1 100%; }
}

/* --- 予約受付設定・予約・メッセージ --- */
/* 担当B: 予約受付の設定・予約・メッセージ（白ホリに無い部品だけ） */

/* 繰り返しの行（変動料金・パック・機材レンタル・キャンセルポリシー）。白ホリはモーダル編集だが、ホワイトパンダは行をまとめて保存する */
.bk-repeat { display: grid; gap: 0.625em; margin: 0 0 1em; }
.bk-repeat:empty { display: none; }
.bk-repeat__row { padding: 1.25em 1.25em 0.25em; border-radius: 0.75em; background: #F7F7F8; }
.edit-main .bk-repeat__row .field { margin-bottom: 1em; }
.bk-repeat__foot { margin: 0 0 1em; }
.edit-main .bk-repeat__row input[type="text"], .edit-main .bk-repeat__row input[type="number"],
.edit-main .bk-repeat__row input[type="time"], .edit-main .bk-repeat__row input[type="date"], .edit-main .bk-repeat__row select { width: 100%; }
.edit-main .bk-repeat__row .tag-pills label { background: #fff; }
.edit-main .bk-repeat__row .tag-pills label:has(input:checked) { background: #1a1a1a; }
.edit-main h4 + .bk-repeat, .edit-main .help.mb + .bk-repeat { margin-top: 0; }
/* 予約枠の停止の小見出し。最初の h4 も上を空ける（.panel h4:first-of-type の 0 を打ち消す） */
.edit-main .panel h4.bk-blocks__title { margin-top: 2.75em; }
/* 一覧の［戻す］［やめる］はスマホでも折り返さない */
.edit-main .panel .inline-form .btn-sm { white-space: nowrap; }

/* 予約詳細（運営）の金額の段 */
.bk-detail-money { margin-top: 1.25em; padding-top: 1.25em; border-top: 0.0625em solid #F0F0F2; }

/* 売上・振込: お振込み先 */

/* 旧メッセージの一覧 */
.bk-msgs { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.625em; }
.bk-msgs__item { display: block; padding: 1em 1.25em; border-radius: 0.875em; background: #F7F7F8; color: #1a1a1a; }
.bk-msgs__item:hover { text-decoration: none; background: #F0F0F2; }
.bk-msgs__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25em 0.75em; font-size: 0.875em; }
.bk-msgs__head span { color: #52525B; }
.bk-msgs__head time { margin-left: auto; font-size: 0.875em; color: #8A8A93; }
.bk-msgs__body { display: block; margin-top: 0.375em; font-size: 0.8125em; color: #3F3F46; }
@media (max-width: 769px) {
    .bk-msgs__head time { margin-left: 0; flex-basis: 100%; }
}

/* --- 設定・会員・ログイン・広告 --- */
/* ===== 担当C（認証・アカウント設定・会員マイページ）でホワイトパンダに足したもの ===== */
/* 認証フォームのチェックボックス（ログインしたままにする・規約への同意）。.c-auth__form input の入力欄の指定を外す */
.c-auth__check label { display: flex; align-items: center; gap: 0.5em; margin: 0; font-size: 0.875em; font-weight: 400; }
.c-auth__check input[type="checkbox"] { flex: none; width: 1.125em; height: 1.125em; padding: 0; appearance: auto; -webkit-appearance: checkbox; background: none; accent-color: var(--c-ink); }
.c-auth__check a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 0.1875em; }

/* 広告ページ（/manage/ads・/manage/ads/price）は旧テーマの固定ページの本文（page.css）をそのまま入れている。
   管理画面の本文の幅からはみ出さないようにだけ整える */
.p-legacy-page { max-width: 100%; overflow-wrap: anywhere; }
.p-legacy-page .container { width: 100%; max-width: 100%; margin: 0; }
.p-legacy-page img { max-width: 100%; height: auto; }
.p-legacy-page ul, .p-legacy-page ol { padding-left: 1.25em; }
.p-legacy-page table { width: 100%; }

/* --- 運営画面 --- */
/* ===== 運営管理（担当D）で足したもの ===== */
/* ダッシュボードの数字はそれぞれの一覧へのリンク */
a.stat { display: block; color: inherit; }
a.stat:hover { text-decoration: none; background: #FAFAF9; }
/* 一覧の行内の却下理由・数値だけの入力は短く */
.actions input.reject-reason { width: 12em; }
input.input-short { width: 8em; }
/* 申請の見出し（状態・番号・日時を1行に） */
.request-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em 0.75em; }
.request-head time { font-size: 0.75em; font-weight: 400; }
.request-status { flex: 0 0 auto; min-width: 0; }
/* PR枠に入っているスタジオの確認用リスト */
.pr-studios { list-style: none; font-size: 0.875em; }
.pr-studios li { padding: 0.25em 0; }
@media (max-width: 769px) {
    .actions input.reject-reason { width: 100%; }
    /* 検索欄を縦積みにしたとき、入力欄の既定幅（100em）で枠からはみ出すのを防ぐ（白ホリにも同じ症状がある） */
    .search-bar .field { min-width: 0; }
    .search-bar input, .search-bar select { width: 100%; }
}
/* 一覧の短い値（プラン・オーナー名など）は途中で折り返さない */
.u-nowrap { white-space: nowrap; }
/* スマホで右の列が横いっぱいに伸びるため、状態バッジは中身の幅にとどめる */
.op-booking__side .badge { align-self: flex-start; }
.notice p + p { margin-top: 0.5em; }
/* 収益支払明細書（2026-10-25・白ホリ app.css と同じ） */
.op-statements table { width: 100%; }
.op-statements td { vertical-align: middle; white-space: nowrap; }
.op-statements__num { text-align: right; }
.op-statements__dl { color: #1a1a1a; text-decoration: underline; }
@media (max-width: 769px) {
    .op-statements td { white-space: normal; }
    .op-statements__num { text-align: left; }
}

/* 売上実績（2026-10-25・白ホリ app.css と同じ） */
.sales-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75em; margin: 0 0 1.5em; }
.sales-filter select + label { margin-left: 0.75em; }
.sales-filter label { margin: 0; white-space: nowrap; }
.sales-filter select { width: auto; min-width: 16em; }
.sales-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; margin: 0 0 1.5em; padding: 0; list-style: none; }
.sales-kpi { padding: 1.25em 1.5em; border-radius: 0.875em; background: #F7F7F8; }
.sales-kpi__label { margin: 0; font-size: 0.8125em; color: #1a1a1a; }
.sales-kpi__value { margin: 0.25em 0 0; font-size: 1.75em; font-weight: 700; color: #1a1a1a; line-height: 1.3; font-variant-numeric: tabular-nums; }
.sales-kpi__value span { margin-left: 0.125em; font-size: 0.5em; font-weight: 500; }
.sales-kpi__sub { margin: 0.25em 0 0; font-size: 0.75em; color: #52525B; }
.sales-charts { display: grid; gap: 1em; margin: 0 0 3em; }
.sales-chart { margin: 0; padding: 1.25em 1.5em 0.75em; border-radius: 0.875em; background: #F7F7F8; }
.sales-chart__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; margin-bottom: 0.75em; }
.sales-chart__title { font-size: 0.9375em; font-weight: 700; color: #1a1a1a; }
.sales-chart__key { display: inline-flex; align-items: center; gap: 0.375em; font-size: 0.75em; color: #52525B; white-space: nowrap; }
.sales-chart__key svg { width: 0.875em; height: 0.875em; }
.sales-chart__plot { position: relative; }
.sales-chart__plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.sales-chart__grid { stroke: #E4E4E7; stroke-width: 1; }
.sales-chart__base { stroke: #C9C9CF; stroke-width: 1; }
.sales-chart__y { fill: #71717A; font-size: 13px; text-anchor: end; }
.sales-chart__x { fill: #71717A; font-size: 13px; text-anchor: middle; }
.sales-chart__val { fill: #1a1a1a; font-size: 13px; font-weight: 700; text-anchor: middle; }
.sales-chart__bar { fill: #1a1a1a; }
.sales-chart__bar.is-estimate { fill: url(#sales-hatch); }
.sales-chart__defs { position: absolute; width: 0; height: 0; }
.sales-chart__hatch-bg { fill: #fff; }
.sales-chart__hatch-line { stroke: #1a1a1a; stroke-width: 3; }
.sales-chart__hit { fill: transparent; }
.sales-chart__col { cursor: default; outline: none; }
.sales-chart__col:hover .sales-chart__hit, .sales-chart__col:focus .sales-chart__hit { fill: rgba(26, 26, 26, 0.05); }
.sales-chart__tip { position: absolute; top: 0; z-index: 2; display: grid; gap: 0.125em; padding: 0.625em 0.875em; border-radius: 0.5em; background: #1a1a1a; color: #fff; font-size: 0.75em; white-space: nowrap; pointer-events: none; }
.sales-chart__tip strong { font-size: 1.0833em; }
.sales-chart__tip[hidden] { display: none; }
.sales-table table { width: 100%; }
.sales-table td { vertical-align: middle; }
.sales-table__num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sales-table .op-chip { margin-left: 0.5em; }
@media (max-width: 769px) {
    .sales-filter { display: grid; grid-template-columns: auto 1fr; }
    .sales-filter select { min-width: 0; width: 100%; }
    .sales-filter select + label { margin-left: 0; }
    .sales-kpis { grid-template-columns: 1fr; gap: 0.75em; }
    .sales-chart { padding: 1em 1em 0.5em; }
    .sales-table__num { text-align: left; }
    .sales-table td[data-label]::before { width: 7em; }
    .sales-table .sales-table__sub { display: none; }
}
/* 振込先口座の登録内容（白ホリ app.css と同じ） */
.op-bank { display: grid; grid-template-columns: 7em 1fr; gap: 0.875em 1.5em; margin: 0; }
.op-bank dt { color: #71717A; }
.op-bank dd { margin: 0; color: #1a1a1a; overflow-wrap: anywhere; }

/* 予約前のお問い合わせ（2026-10-25・白ホリ app.css の写し） */
.contact-guard-error { margin: 0.5em 0 0; color: var(--c-danger); font-size: 0.8125em; line-height: 1.6; }
.chat__form .contact-guard-error { grid-column: 1 / -1; order: 1; }
.chat__files { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0.5em 0 0; padding: 0; list-style: none; }
.chat__item.is-mine .chat__files { justify-content: flex-end; }
.chat__file-img { display: block; width: 10em; aspect-ratio: 4 / 3; border-radius: 0.625em; overflow: hidden; background: #E9E9EC; }
.chat__file-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chat__file-doc { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.625em 0.875em; border-radius: 0.625em; background: #fff; color: #1a1a1a; font-size: 0.8125em; text-decoration: none; }
.chat__file-doc span { padding: 0.125em 0.375em; border-radius: 0.25em; background: #1a1a1a; color: #fff; font-size: 0.75em; font-weight: 700; }
.chat__file-doc small { color: #71717A; }
.chat__attach { grid-column: 1 / -1; order: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25em 0.75em; }
.chat__attach-btn { position: relative; display: inline-flex; align-items: center; padding: 0.5em 0.875em; border-radius: 0.5em; background: #fff; color: #1a1a1a; font-size: 0.8125em; font-weight: 700; cursor: pointer; white-space: nowrap; }
.chat__attach-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chat__attach-btn:focus-within { outline: 0.125em solid #1a1a1a; }
.chat__attach-note { font-size: 0.75em; color: #52525B; }
.chat__attach-list { flex-basis: 100%; margin: 0; padding: 0; list-style: none; font-size: 0.8125em; color: #1a1a1a; }
.c-inquiry__hint { margin: 0.375em 0 0; font-size: 0.75em; color: var(--c-form-sub); }
.c-auth__form input[type="file"] { padding: 0.75em 1em; font-size: 0.875em; }
textarea.is-invalid { box-shadow: inset 0 0 0 0.0625em var(--c-danger); }
.op-inquiries { display: grid; gap: 0.75em; margin: 0 0 1.5em; padding: 0; list-style: none; }
.op-inquiry { display: grid; gap: 0.25em; padding: 1em 1.25em; border-radius: 0.875em; background: #F7F7F8; color: #1a1a1a; text-decoration: none; }
.op-inquiry:hover { background: #EFEFF1; text-decoration: none; }
.op-inquiry__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em; }
.op-inquiry__head time { margin-left: auto; font-size: 0.8125em; color: #52525B; white-space: nowrap; }
.op-inquiry__studio { font-size: 0.8125em; color: #52525B; }
.op-inquiry__body { font-size: 0.875em; line-height: 1.6; color: #1a1a1a; }
.op-inquiry.is-unread .op-inquiry__body { font-weight: 700; }
.mypage-inquiries__title { margin-top: 2em; }
.c-auth__form textarea { width: 100%; padding: 0.875em 1em; border: none; border-radius: 0.25em; background: var(--c-form-req-bg); color: var(--c-ink); font-size: 0.9375em; line-height: 1.7; outline: none; resize: vertical; }
.c-auth__form textarea::placeholder { color: var(--c-form-sub); }
.c-auth--wide { width: min(100%, 36em); }
.c-inquiry__studio { margin: -0.75em 0 1em; text-align: center; font-weight: 700; }
.c-inquiry__studio a { color: var(--c-ink); }
.c-inquiry__reserve { margin: 1em 0 0; }
@media (max-width: 769px) {
    .c-auth__form textarea { font-size: 1.1875em; }
}

/* 掲載の編集「住所・アクセス」の地図のピン（2026-10-27・白ホリと同じ操作。地図は Leaflet＋国土地理院の淡色地図） */
.c-pin-map { height: 24em; border-radius: 0.375em; background: #f5f5f5; z-index: 0; }
.c-pin-map__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75em; margin: 0.5em 0 0; }
@media (max-width: 769px) {
    .c-pin-map { height: 18em; }
}
/* 所在地・アクセス › 駐車場（2026-10-28 白ホリ PR #455 の写し。白ホリは基本情報の地図の下）。区切りはフォームの薄い線 #eee だけ */
.parking-edit { margin: 0 0 1.5em; padding: 0; border: 0; min-width: 0; }
.edit-main .parking-edit__title { margin: 0 0 0.5em; padding: 0; font-size: 0.9375em; font-weight: 700; color: #1a1a1a; }
.parking-edit__row { display: grid; grid-template-columns: 11em minmax(0, 1fr); align-items: center; gap: 0.5em 1em; padding: 0.75em 0; border-bottom: 0.0625em solid #eee; }
.edit-main .parking-edit__label { margin: 0; font-size: 0.875em; font-weight: 700; color: #1a1a1a; }
.parking-edit__group[hidden], .parking-edit__inline[hidden] { display: none; }
.parking-edit__inline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em; }
.edit-main .parking-edit__inline label { margin: 0; font-size: 0.875em; }
.parking-edit__inline .input-unit { width: 7em; }
.parking-edit__inline > span { font-size: 0.875em; white-space: nowrap; }
.parking-edit__paid, .parking-edit__walk { margin-top: 0.5em; }
/* 入力欄の既定の幅（横いっぱい）に負けないよう2段で指定 */
.edit-main .parking-edit__paid input { width: 8.5em; }
.edit-main .parking-edit__paid select { width: auto; min-width: 6em; }
.edit-main .parking-edit .help, .edit-main .parking-edit .error { margin: 0.5em 0 0; }
.parking-edit .bh-seg { justify-self: start; }
@media (max-width: 769px) {
    .parking-edit__row { grid-template-columns: minmax(0, 1fr); }
}
/* 所在地・アクセスの中の駐車場は、ほかの項目と同じ左列の幅・区切り線にそろえる（2026-10-29 白ホリ #479） */
.sf .parking-edit { margin: 0; }
.sf .parking-edit__row { grid-template-columns: 14em minmax(0, 1fr); column-gap: 1.5em; padding: 1.25em 0; border-bottom: 0; border-top: 0.0625em solid var(--c-form-divider); }
.edit-main .sf .parking-edit__label { font-size: 0.9375em; }
.edit-main .sf .parking-edit__inline .input-unit, .edit-main .sf .parking-edit__paid input, .edit-main .sf .parking-edit__paid select { width: 8em; }
@media (max-width: 769px) {
    .sf .parking-edit__row { grid-template-columns: minmax(0, 1fr); }
}


/* 予約受付の「仮予約」「ロケハン」「入室方法のご案内メール」（2026-10-27・白ホリから移植。白ホリのインライン style をクラスにした） */
.edit-main .c-inline-select { flex-wrap: wrap; }
.edit-main .c-inline-select select { width: auto; min-width: 4.5em; padding-right: 2em; }
/* 仮予約・ロケハン（2026-10-29 白ホリ #472・#474 のA案）: 左に設定、右に期限の例・予約フォームに出る文（幅 21.25em・sticky＝入室方法の見本と同じ）。スマホは見本をフォームの下へ */
.tt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 21.25em; gap: 2.5em; align-items: start; }
.edit-main .tt-label { display: block; font-size: 0.8125em; font-weight: 500; color: #3F3F46; margin-bottom: 0.625em; }
.edit-main .tt-switch { display: inline-flex; align-items: center; gap: 0.75em; margin: 0; font-size: 0.9375em; font-weight: 500; color: #1a1a1a; cursor: pointer; }
.tt-rows { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75em; }
.edit-main .tt-row { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5em; margin: 0; font-size: 0.875em; font-weight: 400; color: #1a1a1a; }
.edit-main .tt-row .tt-row { font-size: 1em; }
.edit-main .tt-row input[type="number"] { width: 4.5em; padding-top: 0.4375em; padding-bottom: 0.4375em; text-align: right; }
.edit-main .tt-row input.lc-price { width: 7em; }
.edit-main .tt-row input[type="number"]:disabled { opacity: 0.5; }
.edit-main .tt-row select { width: auto; padding-top: 0.4375em; padding-bottom: 0.4375em; }
.tt-radios { display: flex; flex-direction: column; gap: 0.875em; }
.edit-main .tt-radios label { display: flex; align-items: flex-start; gap: 0.625em; margin: 0; font-size: 0.875em; font-weight: 400; color: #1a1a1a; cursor: pointer; }
.edit-main .tt-radios input { margin-top: 0.25em; }
.tt-radios small { display: block; margin-top: 0.125em; font-size: 0.875em; }
.tt-preview { position: sticky; top: 1em; padding: 1.25em; border-radius: 0.5em; background: var(--c-form-opt-bg); font-size: 0.8125em; color: #1a1a1a; }
.tt-preview__title { margin: 0 0 0.625em; font-weight: 700; }
.tt-preview__card { margin: 0 0 1.25em; padding: 1em; border-radius: 0.375em; background: #fff; overflow-wrap: anywhere; }
.tt-preview__card:last-child { margin-bottom: 0; }
dl.tt-preview__card { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.375em 1em; }
.tt-preview__card dt { font-weight: 700; }
.tt-preview__card dd { margin: 0; }
/* ロケハンの曜日の行は営業時間と同じ .bh-*（#bh-table 向けの選択欄の幅をここでも） */
.lc-hours { margin-top: 0.75em; }
.lc-hours .bh-times select { width: auto; min-width: 6.5em; }
@media (max-width: 769px) {
    .tt-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5em; }
    .tt-preview { position: static; }
    .edit-main .tt-row input[type="number"], .edit-main .tt-row select { font-size: 1em; }
    .lc-hours .bh-times select { min-width: 5.75em; font-size: 1em; }
}
/* 入室方法のご案内（2026-10-28 白ホリ #471 のB案）: 左に入力、右に届くメールの見本（幅 21.25em・sticky＝フォームの基準の右カラムと同じ）。スマホは見本をフォームの下へ */
.em-layout { display: grid; grid-template-columns: minmax(0, 1fr) 21.25em; gap: 2.5em; align-items: start; }
.em-label { display: block; font-size: 0.8125em; font-weight: 500; color: #3F3F46; margin-bottom: 0.5em; }
.em-hints { display: flex; flex-wrap: wrap; gap: 0.375em; margin: 0 0 0.625em; }
.em-hints button { padding: 0.25em 0.875em; border: 0; border-radius: 2em; background: var(--c-form-opt-bg); color: #1a1a1a; font: inherit; font-size: 0.75em; cursor: pointer; white-space: nowrap; }
.em-hints button:hover { background: var(--c-ink); color: #fff; }
.edit-main .em-form textarea { width: 100%; }
.edit-main .em-switch { display: inline-flex; align-items: center; gap: 0.75em; margin: 0; font-size: 0.875em; color: #1a1a1a; cursor: pointer; }
.em-when { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75em; }
.edit-main .em-when label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5em; margin: 0; font-size: 0.875em; font-weight: 400; color: #1a1a1a; cursor: pointer; }
.edit-main .em-when select { width: auto; padding-top: 0.4375em; padding-bottom: 0.4375em; }
/* 「[前日] [9:00] に送る」は途中で折り返さず、まとめて次の行へ送る */
.em-when__pick { display: inline-flex; align-items: center; gap: 0.5em; white-space: nowrap; }
.em-preview { position: sticky; top: 1em; padding: 1.25em; border-radius: 0.5em; background: var(--c-form-opt-bg); font-size: 0.8125em; color: #1a1a1a; }
.em-preview__title { margin: 0 0 0.75em; font-weight: 700; }
.em-preview__mail { padding: 1em 1.125em; border-radius: 0.375em; background: #fff; }
.em-preview__subject { margin: 0 0 0.75em; padding-bottom: 0.75em; border-bottom: 0.0625em solid var(--c-form-divider); }
.em-preview__subject b { display: block; font-size: 1.0625em; }
.em-preview__body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.75; }
.em-preview__body mark { background: var(--c-brand-tint); color: #1a1a1a; }
.em-preview__when { margin: 0.75em 0 0; }
@media (max-width: 769px) {
    .em-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5em; }
    .em-preview { position: static; }
    .edit-main .em-form textarea { font-size: 1em; }
}

/* ===== 口コミ（2026-10-27・白ホリ app.css の「口コミを書く画面」「口コミ（運営の確認・オーナーの返信）」の写し） ===== */
/* 書く画面。フォームの決まり（項目が少ない＝1カラム）に合わせ c-auth__form を使う */
.u-visually-hidden { position: absolute; width: 0.0625em; height: 0.0625em; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c-form-alert { margin: 0 0 0.5em; padding: 0.875em 1em; border-radius: 0.25em; background: var(--c-form-req-bg); color: var(--c-form-req); font-size: 0.875em; }
.c-review-form__studio { margin: -0.5em 0 1em; font-size: 1em; font-weight: 700; text-align: center; }
.c-review-form__studio span { display: block; margin-top: 0.25em; font-size: 0.8125em; font-weight: 400; }
.c-review-form__legend { display: flex; align-items: center; gap: 0.375em; margin: 0 0 0.5em; padding: 0; color: var(--c-ink); font-size: 0.9375em; font-weight: 700; }
.c-review-form__legend .req { padding: 0.125em 0.625em; border-radius: 1.25em; background: var(--c-form-req); color: var(--c-bg); font-size: 0.6875em; font-weight: 700; letter-spacing: 0.0625em; }
.c-review-form__select { width: 100%; padding: 0.875em 1em; border: 0; border-radius: 0.25em; background: var(--c-form-opt-bg); color: var(--c-ink); font: inherit; font-size: 0.9375em; appearance: none; -webkit-appearance: none; outline: none; }

/* 星の入力。右から並べ、選んだ星とその左（DOMでは後ろ）を塗る。ホバーは少し薄くするだけ */
.c-star-input { display: inline-flex; flex-direction: row-reverse; gap: 0.25em; }
.c-auth__form .c-star-input input { position: absolute; width: 0.0625em; height: 0.0625em; padding: 0; opacity: 0; }
.c-auth__form .c-star-input label { margin: 0; cursor: pointer; }
.c-star-input svg { display: block; width: 2.25em; height: 2.25em; fill: var(--c-form-disabled); }
.c-star-input input:checked ~ label svg { fill: var(--c-ink); }
.c-star-input label:hover svg { opacity: 0.7; }
.c-star-input input:focus-visible + label { outline: 0.125em solid var(--c-ink); outline-offset: 0.125em; border-radius: 0.25em; }

/* 選択肢は縦一列。未選択は淡いグレーの丸、選択中は濃いグレーで塗って中央に白い点 */
.c-choice-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.75em; }
.c-auth__form .c-choice { display: flex; align-items: center; gap: 0.625em; margin: 0; font-size: 0.9375em; font-weight: 400; cursor: pointer; }
.c-auth__form .c-choice input { flex: none; width: 1.5em; height: 1.5em; padding: 0; border-radius: 50%; background: #ebebeb; appearance: none; -webkit-appearance: none; }
.c-auth__form .c-choice input:checked { background: radial-gradient(circle, #fff 0 28%, #555 30%); }
.c-auth__form .c-choice input:focus-visible { outline: 0.125em solid var(--c-ink); outline-offset: 0.125em; }
@media (max-width: 769px) {
    .c-review-form__select { font-size: 1.1875em; }
}

/* マイページ・予約の詳細の「口コミを書く」 */
.mypage-review-link { display: inline-block; margin-top: 0.375em; font-size: 0.8125em; font-weight: 700; color: var(--c-ink); text-decoration: underline; text-underline-offset: 0.1875em; white-space: nowrap; }

/* 運営の確認・オーナーの返信。区切りは余白と淡い面で */
.rv-stars { color: var(--c-ink); letter-spacing: 0.0625em; white-space: nowrap; }
.rv-stars__off { color: var(--c-form-disabled); }
.rv-list { margin: 0 0 1.5em; padding: 0; list-style: none; display: grid; gap: 0.75em; }
.rv-list__item { display: grid; gap: 0.375em; padding: 1em 1.25em; border-radius: 0.75em; background: #F7F7F8; color: var(--c-ink); }
.rv-list__item:hover { text-decoration: none; background: #EFEFF1; }
.rv-list__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25em 0.75em; margin: 0; }
.rv-list__studio { font-size: 0.875em; font-weight: 700; }
.rv-list__date { font-size: 0.75em; }
.rv-list__body { font-size: 0.875em; line-height: 1.7; overflow-wrap: anywhere; }
.rv-list__meta { margin: 0; font-size: 0.75em; }
.rv-card { display: grid; gap: 0.625em; padding: 1.25em 1.5em; border-radius: 0.75em; background: #F7F7F8; }
.rv-card__body, .rv-detail__body { margin: 0; font-size: 0.875em; line-height: 1.8; overflow-wrap: anywhere; }
.rv-card__reply { padding: 0.875em 1.125em; border-radius: 0.5em; background: #fff; font-size: 0.875em; line-height: 1.8; }
.rv-card__reply p { margin: 0; overflow-wrap: anywhere; }
.rv-card__reply-title { font-weight: 700; }
.rv-card__form .field { margin-bottom: 0.75em; }
.rv-card__form textarea { width: 100%; background: #fff; }
.rv-detail__stars { margin: 0 0 0.75em; font-size: 1.125em; }
.rv-detail__photos { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0.75em 0; padding: 0; list-style: none; }
.rv-detail__photos img { display: block; width: 7.5em; height: 7.5em; object-fit: cover; border-radius: 0.375em; }
.rv-detail .panel .dl { margin-top: 1.25em; }
@media (max-width: 769px) {
    .rv-card { padding: 1em 1.125em; }
    .rv-detail__photos img { width: 6em; height: 6em; }
}
/* 必須が空のあいだ（form-required-gate）はグレーで押せないと分かるように */
.rv-card__form .btn-primary:disabled { background: var(--c-form-disabled); color: var(--c-bg); cursor: not-allowed; }

/* お知らせの編集（2026-10-27）: 今のアイキャッチ画像の見本 */
.news-thumb { width: 15em; height: auto; border-radius: 0.25em; }
/* 固定ページの本文（HTML）の欄（2026-10-27） */
.u-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8125em; line-height: 1.5; }

/* 機材・備品の編集（2026-10-27 白ホリ public/css/app.css の eq- の写し・色だけホワイトパンダ） */
.eq-actions { justify-content: flex-start; gap: 1em; margin: 0 0 1.5em; }
.eq-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1em; }
.eq-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.25em; padding: 1em 0.875em 1em; border-radius: 0.875em; background: #F7F7F8; text-align: center; cursor: grab; }
.eq-card.is-dragging { opacity: 0.4; }
.eq-card__handle { position: absolute; left: 0.625em; top: 0.5em; color: #A1A1AA; font-size: 0.875em; }
.eq-card__image { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 0.625em; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 0.5em; }
.eq-card__image img { width: 86%; height: 86%; object-fit: contain; }
.eq-card__image > span:first-child { font-size: 0.75em; color: #A1A1AA; }
.eq-card__qty { position: absolute; top: 0.5em; right: 0.5em; min-width: 2.25em; height: 2.25em; padding: 0 0.375em; border-radius: 999em; background: #1a1a1a; color: #fff; font-size: 0.75em; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.eq-card__name { margin: 0; font-size: 0.875em; font-weight: 700; color: #1a1a1a; line-height: 1.4; }
.eq-card__model { margin: 0; font-size: 0.75em; color: #1A1A1A; line-height: 1.4; }
.eq-card__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.375em; margin: 0.375em 0 0; }
.eq-chip { padding: 0.125em 0.625em; border-radius: 999em; background: #EEEEF0; color: #3F3F46; font-size: 0.6875em; font-weight: 700; }
.eq-chip.is-free { background: var(--c-brand-tint); color: #1a1a1a; }
.eq-chip.is-consumable { background: var(--c-brand); color: var(--c-on-brand); }
.eq-card__buttons { display: flex; gap: 0.375em; margin-top: 0.75em; }
.eq-card__buttons .btn { background: #fff; }
.eq-form { display: grid; grid-template-columns: 14em minmax(0, 1fr); gap: 1.5em; }
.eq-form__preview { aspect-ratio: 1 / 1; border-radius: 0.625em; background: #F7F7F8; display: flex; align-items: center; justify-content: center; margin: 0 0 0.75em; overflow: hidden; }
.eq-form__preview img { width: 86%; height: 86%; object-fit: contain; }
.eq-form__preview span { font-size: 0.75em; color: #A1A1AA; }
.eq-form__image input[type="file"] { font-size: 0.75em; max-width: 100%; }
.eq-form__check { display: flex; align-items: center; gap: 0.375em; margin-top: 0.5em; font-size: 0.8125em; }
.eq-form__choices { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em 1.25em; }
.eq-form__choices label { display: flex; align-items: center; gap: 0.375em; margin: 0; font-size: 0.875em; font-weight: 500; }
.eq-form__price { width: 9em; }
.eq-form__qty { width: 8em; }
@media (max-width: 769px) {
    .eq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .eq-form { grid-template-columns: 1fr; }
}

/* オプションの一覧（2026-10-28 白ホリ #466 C案の写し）。1件1行・行を押すと編集のポップアップ。説明は1行で省略。
   行の区切りはフォームと同じごく薄い線（#eee）。色は墨と補足のグレーだけ */
.c-opt-list { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 0 1.25em; padding: 0; list-style: none; }
.c-opt-list li + li .c-opt-list__row { border-top: 0.0625em solid #eee; }
.c-opt-list__row { display: grid; grid-template-columns: minmax(0, 1fr) auto 0.5em; align-items: center; gap: 1em; width: 100%; padding: 0.875em 0.5em; border: 0; border-radius: 0; background: #fff; color: #1a1a1a; font: inherit; text-align: left; cursor: pointer; }
.c-opt-list__row:hover { background: #f5f5f5; }
.c-opt-list__main { display: grid; min-width: 0; }
.c-opt-list__name { font-weight: 700; }
.c-opt-list__desc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.8125em; }
.c-opt-list__fee { display: grid; justify-items: end; }
.c-opt-list__price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-opt-list__unit { font-size: 0.75em; white-space: nowrap; }
.c-opt-list__chev { width: 0.5em; height: 0.75em; color: #71717a; }
.c-opt-list__delete { margin-top: 1.5em; padding-top: 1.25em; border-top: 0.0625em solid #eee; }
@media (max-width: 769px) {
    .c-opt-list__row { gap: 0.75em; padding-inline: 0; }
}
/* 編集画面の中のボタンはブランド色に塗られる（.edit-main .btn:not(.btn-outline):not(.btn-danger)）ので、同じ強さに足してグラデーションを戻す */
.edit-main .btn.btn-gradient:not(.btn-outline):not(.btn-danger) { background: var(--c-brand-gradient); color: #fff; }
.edit-main .btn.btn-gradient:not(.btn-outline):not(.btn-danger):hover { background: var(--c-brand-gradient); color: #fff; opacity: 0.85; }


/* 掲載の充実度（2026-10-27 白ホリと同じ）。編集画面の左メニューの「掲載内容」の上 */
.listing-gauge { margin: 0 0.75em 1.5em; }
.listing-gauge__head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 0.375em; font-size: 0.8125em; font-weight: 700; }
.listing-gauge__head strong { font-size: 1.75em; line-height: 1; font-variant-numeric: tabular-nums; }
.listing-gauge__head small { margin-left: 0.125em; font-size: 0.5em; }
.listing-gauge__bar { height: 0.625em; border-radius: 999em; background: #EEEEEE; overflow: hidden; }
.listing-gauge__bar span { display: block; height: 100%; border-radius: 999em; background: var(--c-brand-gradient); }
.listing-gauge__next { display: flex; justify-content: space-between; gap: 0.5em; margin-top: 0.5em; font-size: 0.75em; color: #1a1a1a; text-decoration: none; }
.listing-gauge__next:hover { text-decoration: underline; }
.listing-gauge__next b { flex: none; font-weight: 700; }
@media (max-width: 769px) {
    .listing-gauge { margin: 0 0 1.25em; }
}

/* 特徴の5枠（2026-10-27 白ホリと同じ）。登録済みは画像を押すと差し替え・空き枠は「画像を選ぶ」 */
.c-feature-edit { margin: 0; padding: 0; list-style: none; }
.c-feature-edit__item { display: grid; grid-template-columns: 15em minmax(0, 1fr); gap: 1.25em; align-items: start; }
.c-feature-edit__item + .c-feature-edit__item { margin-top: 1.75em; }
.c-feature-edit__label { display: block; margin: 0 0 0.375em; font-size: 0.875em; font-weight: 700; }
.c-feature-edit__body { min-width: 0; }
.c-feature-edit__body textarea { width: 100%; }
.c-feature-edit__buttons { display: flex; flex-wrap: wrap; gap: 0.5em; margin-top: 0.75em; }
.c-feature-edit__drop { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; border-radius: 0.5em; background: #f5f5f5; overflow: hidden; cursor: pointer; }
.c-feature-edit__drop:hover { background: #ebebeb; }
.c-feature-edit__drop:focus-within { outline: 0.125em solid #1a1a1a; outline-offset: 0.125em; }
/* ファイル欄は見えなくするが、required の案内が出せるよう display:none にはしない */
.c-feature-edit__drop input[type=file] { position: absolute; width: 0.0625em; height: 0.0625em; opacity: 0; }
.c-feature-edit__drop-text { font-size: 0.875em; font-weight: 700; }
.c-feature-edit__drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-feature-edit__drop.is-selected .c-feature-edit__drop-text { position: relative; z-index: 1; padding: 0.375em 0.875em; border-radius: 62.4375em; background: #1a1a1a; color: #fff; opacity: 0; transition: opacity .15s ease; }
.c-feature-edit__drop.is-selected:hover .c-feature-edit__drop-text, .c-feature-edit__drop.is-selected:focus-within .c-feature-edit__drop-text { opacity: 1; }
@media (max-width: 769px) {
    .c-feature-edit__item { grid-template-columns: minmax(0, 1fr); gap: 0.75em; }
}

/* 掲載内容編集 › エリア（2026-10-27 白ホリと同じ）: 独自エリア区分（選べる）・住所区分と駅区分（自動・見せるだけ）。区分の下に一覧ページの URL */
/* パネル内の h3 の既定（大きい見出し）より強く当てる */
.edit-main .panel h3.area-block__title { margin: 2.5em 0 0.375em; font-size: 0.9375em; font-weight: 700; letter-spacing: 0; }
.edit-main .panel h3.area-block__title:first-of-type { margin-top: 0.75em; }
.area-block__auto { margin-left: 0.5em; font-size: 0.75em; font-weight: 400; color: #71717A; }
.area-links { margin: 0.5em 0 0.25em; padding: 0; list-style: none; font-size: 0.8125em; }
.area-links li + li { margin-top: 0.25em; }
.area-links a, .area-auto__url { color: #1a1a1a; overflow-wrap: anywhere; }
.area-auto { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 0.75em 1.25em; margin: 0 0 0.5em; font-size: 0.875em; }
.area-auto dt { color: #71717A; }
.area-auto dd { margin: 0; color: #1a1a1a; }
.area-auto__url { display: block; margin-top: 0.125em; font-size: 0.875em; }

/* 掲載内容編集 › 営業時間（2026-10-27 白ホリ PR #413 と同じ B案）: 曜日ごとの行＝曜日・営業のスイッチ・時間（30分刻みの選択）。休みの曜日は「定休日」 */
.bh-row { display: grid; grid-template-columns: 2.5em 3.25em minmax(0, 1fr); align-items: center; gap: 0.75em; min-height: 3.75em; padding: 0.5em 0; border-top: 0.0625em solid #eee; }
.bh-row:last-child { border-bottom: 0.0625em solid #eee; }
.bh-row__day { font-weight: 700; }
.bh-row.is-sat .bh-row__day { color: #1f3a93; }
.bh-row.is-sun .bh-row__day { color: #b3261e; }
.bh-switch { position: relative; display: inline-block; cursor: pointer; }
.bh-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bh-switch__track { display: block; width: 2.75em; height: 1.5em; border-radius: 999em; background: #c4c9d2; position: relative; transition: background .15s ease; }
.bh-switch__track::after { content: ""; position: absolute; top: 0.1875em; left: 0.1875em; width: 1.125em; height: 1.125em; border-radius: 50%; background: #fff; box-shadow: 0 0.0625em 0.1875em rgba(0,0,0,.3); transition: left .15s ease; }
.bh-switch input:checked + .bh-switch__track { background: var(--c-brand-gradient); }
.bh-switch input:checked + .bh-switch__track::after { left: 1.4375em; }
.bh-switch input:focus-visible + .bh-switch__track { outline: 0.125em solid #1a1a1a; outline-offset: 0.125em; }
.bh-times { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5em; }
#bh-table .bh-times select { width: auto; min-width: 6.5em; }
.bh-times [hidden] { display: none !important; }
.bh-sep { color: #71717A; }
.bh-copy { border: none; background: none; padding: 0.25em; font: inherit; font-size: 0.8125em; color: #1a1a1a; text-decoration: underline; cursor: pointer; white-space: nowrap; }
.bh-closed { display: none; color: #71717A; font-size: 0.9375em; }
.bh-row.is-off .bh-times { display: none; }
.bh-row.is-off .bh-closed { display: inline; }
@media (max-width: 769px) {
    .bh-row { grid-template-columns: 2em 3.25em minmax(0, 1fr); gap: 0.5em; }
    #bh-table .bh-times select { min-width: 5.75em; font-size: 1em; }
}

/* 掲載内容編集 › 料金・規約（2026-10-28 白ホリ #414・#439 と同じく料金を1か所に）。区切りは見出しと余白 */
.edit-main .panel h3.fee-block__title { margin: 2.5em 0 0.375em; font-size: 0.9375em; font-weight: 700; letter-spacing: 0; }
.edit-main .panel h3.fee-block__title:first-of-type { margin-top: 0.75em; }
.fee-table { max-width: 28em; margin: 0 0 0.75em; }
.fee-table__head, .fee-table__row { display: grid; grid-template-columns: 6em minmax(0, 1fr); align-items: center; gap: 0.75em; }
.fee-table__head { padding: 0 0 0.375em; font-size: 0.75em; color: #71717A; }
.fee-table__row { padding: 0.625em 0; border-top: 0.0625em solid #eee; }
.fee-table__row:last-child { border-bottom: 0.0625em solid #eee; }
.fee-table__usage { font-weight: 700; }
.fee-table__price { display: flex; align-items: center; gap: 0.375em; }
.edit-main .fee-table__price input { flex: 1 1 auto; width: auto; min-width: 0; text-align: right; }
/* 直前割・早割（2026-10-29 白ホリ #487）。1行＝「[✓] 直前割｜利用日の [前日] から [20%] OFF」。区切りは料金の行と同じ薄い線 */
.discount-rows { display: grid; max-width: 40em; margin: 0 0 1em; }
.discount-row { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); align-items: center; gap: 0.5em 1em; padding: 0.75em 0; border-bottom: 0.0625em solid #eee; font-size: 0.875em; }
.edit-main .discount-row__name { display: inline-flex; align-items: center; gap: 0.5em; margin: 0; font-size: 1em; font-weight: 700; white-space: nowrap; }
.discount-row__rule { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em; }
.edit-main .discount-row__rule select { width: auto; font-size: 1em; }
@media (max-width: 769px) {
    .discount-row { grid-template-columns: 1fr; }
}
/* そのほかの料金: 項目ごとに 表示しない／無料／有料、有料なら金額と単位 */
.fee-extras { display: grid; margin: 0 0 1em; }
.fee-extra { display: grid; grid-template-columns: 9em auto minmax(0, 1fr); align-items: center; gap: 0.5em 1em; margin: 0; padding: 0.875em 0; border: 0; border-bottom: 0.0625em solid #eee; }
.fee-extra__label { float: left; padding: 0; font-size: 0.9375em; font-weight: 700; }
.fee-seg { display: inline-flex; flex-wrap: wrap; justify-self: start; gap: 0.25em; padding: 0.25em; border-radius: 0.625em; background: #f5f5f5; }
.fee-seg label, .edit-main .fee-seg label { position: relative; margin: 0; font-size: 1em; } /* 全体の label の 0.8125em を打ち消す（.bh-seg と同じ） */
.fee-seg input { position: absolute; opacity: 0; width: 0.0625em; height: 0.0625em; }
.fee-seg span { display: block; padding: 0.375em 0.875em; border-radius: 0.5em; font-size: 0.875em; font-weight: 400; white-space: nowrap; cursor: pointer; }
.fee-seg input:checked + span { background: var(--c-ink); color: #fff; }
.fee-seg input:focus-visible + span { outline: 0.125em solid var(--c-ink); outline-offset: 0.125em; }
.fee-extra__paid, .fee-extra__name { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em; min-width: 0; }
.fee-extra__paid > span { white-space: nowrap; }
.fee-extra__paid[hidden], .fee-extra__name[hidden] { display: none; }
/* 入力欄の既定の幅（横いっぱい）に負けないよう2段で指定 */
.edit-main .fee-extra .fee-extra__price { width: 7em; text-align: right; }
.edit-main .fee-extra .fee-extra__paid select { width: auto; min-width: 6em; }
.edit-main .fee-extra .fee-extra__name input { width: 10em; }
.fee-extra .help, .fee-extra .error { grid-column: 1 / -1; margin: 0; }
@media (max-width: 769px) {
    .fee-extra { grid-template-columns: 1fr; }
}

/* 掲載プランのカード払い（2026-10-27・白ホリ app.css の写し）。［プランを変更する］のモーダルとその中身 */
.bh-seg { display: inline-flex; flex-wrap: wrap; gap: 0.25em; padding: 0.25em; border-radius: 0.625em; background: #f5f5f5; }
.bh-seg label, .edit-main .bh-seg label { display: block; margin: 0; font-size: 1em; } /* 全体の label の下余白が入ると、ボタンが上に寄って下に隙間ができる（2026-10-28 白ホリ PR #456） */
/* ↑ font-size: 1em は、全体の label の 0.8125em とボタンの文字の 0.875em が掛け合わさって約10pxまで小さくなっていたため（2026-10-28 児島指摘） */
.bh-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bh-seg span { display: block; padding: 0.375em 0.875em; border-radius: 0.5em; font-size: 0.875em; white-space: nowrap; cursor: pointer; }
.bh-seg input:checked + span { background: var(--c-ink); color: #fff; }
.bh-seg input:focus-visible + span { outline: 0.125em solid var(--c-ink); outline-offset: 0.125em; }
.edit-header__plan { display: inline-block; padding: 0.25em 0.875em; border-radius: 999em; background: var(--c-ink); color: #fff; font-weight: 700; white-space: nowrap; }
.edit-header__plan-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em 1em; }
.edit-header__plan-link { color: var(--c-ink); font-weight: 500; text-decoration: underline; white-space: nowrap; }
.plan-page__studio { margin: 0 0 1em; font-size: 1.125em; }
/* モーダル: 画面いっぱいに近い大きさ・PCは画面の中央。
   背景はほかのモーダルと同じ黒の半透明（.modal-overlay）にそろえた（2026-10-29 白ホリ #485 と同じ。以前は白の透過） */
.plan-modal.is-open { display: flex; align-items: center; justify-content: center; }
.plan-modal__box { width: min(96%, 72em); max-height: 94vh; margin: 0; padding: 2.5em 2.5em 2em; border-radius: 1em; box-shadow: 0 0.5em 2.5em rgba(26, 26, 26, 0.12); }
.plan-modal__title { margin: 0 0 1em; font-size: 1.375em; color: #1a1a1a; text-align: center; }
.plan-modal__close { position: absolute; top: 0.75em; right: 0.75em; width: 2.25em; height: 2.25em; border: 0; border-radius: 50%; background: #f5f5f5; color: #1a1a1a; font-size: 1.125em; line-height: 1; cursor: pointer; }
.plan-modal .plan-cards .sx-plan { padding: 1.75em 1.25em 1.5em; }
.plan-modal .plan-cards .sx-plan__badge { left: 1.25em; }
.plan-modal .plan-cards .sx-plan__name { margin: 0 0 0.375em; font-size: 1em; letter-spacing: 0; white-space: nowrap; }
@media (max-width: 769px) {
    .plan-modal__box { width: 100%; max-height: 100vh; height: 100%; margin: 0; padding: 3em 1em 1.5em; border-radius: 0; }
}
.plan-alert { margin: 0 0 1em; padding: 0.875em 1em; border-radius: 0.5em; background: #fdf0f0; color: #8b1a1a; font-size: 0.875em; }
.plan-pending { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75em 1em; margin: 0 0 1em; padding: 0.875em 1em; border-radius: 0.5em; background: #f5f5f5; font-size: 0.875em; }
.plan-pending p { margin: 0; }
.plan-interval { margin: 0 0 0.5em; padding: 0; border: none; }
.plan-modal .plan-interval { display: flex; justify-content: center; }
/* 規約のような注記: ※始まり・小さな文字・2行目以降は※の後ろにそろえる */
.plan-notes { margin: 1.5em 0 0; padding: 0; list-style: none; font-size: 0.75em; line-height: 1.7; }
.plan-notes li { padding-left: 1em; text-indent: -1em; }
.plan-notes li::before { content: "※"; }
.plan-notes li + li { margin-top: 0.25em; }
/* ホワイトパンダはプランが6つ（ライト・スポンサーがある）なので3列×2段 */
.plan-cards { margin-top: 1.5em; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5em 1em; }
.plan-cards .sx-plan__price { white-space: nowrap; }
.plan-cards .sx-plan__cta form { display: grid; gap: 0.5em; }
.plan-cards .sx-plan__cta .btn { padding-left: 0.5em; padding-right: 0.5em; white-space: nowrap; }
.plan-portal { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em 1em; margin-top: 1.5em; }
@media (max-width: 769px) {
    .plan-cards { grid-template-columns: 1fr; gap: 1.5em; }
}
/* 掲載プラン: カードのひとこと説明と、初めての申し込みのカード入力欄（2026-10-28 白ホリ #438・点検と同じ）。開いている間はプランの選択を隠す */
.plan-cards .sx-plan__desc { margin: -0.5em 0 1em; font-size: 0.75em; line-height: 1.7; color: var(--c-ink); }
.js-plan-chooser.is-paying .plan-interval, .js-plan-chooser.is-paying .plan-cards, .js-plan-chooser.is-paying .plan-notes, .js-plan-chooser.is-paying .plan-portal { display: none; }
.plan-pay { width: min(100%, 30em); margin: 0 auto; }
.plan-pay__back { margin: 0 0 1em; padding: 0; border: 0; background: none; color: var(--c-ink); font-size: 0.875em; text-decoration: underline; cursor: pointer; }
.plan-pay__title { margin: 0 0 1em; font-size: 1.125em; }
.plan-pay__rows { margin: 0 0 0.75em; }
.plan-pay__rows div { display: flex; justify-content: space-between; gap: 1em; padding: 0.5em 0; font-size: 0.875em; }
.plan-pay__rows dt, .plan-pay__rows dd { margin: 0; }
.plan-pay__rows .is-total { margin-top: 0.25em; padding-top: 0.75em; border-top: 0.0625em solid #eee; font-size: 1em; font-weight: 700; }
.plan-pay__renew { margin: 0 0 1.25em; font-size: 0.75em; }
.plan-pay__element { margin: 0 0 1em; }
.plan-pay__submit { width: 100%; }
.plan-pay__help { margin: 0.75em 0 0; font-size: 0.75em; }

/* ===== はじめてのオーナー目線の点検（2026-10-28 白ホリ PR #443 の写し・色だけホワイトパンダ） ===== */
/* ダッシュボード「はじめにやること」。済んだ手順の番号はブランドのグラデーション */
.od-start__steps { display: grid; gap: 0.75em; margin: 0 0 1em; padding: 0; list-style: none; }
.od-start__steps li { display: flex; gap: 1em; padding: 1.125em 1.25em; border-radius: 0.75em; background: #f5f5f5; }
.od-start__num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.75em; height: 1.75em; border-radius: 50%; background: #1a1a1a; color: #fff; font-size: 0.875em; font-weight: 700; }
.od-start__steps li.is-done .od-start__num { background: var(--c-brand-gradient); color: var(--c-on-brand); }
.od-start__title { margin: 0 0 0.25em; font-weight: 700; }
.od-start__done { margin-left: 0.75em; font-size: 0.75em; font-weight: 700; }
.od-start__text { margin: 0 0 0.5em; font-size: 0.8125em; line-height: 1.7; }
.od-start__steps li.is-done .od-start__text { margin: 0; }
.od-start__link { font-size: 0.875em; font-weight: 700; }
.od-start__guide { margin: 0; font-size: 0.8125em; }
/* Googleカレンダー連携の2つの手順（アカウントとつなぐ／スタジオごとにカレンダーを選ぶ） */
.cal-steps { margin: 0 0 1.25em; padding: 1em 1.25em 1em 2.5em; border-radius: 0.75em; background: #f5f5f5; font-size: 0.875em; line-height: 1.8; }

/* メンバー(2026-10-29 児島決定・A案・白ホリ #534 の写し)。一覧の表と、招待・編集のモーダルの中身 */
.op-table-wrap { overflow-x: auto; }
.mtable { width: 100%; border-collapse: collapse; font-size: 0.875em; }
.mtable th { padding: 0.5em 0.75em; text-align: left; font-size: 0.8125em; font-weight: 700; white-space: nowrap; }
.mtable td { padding: 0.9em 0.75em; border-top: 0.0625em solid var(--c-form-divider); vertical-align: middle; }
.mtable td b { display: block; }
.mtable td span { font-size: 0.8125em; }
.mtable__owner { display: inline-block; padding: 0.1em 0.75em; border-radius: 2em; background: var(--c-brand-gradient); color: #fff; font-size: 0.75em; font-weight: 700; white-space: nowrap; }
.mtable__sum { font-size: 0.8125em; }
.mtable__state { padding: 0.1em 0.6em; border-radius: 2em; background: var(--c-form-opt-bg); white-space: nowrap; }
.mtable__actions { text-align: right; white-space: nowrap; }
.mtable__sub { display: flex; justify-content: space-between; gap: 0.5em; margin-top: 1.25em; padding-top: 1em; border-top: 0.0625em solid var(--c-form-divider); }
.modal-box__lead { margin: -0.5em 0 1em; font-size: 0.8125em; }
.mf { display: grid; }
.mf-row { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 1em; align-items: start; padding: 1em 0; border-top: 0.0625em solid var(--c-form-divider); }
.mf-row:first-child { border-top: 0; }
.mf-name { display: flex; align-items: center; gap: 0.5em; margin: 0; padding-top: 0.5em; font-size: 0.9375em; font-weight: 700; }
.mf-static { margin: 0; padding-top: 0.5em; }
.mf-row input[type="text"], .mf-row input[type="email"] { width: 100%; padding: 0.75em 1em; border: 0; border-radius: 0.25em; background: var(--c-form-req-bg); font: inherit; font-size: 0.9375em; outline: none; }
.mf-radio { display: flex; align-items: center; gap: 0.5em; padding: 0.3em 0; font-size: 0.9375em; cursor: pointer; }
.mf-studios { display: flex; flex-wrap: wrap; gap: 0.4em; margin-top: 0.4em; }
.mf-chip { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.3em 0.8em; border-radius: 2em; background: var(--c-form-opt-bg); font-size: 0.8125em; cursor: pointer; }
.mf-chip:has(input:checked) { background: var(--c-ink); color: #fff; }
.mf-perm { width: 100%; border-collapse: collapse; font-size: 0.8125em; }
.mf-perm th, .mf-perm td { padding: 0.55em 0.5em; border-top: 0.0625em solid var(--c-form-divider); text-align: center; }
.mf-perm thead th { border-top: 0; font-weight: 700; }
.mf-perm th[scope="row"], .mf-perm thead th:first-child { text-align: left; white-space: nowrap; }
.mf-note { margin: 0.5em 0 0; font-size: 0.75em; }
.mf-check { display: inline-flex; cursor: pointer; }
/* チェックボックスはチェックの形(チェックあり＝墨の四角に白いチェック・なし＝淡いグレーの四角) */
.mf-check input, .mf-chip input { appearance: none; position: relative; flex: none; width: 1.25em; height: 1.25em; margin: 0; border-radius: 0.25em; background: #ebebeb; cursor: pointer; }
.mf-chip input { width: 1em; height: 1em; background: #fff; }
.mf-check input:checked { background: var(--c-ink); }
.mf-check input:checked::after, .mf-chip input:checked::after { content: ""; position: absolute; left: 0.42em; top: 0.2em; width: 0.32em; height: 0.62em; border: solid #fff; border-width: 0 0.14em 0.14em 0; transform: rotate(45deg); }
.mf-chip input:checked::after { left: 0.34em; top: 0.14em; width: 0.26em; height: 0.5em; border-color: var(--c-ink); border-width: 0 0.12em 0.12em 0; }
.mf-check input:focus-visible, .mf-chip input:focus-visible { outline: 0.125em solid var(--c-ink); outline-offset: 0.125em; }
.side-nav__user small { display: block; font-size: 0.75em; font-weight: 400; }
@media (max-width: 769px) {
    .mf-row { grid-template-columns: 1fr; gap: 0.4em; }
    .mf-row input[type="text"], .mf-row input[type="email"] { font-size: 1em; }
    .mtable__sub { flex-direction: column; }
}
.mf-name .badge-req { margin-left: 0; }
.op .mf-perm th, .op .mf-perm td { background: none; }
/* ラジオはフォームの基準どおり(未選択＝淡いグレーの丸、選択中＝濃いグレーに白い点) */
.mf-radio input { appearance: none; position: relative; flex: none; width: 1.25em; height: 1.25em; margin: 0; border-radius: 50%; background: #ebebeb; cursor: pointer; }
.mf-radio input:checked { background: #555; }
.mf-radio input:checked::after { content: ""; position: absolute; inset: 0.375em; border-radius: 50%; background: #fff; }
.mf-radio input:focus-visible { outline: 0.125em solid var(--c-ink); outline-offset: 0.125em; }
.mf-name .badge-req, .badge-req { display: inline-block; padding: 0.125em 0.5em; border-radius: 999em; background: #9B1C1C; color: #fff; font-size: 0.6875em; font-weight: 700; line-height: 1.4; }

/* ===== 旧システムの予約の閲覧（2026-10-30・2027-03-31 まで。消すときはこの節ごと） ===== */
.lr-detail { max-width: 44em; }
.lr-dl { grid-template-columns: 9em 1fr; }
.lr-money-title { margin-top: 1.75em; }
.lr-table .lr-nowrap { white-space: nowrap; }
@media (max-width: 769px) {
    .lr-dl { grid-template-columns: 1fr; gap: 0.125em; }
    .lr-dl dd { margin-bottom: 0.625em; }
}

/* ===== フォームの受信の詳細・返信（2026-11-16） ===== */
.fr-number { font-weight: 700; }
.fr-status { white-space: nowrap; }
.fr-status--open { background: #1a1a1a; color: #fff; }
.fr-status--replied { background: var(--c-brand); color: var(--c-on-brand); }
.fr-status--dismissed { background: #F4F4F5; color: #71717A; }
.fr-detail { max-width: 52em; }
.fr-state { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75em; margin: -1em 0 2.5em; }
.fr-dl { grid-template-columns: 9em 1fr; }
.fr-subtitle { margin: 1.75em 0 0.5em; font-size: 0.9375em; color: #1a1a1a; }
.fr-message { margin: 0; white-space: pre-line; overflow-wrap: anywhere; font-size: 0.9375em; line-height: 1.8; color: #1A1A1A; }
.fr-reply + .fr-reply { margin-top: 1.25em; padding-top: 1.25em; border-top: 0.0625em solid #eee; }
.fr-reply__meta { margin: 0 0 0.25em; font-size: 0.75em; color: #1A1A1A; }
.fr-reply__subject { margin: 0 0 0.5em; font-size: 0.9375em; color: #1a1a1a; }
.fr-label { display: block; margin-bottom: 0.5em; font-size: 0.8125em; font-weight: 500; color: #3F3F46; }
.fr-to { margin: 0; font-size: 0.9375em; color: #1A1A1A; overflow-wrap: anywhere; }
.op .fr-check { display: inline-flex; align-items: center; gap: 0.5em; margin: 0; font-size: 0.875em; font-weight: 400; color: #1A1A1A; }
.fr-form .btn[disabled] { opacity: 0.6; cursor: default; }
@media (max-width: 599px) {
    .fr-dl { grid-template-columns: 1fr; gap: 0.125em; }
    .fr-dl dd { margin-bottom: 0.625em; }
    .fr-form input[type="text"], .fr-form textarea { font-size: 1em; }
}
