/* ご予約ブロック（フロント）。予約ページ /yoyaku/ と同じ見た目・動作。
   .musubiya-booking-block 配下にスコープして、記事本文（.entry-content）へ漏れないようにする。 */

/* 国旗絵文字フォント（Windows等 標準では国旗が「JP」等の英字になる環境でも国旗を表示するため）。
   unicode-range を国旗の文字コード（Regional Indicator Symbols）だけに限定するので、
   通常の文字の表示には一切影響しない。国籍セレクトにだけこのフォントを先頭指定する。 */
@font-face {
	font-family: 'Twemoji Country Flags';
	src: url(../../assets/fonts/TwemojiCountryFlags.woff2) format('woff2');
	unicode-range: U+1F1E6-1F1FF;
	font-display: swap;
}
.musubiya-booking-block #bk-nationality,
.musubiya-booking-block #bk-nationality option {
	font-family: 'Twemoji Country Flags', 'Noto Sans JP', sans-serif;
}

/* 本文列(46rem)を突き抜けて全幅表示（セクション/ヒーローブロックと同じ流儀）。
   .entry-content の行間・文字色を打ち消してサイト基準に戻す。 */
.entry-content .musubiya-booking-block {
	width: 100vw;
	max-width: none;
	position: relative;
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	line-height: 1.5;
	font-size: 1rem;
	color: rgb(62 51 45);
	font-family: 'Noto Sans JP', sans-serif;
}

.musubiya-booking-block .bk-card { background:#fff;border:1px solid rgba(196,176,150,.45);border-radius:14px;padding:26px 26px;margin-bottom:26px; }
/* 検索欄はカレンダーと同じ枠の中の「上段」。枠は持たず、区切り線だけで分ける。
   別々の枠に戻す場合は style.css.bak-onecard 参照。 */
.musubiya-booking-block #bk-search { margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid rgba(196,176,150,.5); }
.musubiya-booking-block .bk-testbar { background:#fff8e5;border:1px solid #eed49a;color:#8a6100;border-radius:10px;padding:12px 16px;font-size:14px;line-height:1.7;margin-bottom:22px; }
.musubiya-booking-block .bk-fields { display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap; }
.musubiya-booking-block #bk-search .bk-field { margin-top:0; }
.musubiya-booking-block .bk-field { display:flex;flex-direction:column;gap:6px;flex:1;min-width:150px;position:relative;margin-top:20px; }
/* 人数欄は「大人（18歳以上）」「乳幼児（0〜2歳）」など見出しが長いので、
   見出しを折り返さない幅を確保する（4区分が横に並ぶ）。 */
.musubiya-booking-block .bk-field-guests { flex:0 0 auto;min-width:118px; }
.musubiya-booking-block .bk-field-guests label { white-space:nowrap;font-size:.9375rem; }
.musubiya-booking-block .bk-field-guests select { min-width:118px; }

/* パソコン幅では、日付2つ＋人数4つが1行に収まるよう、
   検索欄とカレンダーをまとめた枠を本文の幅（880px）より広げる。
   .container-narrow 自体は他のセクションでも使うため触らない。 */
@media (min-width:1024px) {
	.musubiya-booking-block #bk-cal {
		/* 本文の幅（880px）より広げつつ、左右の余白が必ず等しくなるようにする。
		   margin-left:50% で左端を親の中央に置き、自分の幅の半分だけ戻す。
		   親が中央寄せなので、画面のどの幅でも中央に来る。 */
		width: min(1160px, calc(100vw - 48px));
		margin-left: 50%;
		transform: translateX(-50%);
	}
	.musubiya-booking-block .bk-fields { gap:12px; }
	.musubiya-booking-block #bk-search .bk-field:not(.bk-field-guests) { min-width:140px; }
}
.musubiya-booking-block .bk-field label { font-size:1rem;font-weight:500;color:#1E3A5F;letter-spacing:.05em; }
.musubiya-booking-block .bk-field input,
.musubiya-booking-block .bk-field select,
.musubiya-booking-block .bk-field textarea { border:1px solid #d7cfc2;border-radius:8px;padding:11px 12px;font-size:1.1rem;min-height:48px;background:#fff;color:#3E332D;width:100%;box-sizing:border-box; }
.musubiya-booking-block .bk-field textarea { min-height:90px; }
.musubiya-booking-block .bk-field input:focus,
.musubiya-booking-block .bk-field select:focus,
.musubiya-booking-block .bk-field textarea:focus { outline:none;border-color:#DB4F11;box-shadow:0 0 0 2px rgba(219,79,17,.14); }
.musubiya-booking-block .bk-btn { background:#DB4F11;color:#fff;border:0;border-radius:8px;min-height:48px;padding:0 26px;font-size:15px;font-weight:700;letter-spacing:.12em;cursor:pointer;transition:background .2s;flex:0 0 auto; }
.musubiya-booking-block #bk-searchbtn { font-size:1.1rem;padding:0 20px; }
.musubiya-booking-block .bk-btn:hover { background:#c04007; }
.musubiya-booking-block .bk-btn:disabled { opacity:.6;cursor:default; }
.musubiya-booking-block .bk-btn-big { width:100%;min-height:54px;margin-top:16px; }
.musubiya-booking-block #bk-submit { font-size:1.2rem; }
.musubiya-booking-block .bk-h2 { font-family:'Noto Sans JP',sans-serif;font-size:1.35rem;color:#1E3A5F;margin:30px 0 16px; }
.musubiya-booking-block .bk-h3 { font-family:'Noto Sans JP',sans-serif;font-size:1.05rem;color:#1E3A5F;margin:24px 0 10px;padding-top:18px;border-top:1px solid rgba(196,176,150,.35); }
.musubiya-booking-block #bk-pay-title { border-top:0;padding-top:0; }
.musubiya-booking-block #bk-customer-title { border-top:0;padding-top:0; }
.musubiya-booking-block .bk-room { display:flex;gap:18px;background:#fff;border:1px solid rgba(196,176,150,.45);border-radius:14px;padding:16px;margin-bottom:14px;align-items:flex-start; }
.musubiya-booking-block .bk-room-img { width:150px;height:104px;object-fit:cover;border-radius:10px;flex:0 0 auto;background:#efe9df;cursor:pointer; }
.musubiya-booking-block .bk-room-main { flex:1;min-width:0; }
.musubiya-booking-block .bk-room-name { font-family:inherit;font-size:1.3rem;font-weight:500;color:#1E3A5F;margin:0 0 10px;display:flex;align-items:baseline;gap:10px; }
.musubiya-booking-block .bk-room-cap { font-size:1rem;color:#8a8078;font-weight:400; }
.musubiya-booking-block .bk-room-na { font-size:14px;color:#a03329; }
.musubiya-booking-block .bk-room-na-title { display:inline-block;font-size:1.1rem;font-weight:700;margin-bottom:2px;color:#3e3e3e; }
.musubiya-booking-block .bk-room-na-detail { font-size:14px;color:#3e3e3e; }
.musubiya-booking-block .bk-room.is-na { opacity:.6; }
/* 宿泊プラン（部屋カード内に一覧表示。各プランに予約ボタン） */
.musubiya-booking-block .bk-room-plans { display:flex;flex-direction:column;gap:10px; }
.musubiya-booking-block .bk-plan { display:flex;flex-direction:column;border:1px solid rgba(196,176,150,.55);border-radius:12px;padding:12px 14px;background:#fdfaf5; }
.musubiya-booking-block .bk-plan-head { display:flex;align-items:center;gap:16px; }
.musubiya-booking-block .bk-plan-name { font-size:15.5px;font-weight:700;color:#1E3A5F; }
/* トグル(プラン詳細)が無いプランは name が直下の span なので、これに flex:1 を与えて
   価格・ボタンを右寄せにする（トグルありは .bk-plan-toggle 側で既に flex:1 済み）。 */
.musubiya-booking-block .bk-plan-head > .bk-plan-name { flex:1;min-width:0; }
.musubiya-booking-block .bk-plan-toggle { flex:1;min-width:0;display:inline-flex;align-items:center;gap:7px;background:none;border:0;padding:0;margin:0;cursor:pointer;text-align:left;font:inherit;color:inherit; }
.musubiya-booking-block .bk-plan-toggle:hover .bk-plan-name { color:#DB4F11; }
.musubiya-booking-block .bk-plan-caret { width:6px;height:6px;flex:0 0 auto;border:solid #8a8078;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg);transition:transform .2s,border-color .15s; }
.musubiya-booking-block .bk-plan-toggle:hover .bk-plan-caret { border-color:#DB4F11; }
.musubiya-booking-block .bk-plan.is-open .bk-plan-caret { transform:translateY(0) rotate(-135deg); }
.musubiya-booking-block .bk-plan-price { flex:0 0 auto;text-align:right;display:flex;flex-direction:column;gap:2px; }
/* セール中バッジは割引後の金額のすぐ左に置く（金額と縦位置をそろえる）。 */
.musubiya-booking-block .bk-plan-price-main { display:flex;align-items:center;justify-content:flex-end;gap:8px; }
.musubiya-booking-block .bk-plan-price strong { color:#DB4F11;font-size:19px;font-weight:800; }
.musubiya-booking-block .bk-plan-avg { font-size:14px;color:#8a8078; }
.musubiya-booking-block .bk-plan-btn { flex:0 0 auto;min-height:44px;padding:0 20px;font-size:14px; }
/* アコーディオンの中身＝プラン説明＋バッジ＋キャンセル条件の注記。
   改行をそのまま出す指定（white-space:pre-line）は説明文だけに当てる。
   中身全体に当てるとタグの間の改行まで空行として出てしまうため。 */
.musubiya-booking-block .bk-plan-detail { margin-top:10px;padding-top:10px;border-top:1px dashed rgba(196,176,150,.6);font-size:14px;color:#6b6258;line-height:1.8; }
.musubiya-booking-block .bk-plan-desc { white-space:pre-line; }
.musubiya-booking-block .bk-plan-detail > *:first-child { margin-top:0; }
/* プランのバッジ（キャンセル不可・早割）と注記 */
.musubiya-booking-block .bk-plan-badges { display:flex;flex-wrap:wrap;gap:6px;margin-top:8px; }
.musubiya-booking-block .bk-plan-badge { display:inline-block;font-size:14px;font-weight:700;line-height:1;padding:5px 9px;border-radius:999px;white-space:nowrap; }
.musubiya-booking-block .bk-plan-badge-nocancel { color:#a03329;background:#fdf1f0;border:1px solid #f0c9c5; }
.musubiya-booking-block .bk-plan-badge-early { color:#1f7a44;background:#eaf7ef;border:1px solid #bfe4cd; }
.musubiya-booking-block .bk-plan-badge-sale { color:#fff;background:#DB4F11;border:1px solid #DB4F11; }
.musubiya-booking-block .bk-plan-price-orig { font-size:14px;color:#a89f95;text-decoration:line-through; }
.musubiya-booking-block .bk-plan-note { margin:6px 0 0;font-size:14px;line-height:1.7; }
.musubiya-booking-block .bk-plan-note-nocancel { color:#a03329; }
.musubiya-booking-block .bk-plan-badge-cfree { color:#1f6f8b;background:#eaf4f8;border:1px solid #c2dfea; }
.musubiya-booking-block .bk-plan-badge-minstay { color:#7a5a1f;background:#fbf3e2;border:1px solid #e8d5ab; }
.musubiya-booking-block .bk-plan-note-cfree { color:#1f6f8b; }
.musubiya-booking-block .bk-plan-cxlines { margin:4px 0 0; padding-left:1.2em; list-style:disc; font-size:14px; }
.musubiya-booking-block .bk-plan-cxlines li { font-size:14px; }
.musubiya-booking-block .bk-plan-note-minstay { color:#7a5a1f; }
.musubiya-booking-block .bk-error { color:#a03329;font-size:14px;background:#fdf1f0;border:1px solid #f0c9c5;border-radius:8px;padding:10px 14px;margin:12px 0 0; }
.musubiya-booking-block .bk-summary { background:#FDF3EE;border:1px solid #F3D5C6;border-radius:10px;padding:14px 16px;font-size:1rem;line-height:1.9;margin-top:20px;margin-bottom:18px; }
.musubiya-booking-block .bk-summary strong { color:#DB4F11;font-size:1.2rem;line-height:1; }
.musubiya-booking-block .bk-req { background:#DB4F11;color:#fff;font-size:14px;border-radius:4px;padding:1px 7px;margin-left:6px;font-weight:700; }
.musubiya-booking-block .bk-paybox { background:#f6f4ef;border-radius:10px;padding:16px;display:flex;flex-direction:column; }
.musubiya-booking-block .bk-paybox > .bk-field:first-child { margin-top:0; }
.musubiya-booking-block .bk-paybox .bk-field input { background:#fff; }
.musubiya-booking-block .bk-paytest { font-size:14px;color:#8a6100;background:#fff8e5;border:1px solid #eed49a;border-radius:8px;padding:10px 12px;line-height:1.8;margin:0; }
.musubiya-booking-block .bk-payrow { display:flex;gap:12px; }
.musubiya-booking-block .bk-payrow .bk-field { min-width:120px; }
/* キャンセルポリシー */
.musubiya-booking-block .bk-cancel { background:#faf7f1;border:1px solid rgba(196,176,150,.5);border-radius:10px;padding:14px 16px;margin-top:18px; }
.musubiya-booking-block .bk-cancel-title { font-weight:700;font-size:1rem;color:#1E3A5F;margin:0 0 6px; }
.musubiya-booking-block .bk-cancel-lead { font-size:14px;color:#3e3e3e;line-height:1.9;margin:0; }
.musubiya-booking-block .bk-cancel-lead strong { color:#DB4F11; }
.musubiya-booking-block .bk-cancel-list { font-size:14px;color:#6b6258;line-height:1.8;margin:8px 0 0;padding-left:1.2em; }
.musubiya-booking-block .bk-cancel-list li { margin:0; }
/* 複数のお部屋で、プランごとにキャンセル条件が違うときの「お部屋ごと」の区切り */
.musubiya-booking-block .bk-cancel-room + .bk-cancel-room { margin-top:12px;padding-top:12px;border-top:1px dashed rgba(196,176,150,.6); }
.musubiya-booking-block .bk-cancel-room-name { font-size:14px;font-weight:700;color:#3c3630;line-height:1.7;margin:0 0 4px; }
.musubiya-booking-block .bk-privacy { font-size:14px;color:#8a8078;margin:14px 0 0; }
.musubiya-booking-block .bk-privacy a,
.musubiya-booking-block .bk-notes a { color:#DB4F11;text-decoration:underline;text-underline-offset:2px; }
.musubiya-booking-block .bk-back { display:block;margin:14px auto 0;background:none;border:0;color:#8a8078;font-size:14px;cursor:pointer;text-decoration:underline;text-underline-offset:2px; }
.musubiya-booking-block .bk-back:disabled { color:#b3aca2;cursor:not-allowed;text-decoration:none; }
.musubiya-booking-block .bk-done { text-align:center; }
.musubiya-booking-block .bk-done-icon { width:56px;height:56px;border-radius:50%;background:#e8f7ee;color:#1a7a3c;font-size:28px;display:flex;align-items:center;justify-content:center;margin:0 auto 14px; }
.musubiya-booking-block .bk-done p { font-size:14px;line-height:2;color:#3E332D; }
.musubiya-booking-block .bk-done-num { color:#8a8078;font-size:14px;white-space:pre-line; }
/* 完了画面の予約番号（ご予約確認ページへのログインやお問い合わせに使う番号なので、いちばん目立たせる）。
   受付番号（内部の連番）は小さく2行目に添える。 */
.musubiya-booking-block .bk-done-codes { max-width:440px;margin:4px auto 14px;padding:14px 16px;background:#fdfaf5;border:1px solid rgba(196,176,150,.7);border-radius:12px; }
.musubiya-booking-block .bk-done-codes[hidden] { display:none; }
.musubiya-booking-block .bk-done .bk-done-code { margin:0;font-size:15px;line-height:1.6;color:#1E3A5F; }
.musubiya-booking-block .bk-done .bk-done-code strong { font-size:1.5rem;font-weight:700;letter-spacing:.06em;font-variant-numeric:tabular-nums;white-space:nowrap; }
.musubiya-booking-block .bk-done .bk-done-code-sub { margin:2px 0 0;font-size:14px;line-height:1.6;color:#8a8078; }
.musubiya-booking-block .bk-done-code-row + .bk-done-code-row { margin-top:10px;padding-top:10px;border-top:1px dashed rgba(196,176,150,.6); }
.musubiya-booking-block .bk-done .bk-done-code-room { margin:0;font-size:15px;font-weight:700;line-height:1.6;color:#3c3630; }
.musubiya-booking-block .bk-done .bk-done-codes-note { margin:12px 0 0;font-size:14px;line-height:1.7;color:#5c534b; }
.musubiya-booking-block .bk-notes { font-size:14px;color:#8a8078;line-height:2;margin-top:8px; }

/* 空き状況カレンダー */
.musubiya-booking-block .bk-cal-top { display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:14px; }
.musubiya-booking-block .bk-cal-nav { display:flex;align-items:center;gap:6px; }
.musubiya-booking-block .bk-cal-arrow { width:38px;height:38px;border:1px solid #d7cfc2;background:#fff;border-radius:8px;color:#1E3A5F;cursor:pointer;flex:0 0 auto;display:flex;align-items:center;justify-content:center;padding:0; }
.musubiya-booking-block .bk-cal-arrow:hover:not(:disabled) { border-color:#DB4F11;color:#DB4F11; }
.musubiya-booking-block .bk-cal-arrow:disabled { opacity:.35;cursor:default; }
/* ‹ › は文字ではなくCSSで描画（枠線の角を回転させたシェブロン） */
.musubiya-booking-block .bk-cal-arrow::before { content:'';display:block;width:8px;height:8px;border-style:solid;border-color:currentColor;border-width:0 2px 2px 0; }
.musubiya-booking-block .bk-cal-arrow-prev::before { transform:rotate(135deg);margin-left:3px; }
.musubiya-booking-block .bk-cal-arrow-next::before { transform:rotate(-45deg);margin-right:3px; }
.musubiya-booking-block .bk-cal-title { min-width:120px;text-align:center;font-family:inherit;font-weight:500;font-size:1.3rem;color:#1E3A5F; }
/* カレンダー関連の見出しは本文と同じ書体（明朝ではなくゴシック） */
.musubiya-booking-block .bk-cal .bk-h2,
.musubiya-booking-block #bk-results-title { font-family:inherit; }
/* 「空室カレンダー」の見出しは、同じ枠の中にある「チェックイン」などの
   項目名（.bk-field label＝1rem）と同じ大きさにそろえる。 */
.musubiya-booking-block .bk-cal .bk-h2 { font-size:1rem; }
/* 客室の絞り込みボタン。パソコン幅では「空室カレンダー」の右に並べ、
   右端の月送り（‹ 2026年8月 ›）との間は余白で空ける。
   HTMLの並びは 見出し→月送り→絞り込み なので order で見た目の順番を作る。
   元に戻す場合は style.css.bak-caltabs 参照。 */
.musubiya-booking-block .bk-cal-top > .bk-h2 { order:1; }
.musubiya-booking-block .bk-cal-top .bk-cal-tabs { order:2;flex:1 1 240px;min-width:0;margin-bottom:0; }
.musubiya-booking-block .bk-cal-nav { order:3; }
.musubiya-booking-block .bk-cal-tabs { display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px; }
.musubiya-booking-block .bk-cal-tab { border:1px solid #d7cfc2;background:#fff;color:#3E332D;border-radius:999px;padding:7px 16px;font-size:14px;cursor:pointer;transition:all .15s; }
.musubiya-booking-block .bk-cal-tab:hover { border-color:#DB4F11; }
.musubiya-booking-block .bk-cal-tab.is-active { background:#DB4F11;border-color:#DB4F11;color:#fff;font-weight:700; }
/* 検索結果を1客室に絞り込んでいるときの案内。他の客室が隠れていることを伝える。 */
.musubiya-booking-block .bk-filter-note { margin:0 0 14px;padding:10px 14px;border:1px solid #e6ddcd;border-radius:8px;background:#fdfaf4;color:#6b6258;font-size:14px;line-height:1.7; }
.musubiya-booking-block .bk-cal-grid { display:grid;grid-template-columns:repeat(7,minmax(54px,1fr));gap:4px;overflow-x:auto; }
.musubiya-booking-block .bk-cal-wd { text-align:center;font-size:14px;font-weight:600;color:#8a8078;padding:4px 0; }
.musubiya-booking-block .bk-cal-wd.is-sun { color:#c0392b; }
.musubiya-booking-block .bk-cal-wd.is-sat { color:#2a6ab0; }
.musubiya-booking-block .bk-cal-cell { border:1px solid #ece6db;border-radius:8px;min-height:66px;padding:8px 1px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(4px,1.4vw,8px);background:#fff;overflow:hidden; }
.musubiya-booking-block .bk-cal-cell.is-empty { border:0;background:transparent;min-height:0; }
/* 幅が狭いときは文字サイズを自動で縮めて枠内に収める（clampの中央値=vw連動、上限=元サイズ） */
.musubiya-booking-block .bk-cal-day { font-size:clamp(14px,2.9vw,1.1rem);color:#3E332D;line-height:1; }
/* ○/×/− は文字ではなくCSSで描画。位置合わせ用の箱に対し、状態ごとに ::before/::after で形を作る */
.musubiya-booking-block .bk-cal-mark { position:relative;width:clamp(0.85rem,2.9vw,1.1rem);height:clamp(0.85rem,2.9vw,1.1rem);line-height:1; }
.musubiya-booking-block .bk-cal-price { font-size:14px;letter-spacing:-.03em;line-height:1;font-weight:600;color:#9a7b4f;white-space:nowrap; }
.musubiya-booking-block .bk-cal-cell.is-ok { cursor:pointer; }
.musubiya-booking-block .bk-cal-cell.is-ok .bk-cal-mark { color:#1a9c5b; }
.musubiya-booking-block .bk-cal-cell.is-ok .bk-cal-mark::before { content:'';position:absolute;inset:1px;border:2px solid currentColor;border-radius:50%; }
.musubiya-booking-block .bk-cal-cell.is-ok:hover { border-color:#DB4F11;background:#fff7f2; }
.musubiya-booking-block .bk-cal-cell.is-full { background:#f7f4f0; }
.musubiya-booking-block .bk-cal-cell.is-full .bk-cal-mark { color:#c0392b; }
.musubiya-booking-block .bk-cal-cell.is-full .bk-cal-mark::before,
.musubiya-booking-block .bk-cal-cell.is-full .bk-cal-mark::after { content:'';position:absolute;top:50%;left:50%;width:100%;height:2px;background:currentColor; }
.musubiya-booking-block .bk-cal-cell.is-full .bk-cal-mark::before { transform:translate(-50%,-50%) rotate(45deg); }
.musubiya-booking-block .bk-cal-cell.is-full .bk-cal-mark::after { transform:translate(-50%,-50%) rotate(-45deg); }
.musubiya-booking-block .bk-cal-cell.is-closed .bk-cal-mark::before,
.musubiya-booking-block .bk-cal-cell.is-na .bk-cal-mark::before,
.musubiya-booking-block .bk-cal-cell.is-past .bk-cal-mark::before { content:'';position:absolute;top:50%;left:50%;width:70%;height:2px;background:currentColor;transform:translate(-50%,-50%); }
.musubiya-booking-block .bk-cal-cell.is-full .bk-cal-day,
.musubiya-booking-block .bk-cal-cell.is-closed .bk-cal-day,
.musubiya-booking-block .bk-cal-cell.is-na .bk-cal-day,
.musubiya-booking-block .bk-cal-cell.is-past .bk-cal-day { color:#b3aca2; }
.musubiya-booking-block .bk-cal-cell.is-closed .bk-cal-mark,
.musubiya-booking-block .bk-cal-cell.is-na .bk-cal-mark,
.musubiya-booking-block .bk-cal-cell.is-past .bk-cal-mark { color:#c9c2b7; }
.musubiya-booking-block .bk-cal-cell.is-closed,
.musubiya-booking-block .bk-cal-cell.is-na,
.musubiya-booking-block .bk-cal-cell.is-past { background:#f7f4f0; }
.musubiya-booking-block .bk-cal-cell.is-sel { border-color:#DB4F11;background:#DB4F11; }
.musubiya-booking-block .bk-cal-cell.is-sel .bk-cal-day,
.musubiya-booking-block .bk-cal-cell.is-sel .bk-cal-mark,
.musubiya-booking-block .bk-cal-cell.is-sel .bk-cal-price { color:#fff; }
/* 満室（×）でも「チェックアウト日としてなら選べる」日。押せることが分かるようにする。 */
.musubiya-booking-block .bk-cal-cell.is-coout { cursor:pointer; }
.musubiya-booking-block .bk-cal-cell.is-coout:hover { background:#fff7f2; }
/* 選択中の日にマウスを乗せても、オレンジの背景のままにする（白背景＋白文字で読めなくなるのを防ぐ）。 */
.musubiya-booking-block .bk-cal-cell.is-ok.is-sel:hover { border-color:#c04409;background:#c04409; }
.musubiya-booking-block .bk-cal-cell.is-full .bk-cal-price { color:#b3a99a; }
.musubiya-booking-block .bk-cal-legend { font-size:14px;color:#8a8078;margin:16px 0 0;display:flex;align-items:center;flex-wrap:wrap; }
.musubiya-booking-block .bk-cal-key { font-weight:700;margin:0 4px 0 12px; }
.musubiya-booking-block .bk-cal-key:first-child { margin-left:0; }
.musubiya-booking-block .bk-cal-key-ok { color:#1a9c5b; }
.musubiya-booking-block .bk-cal-key-full { color:#c0392b; }
.musubiya-booking-block .bk-cal-key-closed { color:#c9c2b7; }
.musubiya-booking-block .bk-cal-hint { font-size:14px;color:#8a8078;line-height:1.8;margin:8px 0 0; }
/* カレンダーの下の「この日程で検索」。選んだ日程を左に、ボタンを右に置く。
   日程がそろうまでボタンは押せない（disabled）。 */
.musubiya-booking-block .bk-cal-search { display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid rgba(196,176,150,.5); }
.musubiya-booking-block .bk-cal-search-dates { font-size:15px;font-weight:700;color:#3c3630;line-height:1.7;margin:0; }
/* 「チェックイン◯日」「チェックアウト◯日」「大人◯名」はそれぞれ途中で折り返さない。 */
.musubiya-booking-block .bk-cal-search-dates span { display:inline-block;white-space:nowrap;margin-right:1em; }
.musubiya-booking-block .bk-cal-search-dates span:last-child { margin-right:0; }
.musubiya-booking-block #bk-cal-searchbtn { flex:0 0 auto; }
.musubiya-booking-block #bk-cal-searchbtn:disabled { opacity:.5;cursor:default; }
/* スマホの固定ボタンを止める位置の基準（検索欄〜注意書きを包む箱。view.js がクラスを付ける）。
   下端の目印（.bk-dock-sentinel）は見えない1pxの点で、画面に入ったかどうかの判定だけに使う。
   横位置は中央（左端だと、全幅表示のずれで画面の外に出て判定できないことがあるため）。 */
.musubiya-booking-block .bk-dock-area { position:relative; }
.musubiya-booking-block .bk-dock-sentinel { position:absolute;left:50%;bottom:0;width:1px;height:1px;pointer-events:none; }

@media(max-width:640px){
	.musubiya-booking-block .bk-card { padding:18px 16px; }
	.musubiya-booking-block .bk-fields { flex-direction:column;align-items:stretch; }
	.musubiya-booking-block .bk-field-guests { flex:1; }
	.musubiya-booking-block .bk-btn { width:100%; }
	/* スマホでは「この条件で検索」を画面下部に固定して、いつでも押せるようにする。
	   検索が済んだら隠し（is-searched）、日程・人数を変えるとまた出る（view.js が付け外し）。 */
	.musubiya-booking-block #bk-cal-searchbtn {
		position:fixed;left:12px;right:12px;bottom:12px;width:auto;z-index:80;
		box-shadow:0 6px 20px rgba(62,51,45,.28);
	}
	/* 固定ボタンが本文の最後に重ならないよう、その高さぶん下に余白を作る。 */
	.musubiya-booking-block { padding-bottom:72px; }
	.musubiya-booking-block.is-searched #bk-cal-searchbtn { display:none; }
	.musubiya-booking-block.is-searched { padding-bottom:0; }
	/* 固定ボタンは注意書き（「・お急ぎの場合は…」）の下で止める（フッターまではついていかない）。
	   view.js が検索欄〜注意書きを包む箱に .bk-dock-area を付け、その箱の下端が画面に入ったら
	   ルートに .is-dock を付ける。そのときだけボタンを箱の下端（下から12px）に置く。
	   余白（72px）もブロック全体ではなく、この箱の中（注意書きのすぐ下）に作る。 */
	.musubiya-booking-block.has-dock { padding-bottom:0; }
	.musubiya-booking-block.has-dock .bk-dock-area { padding-bottom:72px; }
	.musubiya-booking-block.has-dock.is-searched .bk-dock-area { padding-bottom:0; }
	.musubiya-booking-block.is-dock #bk-cal-searchbtn { position:absolute; }
	/* 押せないときも下の文字が透けないよう、薄さ（opacity）ではなく色で表す。 */
	.musubiya-booking-block #bk-cal-searchbtn:disabled { opacity:1;background:#c7bcb0;color:#fff; }
	.musubiya-booking-block .bk-room { flex-direction:column;align-items:stretch; }
	.musubiya-booking-block .bk-room-img { width:100%;height:170px; }
	.musubiya-booking-block .bk-room-btn { width:100%; }
	.musubiya-booking-block .bk-plan-head { flex-wrap:wrap;gap:8px 12px; }
	.musubiya-booking-block .bk-plan-toggle,
	.musubiya-booking-block .bk-plan-head > .bk-plan-name { flex:1 1 100%; }
	/* 合計金額と「◯泊合計・1泊あたり ¥…」は横並び。入りきらないときは折り返して
	   カードからはみ出さないようにする（補足は途中で切らず、まとまりごと次の行へ）。 */
	.musubiya-booking-block .bk-plan-price { text-align:left;flex-direction:row;align-items:baseline;gap:4px 8px;flex-wrap:wrap;max-width:100%; }
	/* スマホ幅は左寄せ。バッジと金額は一組で折り返す。 */
	.musubiya-booking-block .bk-plan-price-main { justify-content:flex-start;flex:0 0 auto; }
	.musubiya-booking-block .bk-plan-avg { white-space:nowrap; }
	/* 部屋名と「定員 ◯名」は縦に並べる（横だと部屋名が途中で折り返して読みにくいため）。 */
	.musubiya-booking-block .bk-room-name { flex-direction:column;align-items:flex-start;gap:2px; }
	.musubiya-booking-block .bk-plan-btn { width:100%; }
	.musubiya-booking-block .bk-payrow { flex-direction:column;gap:12px; }
	/* 文字を14px以上にしてもマスに収まるよう、カレンダーのカードだけ左右余白を詰める */
	.musubiya-booking-block .bk-cal { margin-left:-14px;margin-right:-14px;padding-left:6px;padding-right:6px; }
	.musubiya-booking-block .bk-cal-top,
	.musubiya-booking-block .bk-cal-tabs,
	.musubiya-booking-block .bk-cal-legend,
	.musubiya-booking-block .bk-cal-hint,
	.musubiya-booking-block .bk-cal-limit,
	.musubiya-booking-block .bk-cal > .bk-h2 { padding-left:8px;padding-right:8px; }
	/* スマホでは料金を出さず、日付と○×だけにする。
	   料金（¥13,000 など）は1マスに収まりきらず、カレンダー全体が横にはみ出す原因になるため。
	   料金は日付を選んだあとのプラン一覧で確認できる。 */
	.musubiya-booking-block .bk-cal-price { display:none; }
	/* スマホでは「◯年◯月」と ‹ › が見出しの下の行に折り返るので、その行の中で左右中央に置く。 */
	.musubiya-booking-block .bk-cal-nav { width:100%;justify-content:center;order:2; }
	/* 絞り込みボタンは、見出し・月送りのさらに下の行にまとめて置く（これまでと同じ並び）。 */
	.musubiya-booking-block .bk-cal-top .bk-cal-tabs { order:3;flex:0 0 100%; }
	/* 7列を必ず画面幅に収める（最小幅を外し、横スクロールも起こさない）。 */
	.musubiya-booking-block .bk-cal-grid { gap:3px;grid-template-columns:repeat(7,minmax(0,1fr));overflow-x:visible; }
	.musubiya-booking-block .bk-cal-cell { min-height:52px;border-radius:6px;padding:7px 0;gap:5px; }
	.musubiya-booking-block .bk-cal-tab { padding:6px 11px;font-size:14px; }
}

/* オプション（朝食など）。他の項目（.bk-field）と同じ見た目に揃える。 */
.musubiya-booking-block .bk-options { margin-top:20px; }
.musubiya-booking-block .bk-opt-title { margin:0 0 10px; font-size:1rem; font-weight:500; color:#1E3A5F; letter-spacing:.05em; }
.musubiya-booking-block .bk-opt-group + .bk-opt-group { margin-top:16px; border-top:1px solid #d7cfc2; padding-top:12px; }
.musubiya-booking-block .bk-opt-head { display:flex; align-items:center; gap:8px; margin-bottom:2px; }
.musubiya-booking-block .bk-opt-thumb { width:40px; height:40px; object-fit:cover; border-radius:6px; flex:0 0 auto; }
.musubiya-booking-block .bk-opt-name { font-size:1.05rem; color:#3E332D; font-weight:500; }
.musubiya-booking-block .bk-opt-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; }
.musubiya-booking-block .bk-opt-row + .bk-opt-row { border-top:1px solid #efe9de; }
.musubiya-booking-block .bk-opt-label { font-size:1.05rem; color:#3E332D; }
.musubiya-booking-block .bk-opt-price { color:#8a8172; font-size:14px; }
.musubiya-booking-block .bk-opt-select { min-width:88px; border:1px solid #d7cfc2; border-radius:8px; padding:11px 12px; font-size:1.1rem; min-height:48px; background:#fff; color:#3E332D; box-sizing:border-box; }
.musubiya-booking-block .bk-opt-select:focus { outline:none; border-color:#DB4F11; box-shadow:0 0 0 2px rgba(219,79,17,.14); }

/* ===== 複数のお部屋に分けてのご予約 ===== */
/* 1部屋では収まらないご人数のときだけ出る。1部屋のご予約の見た目には影響しない。 */
.musubiya-booking-block .bk-multi-lead { border:1px solid #DB4F11;background:#fff6f1;border-radius:12px;padding:14px 16px;margin-bottom:14px; }
.musubiya-booking-block .bk-multi-lead-title { font-size:16px;font-weight:700;color:#a83d0d;line-height:1.7;margin:0; }
.musubiya-booking-block .bk-multi-lead-text { font-size:14px;color:#5c534b;line-height:1.9;margin:6px 0 0; }
/* 「複数のお部屋に分けて」への入口と、元の表示に戻すボタン。
   1部屋で足りるご人数のときに出す案内なので、枠は控えめにする。 */
.musubiya-booking-block .bk-multi-offer { border:1px solid rgba(196,176,150,.9);background:#fffaf5;border-radius:12px;padding:14px 16px;margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap; }
.musubiya-booking-block .bk-multi-offer-text { font-size:14px;color:#5c534b;line-height:1.9;margin:0; }
.musubiya-booking-block .bk-multi-switch { flex:0 0 auto; }
.musubiya-booking-block .bk-multi-lead .bk-multi-switch { margin-top:10px; }

/* 複数部屋モードの追加UI。プラン行は通常検索とまったく同じ（.bk-plan）なので、
   ここでは「ご人数」セレクトまわりの控えめな見た目だけを決める。 */
.musubiya-booking-block .bk-multi-row { display:block; }
.musubiya-booking-block .bk-multi-guests { display:flex;flex-wrap:wrap;align-items:flex-end;gap:6px 14px;margin:0 0 10px; }
.musubiya-booking-block .bk-multi-field { display:flex;flex-direction:column;gap:4px;font-size:14px;color:#8a8078;min-width:0; }
.musubiya-booking-block .bk-multi-field select { font-size:14px;min-height:44px;padding:0 10px;border:1px solid rgba(196,176,150,.7);border-radius:8px;background:#fff;color:#3e3e3e;max-width:100%; }
.musubiya-booking-block .bk-multi-rowunits { font-size:14px;color:#8a8078;line-height:1.7;margin:0 0 6px; }
.musubiya-booking-block .bk-multi-rowunits[hidden] { display:none; }
.musubiya-booking-block .bk-multi-none { font-size:14px;color:#8a8078;line-height:1.8;margin:0; }
.musubiya-booking-block .bk-multi-guests[hidden],
.musubiya-booking-block .bk-multi-plans[hidden],
.musubiya-booking-block .bk-multi-none[hidden] { display:none; }
.musubiya-booking-block .bk-multi-rowmsg { font-size:14px;color:#a03329;line-height:1.7;margin:8px 0 0; }
@media (max-width:600px) {
	.musubiya-booking-block .bk-multi-field { width:100%; }
	.musubiya-booking-block .bk-multi-guests { gap:6px; }
}

.musubiya-booking-block .bk-multi-box { border:1px solid rgba(196,176,150,.7);background:#fffdfb;border-radius:14px;padding:16px;margin:0 0 18px; }
.musubiya-booking-block .bk-multi-title { font-size:17px;font-weight:700;color:#3c3630;margin:0 0 10px; }
.musubiya-booking-block .bk-multi-empty { font-size:14px;color:#8a8078;line-height:1.9;margin:0; }
.musubiya-booking-block .bk-multi-list { display:flex;flex-direction:column;gap:10px; }
.musubiya-booking-block .bk-multi-item { border:1px solid rgba(196,176,150,.7);border-radius:12px;padding:12px 14px;background:#fff; }
.musubiya-booking-block .bk-multi-item-name { font-size:16px;font-weight:700;color:#3c3630;margin:0; }
.musubiya-booking-block .bk-multi-item-sub { font-size:14px;color:#5c534b;line-height:1.8;margin:2px 0 0; }
.musubiya-booking-block .bk-multi-item-price { font-size:15px;font-weight:700;color:#3c3630;margin:4px 0 0; }
/* 削除系は左寄せ、実行系は右寄せ（サイト共通のきまり） */
.musubiya-booking-block .bk-multi-item-foot { display:flex;justify-content:flex-start;margin-top:10px; }
.musubiya-booking-block .bk-multi-foot { display:flex;justify-content:flex-end;margin-top:14px; }
.musubiya-booking-block .bk-btn-ghost { background:#fff;color:#8a5a3b;border:1px solid rgba(196,176,150,.9);min-height:44px;padding:0 20px;font-size:14px;font-weight:700; }
.musubiya-booking-block .bk-btn-ghost:hover { background:#f6efe8; }
.musubiya-booking-block .bk-multi-sum { font-size:16px;color:#3c3630;line-height:1.9;margin:12px 0 0;text-align:right; }
.musubiya-booking-block .bk-multi-rest { font-size:15px;color:#a83d0d;line-height:1.9;margin:10px 0 0; }
.musubiya-booking-block .bk-multi-rest.is-over { color:#b3300b; }
@media (max-width:600px) {
	.musubiya-booking-block .bk-multi-foot .bk-btn,
	.musubiya-booking-block .bk-multi-item-foot .bk-btn { width:100%; }
}

/* ===== カード決済（Square）・同意・お支払いの確認中（設計書 5-7：文字は14px以上、色分けは枠全体） ===== */
.musubiya-booking-block .bk-paybox-sq { background:#fff;border:1px solid rgba(196,176,150,.6); }
.musubiya-booking-block .bk-sq-card { min-height:50px; }
/* Square がお知らせ用に空けている行は、お知らせがあるときだけ出す（空のときの余白をなくす） */
.musubiya-booking-block .bk-sq-card .sq-card-message:not(.sq-visible) { display:none; }
.musubiya-booking-block .bk-sq-card .sq-card-message { margin:8px 0 0; }
.musubiya-booking-block .bk-sq-note { font-size:16px;color:#6b6258;line-height:1.8;margin:8px 0 0; }
.musubiya-booking-block .bk-consent { background:#fff;border:1px solid rgba(196,176,150,.7);border-radius:10px;padding:14px 16px;margin-top:18px; }
.musubiya-booking-block .bk-consent.is-err { border:2px solid #c0392b;background:#fdf6f5; }
.musubiya-booking-block .bk-consent label { display:flex;align-items:flex-start;gap:10px;font-size:16px;font-weight:700;color:#3c3630;line-height:1.7;cursor:pointer;margin:0; }
.musubiya-booking-block .bk-consent input[type="checkbox"] { width:22px;height:22px;margin:3px 0 0;flex:0 0 auto;accent-color:#DB4F11;cursor:pointer; }
.musubiya-booking-block .bk-consent a { color:#a83d0d;text-decoration:underline; }
.musubiya-booking-block .bk-consent-policy { margin-top:10px; }
.musubiya-booking-block .bk-consent-policy:empty { display:none; }
.musubiya-booking-block .bk-consent-policy-title { font-size:16px;font-weight:700;color:#1E3A5F;margin:0 0 4px; }
.musubiya-booking-block .bk-consent-list { font-size:16px;color:#3e3e3e;line-height:1.8;margin:4px 0 0;padding-left:1.2em; }
.musubiya-booking-block .bk-consent-list li { margin:0; }
.musubiya-booking-block .bk-consent-room + .bk-consent-room { margin-top:10px; }
.musubiya-booking-block .bk-consent-room-name { font-size:16px;font-weight:700;color:#3c3630;margin:0; }
.musubiya-booking-block .bk-paystatus { font-size:16px;color:#1E3A5F;line-height:1.8;background:#f2f6fb;border:1px solid #b9cbe0;border-radius:8px;padding:12px 14px;margin:12px 0 0; }
.musubiya-booking-block .bk-form-acts { display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:10px; }
.musubiya-booking-block .bk-done-pay { font-size:14px;color:#5c534b;line-height:1.8;margin-top:8px; }
.musubiya-booking-block .bk-done-pay-line { margin:0; }
.musubiya-booking-block .bk-done-pay a { color:#a83d0d;text-decoration:underline; }
.musubiya-booking-block .bk-done-pay-test { display:inline-block;margin:6px 0 0;color:#8a6100;background:#fff8e5;border:1px solid #eed49a;border-radius:8px;padding:6px 12px; }
/* 受付の上限より後の日（チェックイン日を選ぶ段階では選べない「受付前」） */
.musubiya-booking-block .bk-cal-cell.is-f { background:#f7f4f0;border-style:dashed; }
.musubiya-booking-block .bk-cal-cell.is-f .bk-cal-day { color:#b3aca2; }
.musubiya-booking-block .bk-cal-cell.is-f .bk-cal-mark { color:#c9c2b7; }
.musubiya-booking-block .bk-cal-cell.is-f .bk-cal-mark::before { content:'';position:absolute;top:50%;left:50%;width:70%;height:2px;background:currentColor;transform:translate(-50%,-50%); }
.musubiya-booking-block .bk-cal-key-f { color:#c9c2b7; }
.musubiya-booking-block .bk-cal-limit { font-size:14px;color:#5c534b;line-height:1.8;margin:8px 0 0; }
@media (max-width:600px) {
	.musubiya-booking-block .bk-form-acts .bk-btn { width:100%; }
}

/* テスト中の表示（カード決済が始まるまで。2026-11-04） */
.musubiya-booking-block .bk-testbar strong { color:inherit; }
.musubiya-booking-block .bk-testbar a { color:inherit;text-decoration:underline; }
.musubiya-booking-block .bk-testcard-note { background:#fff8e5;border:1px solid #eed49a;color:#8a6100;border-radius:10px;padding:10px 14px;font-size:14px;line-height:1.7;margin:0 0 14px; }

/* 同じメール・同じ日程の確認（2026-11-04） */
.musubiya-booking-block .bk-dup-ov { position:fixed;inset:0;z-index:100000;background:rgba(20,30,50,.5);display:flex;align-items:center;justify-content:center;padding:16px; }
.musubiya-booking-block .bk-dup-modal { background:#fff;border-radius:12px;max-width:480px;width:100%;padding:24px;box-shadow:0 12px 40px rgba(0,0,0,.25);max-height:90vh;overflow:auto; }
.musubiya-booking-block .bk-dup-title { font-size:19px;line-height:1.5;margin:0 0 12px;color:#1f2d3d; }
.musubiya-booking-block .bk-dup-text { font-size:15px;line-height:1.8;margin:0 0 10px;color:#3a3a3a; }
.musubiya-booking-block .bk-dup-btns { display:flex;justify-content:space-between;gap:12px;margin-top:18px;flex-wrap:wrap; }
.musubiya-booking-block .bk-dup-no,.musubiya-booking-block .bk-dup-yes { font-size:15px;line-height:1.4;padding:11px 18px;border-radius:8px;cursor:pointer; }
.musubiya-booking-block .bk-dup-no { background:#fff;border:1px solid #bdb5a6;color:#3a3a3a; }
.musubiya-booking-block .bk-dup-yes { background:#1f2d3d;border:1px solid #1f2d3d;color:#fff;margin-left:auto; }
