/* G HOUSE予約UI：プラグイン内に限定。PC/SPとも画面遷移なし。 */
#gh-booking-demo {
    width: min(1060px, calc(100% - 40px));
    height: min(860px, calc(100dvh - 40px));
    max-width: none;
    max-height: none;
    margin: auto !important;
    padding: 0;
    inset: 0;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #303630;
    box-shadow: 0 20px 100px #0003;
    font: 14px/1.7 'Noto Sans JP', sans-serif;
    overflow: hidden;
}
#gh-booking-demo::backdrop { background: #16191699; backdrop-filter: blur(4px); }
#gh-booking-demo * { box-sizing: border-box; }
#gh-booking-demo button,
#gh-booking-demo input,
#gh-booking-demo select,
#gh-booking-demo textarea { font: inherit; letter-spacing: normal; text-transform: none; box-shadow: none; }
#gh-booking-demo button { cursor: pointer; border-radius: 3px; }
#gh-booking-demo button:disabled { cursor: default; opacity: .4; }
#gh-booking-demo :is(h2, h3, h4, p) { margin: 0; }
#gh-booking-demo :is(button, input, select, textarea, summary, a):focus-visible { outline: 2px solid #8f773f; outline-offset: 3px; }
#gh-booking-demo .gb-shell { height: 100%; display: flex; flex-direction: column; }
#gh-booking-demo .gb-head { display: flex; justify-content: space-between; align-items: center; padding: 13px 28px; border-bottom: 1px solid #e8e9e3; font-size: 22px; letter-spacing: .04em; }
#gh-booking-demo #gb-dialog-title { display: flex; align-items: center; gap: 16px; min-width: 0; }
#gh-booking-demo .gb-brand-logo { display: block; width: 140px; height: auto; margin: 0; flex: 0 0 auto; }
#gh-booking-demo .gb-head small { margin-left: 0; line-height: 1.4; font-size: 12px; color: #6b726a; }
#gh-booking-demo .gb-close { position: relative; display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; min-height: 40px; margin: 0; padding: 0; border: 0; background: none; color: #303630; line-height: 1; }
#gh-booking-demo .gb-close span { position: relative; display: block; width: 20px; height: 20px; }
#gh-booking-demo .gb-close span::before,
#gh-booking-demo .gb-close span::after { content: ""; position: absolute; top: 9px; left: 0; width: 20px; height: 2px; background: currentColor; transform: rotate(45deg); }
#gh-booking-demo .gb-close span::after { transform: rotate(-45deg); }
#gh-booking-demo .gb-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 26px 32px 30px; }
#gh-booking-demo h2 { font-size: 24px; line-height: 1.5; font-weight: 500; letter-spacing: .04em; }
#gh-booking-demo .gb-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
#gh-booking-demo .gb-layout > * { min-width: 0; }
#gh-booking-demo .gb-layout.gb-catalog { display: block; max-width: 620px; margin: auto; }
#gh-booking-demo .gb-section h3 { padding: 9px 0; border-top: 0; border-bottom: 1px solid #e5e8df; margin-bottom: 18px; font-size: 15px; font-weight: 500; }
#gh-booking-demo .gb-section h3 span { color: #9e8859; font-size: 11px; margin-right: 10px; }
#gh-booking-demo h4 { font-size: 13px; font-weight: 500; margin: 17px 0 10px; }
#gh-booking-demo .gb-field { display: block; font-size: 12px; font-weight: 400; margin: 0 0 13px; }
#gh-booking-demo .gb-field > span { display: block; margin-bottom: 5px; }
#gh-booking-demo .gb-field small { color: #8b675e; font-size: 9px; margin-left: 5px; font-weight: 400; }
/* 入力の必須・任意を文字と色で区別する。 */
#gh-booking-demo .gb-field > span > small.gb-badge,
#gh-booking-demo .gb-homes legend small.gb-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-left: 7px;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .03em;
    color: #fff;
    background: #b5444b;
}
#gh-booking-demo .gb-field > span > small.gb-badge--optional { background: #727772; }

#gh-booking-demo :is(input:not([type=radio]), select, textarea) { width: 100%; min-width: 0; max-width: 100%; margin: 0; padding: 9px 11px; min-height: 44px; background: #fff; color: #303630; border: 1px solid #cfd4c9; border-radius: 3px; font-weight: 400; }
/* 選択できることが分かる下向き矢印。ネイティブselectの操作は維持。 */
#gh-booking-demo :is(.gb-field, .gb-ages) select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%235b6557' stroke-width='1.5'/%3E%3C/svg%3E");
    background-position: right 14px center;
    background-repeat: no-repeat;
    background-size: 12px 7px;
}
#gh-booking-demo input::placeholder { color: #a1a59b; }
#gh-booking-demo .gb-hint { display: block; font-size: 10px; color: #858a7f; margin: 8px 0; }
#gh-booking-demo .gb-empty { padding: 18px 14px; border: 1px dashed #d9ddcf; text-align: center; color: #8c9285; font-size: 12px; }
#gh-booking-demo .gb-dates { display: grid; gap: 9px; max-height: none; overflow: visible; padding-right: 0; }
#gh-booking-demo .gb-day { border: 1px solid #e0e4d8; border-radius: 4px; overflow: hidden; }
#gh-booking-demo .gb-day header { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 7px 10px; background: #f6f7f3; }
#gh-booking-demo .gb-day header strong { font-size: 15px; font-weight: 500; }
#gh-booking-demo .gb-day header small { font-size: 10px; font-weight: 400; }
#gh-booking-demo .gb-care-tag { font-size: 10px; font-weight: 500; color: #8b4934; background: #fff0e8; border: 1px solid #e6c1ad; border-radius: 3px; padding: 2px 6px; }
#gh-booking-demo .gb-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 8px; }
#gh-booking-demo .gb-slots button { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 7px 4px; min-height: 36px; border: 1px solid #d4d9cc; background: #fff; color: #3d4838; }
#gh-booking-demo .gb-slots strong { display: inline; white-space: nowrap; font-size: 15px; font-weight: 500; line-height: 1.3; }
#gh-booking-demo .gb-slots small { display: inline; white-space: nowrap; font-size: 9px; font-weight: 400; }
#gh-booking-demo .gb-slots button[aria-pressed=true] { background: #eeeadf; border-color: #9e8554; color: #69552c; }
#gh-booking-demo .gb-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#gh-booking-demo .gb-counter { min-width: 0; font-size: 11px; }
#gh-booking-demo .gb-counter > div { display: flex; align-items: center; justify-content: space-between; border: 1px solid #d5dacd; border-radius: 4px; margin-top: 5px; }
#gh-booking-demo .gb-counter button { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; color: #ac645d; position: relative; font-weight: 300; font-size: 20px; line-height: 1; }
#gh-booking-demo .gb-counter button[data-delta="-1"] { color: #5d7f99; }
#gh-booking-demo .gb-counter button::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 23px; height: 23px; border: 1px solid currentColor; border-radius: 50%; pointer-events: none; }
/* 見た目は小さく、タップ領域は維持。丸と記号を同じ中心で描く。 */
#gh-booking-demo .gb-count-icon { position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; transform: translate(-50%, -50%); pointer-events: none; }
#gh-booking-demo .gb-count-icon::before,
#gh-booking-demo .gb-count-icon::after { content: ""; position: absolute; background: currentColor; }
#gh-booking-demo .gb-count-icon::before { top: 4.5px; left: 0; width: 10px; height: 1px; }
#gh-booking-demo .gb-counter button[data-delta="1"] .gb-count-icon::after { top: 0; left: 4.5px; width: 1px; height: 10px; }
#gh-booking-demo .gb-counter output { display: inline-flex; align-items: baseline; white-space: nowrap; font-size: 19px; }
#gh-booking-demo .gb-counter output small { display: inline; font-size: 10px; margin-left: 4px; }
#gh-booking-demo .gb-care { margin: 18px 0; padding: 12px; border: 1px solid #ddd4bf; border-radius: 4px; }
#gh-booking-demo .gb-care legend { padding: 0 5px; font-size: 12px; }
#gh-booking-demo .gb-baby-icon { display: inline-block; width: 16px; height: 16px; margin-right: 4px; vertical-align: -3px; flex: 0 0 auto; }
#gh-booking-demo .gb-care p { font-size: 10px; color: #858575; }
#gh-booking-demo .gb-radio { display: flex; gap: 20px; padding: 12px 0 3px; }
#gh-booking-demo .gb-radio label { display: flex; align-items: center; gap: 6px; font-size: 12px; }
#gh-booking-demo .gb-radio label::before,
#gh-booking-demo .gb-radio label::after { content: none !important; }
#gh-booking-demo input[type=radio] { appearance: auto !important; position: static !important; opacity: 1 !important; width: 16px; height: 16px; margin: 0; accent-color: #9e8554; }
#gh-booking-demo .gb-ages > label { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 8px; margin-top: 10px; font-size: 11px; }
#gh-booking-demo .gb-ages button { border: 0; background: none; color: #8a7449; padding: 8px 0; font-size: 11px; min-height: 40px; }
#gh-booking-demo .gb-ages > small { display: block; color: #929587; font-size: 9px; }
#gh-booking-demo .gb-optional { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #e4e7dd; }
#gh-booking-demo .gb-optional summary { cursor: pointer; font-size: 12px; padding: 13px 0; }
#gh-booking-demo .gb-optional summary small { color: #8f9588; font-size: 10px; margin-left: 6px; }
#gh-booking-demo .gb-line { display: block; padding: 15px; margin-top: 20px; background: #f2f7f1; border-radius: 4px; }
#gh-booking-demo .gb-line strong { font-size: 13px; font-weight: 500; }
#gh-booking-demo .gb-line p { font-size: 11px; color: #687d65; margin-top: 8px; }
#gh-booking-demo .gb-line-register { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; margin-top: 13px; padding: 10px 14px; border: 0; border-radius: 3px; background: #167847; color: #fff; font-size: 13px; font-weight: 500; }
#gh-booking-demo .gb-line-status { font-size: 10px; margin-top: 9px; }
#gh-booking-demo .gb-line small { display: block; font-size: 9px; color: #899781; margin-top: 7px; }
#gh-booking-demo .gb-submit { margin-top: 25px; border-top: 1px solid #dfe3d6; text-align: center; padding-top: 20px; }
#gh-booking-demo .gb-selection { font-size: 12px; padding: 10px; border-radius: 4px; background: #f6f5f0; margin-bottom: 14px; }
#gh-booking-demo .gb-selection strong { font-weight: 500; }
#gh-booking-demo .gb-policy { font-size: 10px; margin-bottom: 12px; color: #888e80; }
#gh-booking-demo .gb-policy a { color: inherit; text-decoration: underline; }
#gh-booking-demo .gb-primary { display: flex; justify-content: center; align-items: center; gap: 40px; width: min(360px, 100%); min-height: 50px; margin: 0 auto; border: 1px solid #343e30; background: #343e30; color: #fff; font-size: 14px; font-weight: 500; padding: 12px 20px; }
/* 来場予約の送信ボタン：拠点ページの予約CTAと同じ配色 */
#gh-booking-demo #gb-form:has(.gb-layout:not(.gb-catalog)) .gb-primary { border-color: #CB356B; background: #CB356B; background: linear-gradient(to right, #BD3F32, #CB356B); color: #fff; }
#gh-booking-demo .gb-error { color: #a34438; font-size: 12px; margin: 10px; }
#gh-booking-demo .gb-complete { max-width: 560px; margin: 15px auto; text-align: center; }
#gh-booking-demo .gb-complete > p { margin: 18px 0; font-size: 13px; color: #7a8370; }
#gh-booking-demo .gb-complete .gb-line { text-align: left; margin-bottom: 25px; }
#gh-booking-demo .gb-check { display: grid; place-items: center; width: 48px; height: 48px; background: #edf4e9; color: #67865b; border-radius: 50%; margin: 0 auto 20px; font-size: 24px; }
.gb-demo-dock { position: fixed; z-index: 999990; bottom: 20px; left: 18px; display: flex; align-items: center; gap: 8px; padding: 9px; border: 1px solid #b6a278; background: #fff; box-shadow: 0 3px 20px #0001; font: 10px/1.5 sans-serif; color: #837653; }
.gb-demo-dock button { border: 0; border-radius: 2px; background: #343e30; color: #fff; padding: 9px; font: 11px/1.5 sans-serif; cursor: pointer; }
@media (hover: hover) {
    #gh-booking-demo .gb-slots button:hover:not(:disabled) { border-color: #9e8554; }
    #gh-booking-demo .gb-primary:hover { background: #46523f; }
}
/* 日時決定後は全デバイスで選択内容へ畳む。 */
#gh-booking-demo .gb-picked { display: none; }
#gh-booking-demo .gb-venue-picker.is-collapsed .gb-venue-expanded { display: none; }
#gh-booking-demo .gb-venue-picker.is-collapsed .gb-picked { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 13px 15px; border: 1px solid #e3e2d7; border-radius: 4px; background: #f6f5f0; }
#gh-booking-demo .gb-picked-heading { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; }
#gh-booking-demo .gb-picked-heading > small { color: #6c7468; font-size: 11px; }
#gh-booking-demo .gb-picked > strong { grid-column: 1; grid-row: 2; font-size: 16px; font-weight: 500; }
#gh-booking-demo .gb-picked-no-care { color: #808776; font-size: 10px; }
#gh-booking-demo .gb-picked button { grid-column: 2; grid-row: 2; justify-self: end; white-space: nowrap; background: none; border: 0; color: #81704b; padding: 7px 0; margin-top: 1px; min-height: 34px; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 767px) {
    #gh-booking-demo { width: calc(100% - 20px); height: calc(100dvh - 32px); }
    #gh-booking-demo .gb-head { padding: 8px 15px; font-size: 20px; }
        #gh-booking-demo .gb-body { padding: 20px 16px 25px; }
        #gh-booking-demo h2 { font-size: 22px; }
        #gh-booking-demo .gb-layout { grid-template-columns: 1fr; gap: 26px; }
    #gh-booking-demo :is(input:not([type=radio]), select, textarea) { font-size: 16px; }
    #gh-booking-demo .gb-counter button { flex: 0 0 38px; width: 38px; padding: 0; height: 44px; }
    .gb-demo-dock { bottom: 74px; left: 10px; right: 10px; justify-content: center; }
    .gb-demo-dock > span { display: none; }
}

/* 写真付き5拠点。2段で収まるカード、選択後は既存サマリーへ畳む。 */
#gh-booking-demo .gb-homes { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
#gh-booking-demo .gb-homes legend { margin-bottom: 8px; padding: 0; font-size: 12px; }
#gh-booking-demo .gb-homes legend small { color: #8b675e; font-size: 9px; margin-left: 6px; }
#gh-booking-demo .gb-home-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
#gh-booking-demo .gb-home-grid button { position: relative; display: block; padding: 0; border: 1px solid #d4d9cc; background: white; color: #303630; overflow: hidden; text-align: left; }
#gh-booking-demo .gb-home-grid img { display: block; width: 100%; height: auto; object-fit: contain; }
#gh-booking-demo .gb-home-grid span { display: block; padding: 5px 7px; font-size: 12px; line-height: 1.4; }
#gh-booking-demo .gb-home-grid small { display: block; font-size: inherit; color: #737970; }
/* 未選択でも白丸を表示。選択時は赤い内丸と薄いオーバーレイ。 */
#gh-booking-demo .gb-home-grid i { display: block; position: absolute; top: 8px; left: 8px; right: auto; z-index: 3; width: 17px; height: 17px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0003; font-size: 0; }
#gh-booking-demo .gb-home-grid i::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #ca5c62; transform: scale(0); }
#gh-booking-demo .gb-home-grid button::after { content: ''; position: absolute; inset: 0; z-index: 1; background: #ca5c621a; opacity: 0; pointer-events: none; }
#gh-booking-demo .gb-home-grid button[aria-pressed=true] { border-color: #ca5c62; background: #fff4f4; box-shadow: inset 0 0 0 1px #ca5c62; }
#gh-booking-demo .gb-home-grid button[aria-pressed=true]::after { opacity: 1; }
#gh-booking-demo .gb-home-grid button[aria-pressed=true] i { box-shadow: 0 1px 3px #0003; }
#gh-booking-demo .gb-home-grid button[aria-pressed=true] i::after { transform: scale(1); }
#gh-booking-demo .gb-home-grid span { position: relative; z-index: 2; }
@media(min-width:701px) {
    #gh-booking-demo .gb-home-grid span { font-size: 11px; padding: 5px; white-space: nowrap; }
    #gh-booking-demo .gb-home-grid small { display: inline; color: inherit; }
}
/* スマホ：イベント一覧の写真付きページ内リンクと同じ2列の横長カード。 */
@media(max-width:767px) {
    #gh-booking-demo .gb-home-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
    #gh-booking-demo .gb-home-grid button { display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 0 9px 0 0; border-color: #e0e1d9; border-radius: 3px; }
    #gh-booking-demo .gb-home-grid img { flex: 0 0 64px; width: 64px; height: 52px; margin: 0; object-fit: cover; }
    #gh-booking-demo .gb-home-grid span { flex: 1; min-width: 0; padding: 0; font-size: 11px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
    #gh-booking-demo .gb-home-grid small { display: block; margin-top: 3px; font-size: 9px; font-weight: 400; line-height: 1.3; color: #7b8176; }
    #gh-booking-demo .gb-home-grid i { top: 4px; left: 4px; width: 14px; height: 14px; }
    #gh-booking-demo .gb-home-grid i::after { inset: 3px; }
}
@media(max-width:390px) {
    #gh-booking-demo .gb-home-grid button { gap: 6px; padding-right: 7px; }
    #gh-booking-demo .gb-home-grid img { flex-basis: 52px; width: 52px; }
    #gh-booking-demo .gb-home-grid span { font-size: 10px; }
}
@media(prefers-reduced-motion:reduce) { #gh-booking-demo * { scroll-behavior:auto !important; transition:none !important; } }

.gb-catalog-entry { margin: 32px auto; padding: 30px; text-align: center; border: 1px solid #d9ddd2; background: #f7f7f3; }
.gb-catalog-entry :is(button,.gb-catalog-link) { padding: 15px 24px; color: white; background: #303a33; border: 0; cursor: pointer; }

.ghb-thanks-line { max-width: 720px; margin: 40px auto; padding: 28px; text-align: center; background: #f2f6f0; border: 1px solid #dce6d8; }
.ghb-thanks-line h2 { font-size: 22px; font-weight: 500; }
.ghb-thanks-line p { font-size: 14px; line-height: 1.8; }
.ghb-thanks-line a, .ghb-thanks-line button { display: inline-block; margin: 12px 0; padding: 14px 24px; border: 0; background: #168348; color: #fff; text-decoration: none; font-size: 15px; }
.ghb-thanks-line small { display: block; color: #64735f; }
.ghb-thanks-line button:disabled { opacity: .65; }

/* 日程の再読み込み（文字だけのボタン） */
.gb-reload { margin-left: .5em; padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }

/* G Force連携：既存の予約日程ページに限定した日程リスト */
.ghb-public-schedule{margin:28px 0;color:#303630;font:14px/1.6 sans-serif}
.ghb-public-schedule .ghb-date-list{display:grid;gap:16px}
.ghb-public-schedule .ghb-date-card{border:1px solid #e0e4d8;border-radius:6px;overflow:hidden;background:#fff}
.ghb-public-schedule .ghb-date-card h3{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0;padding:12px 16px;background:#f6f7f3;font-size:18px;line-height:1.5}
.ghb-public-schedule .ghb-date-care{padding:2px 7px;border:1px solid #e6c1ad;border-radius:3px;background:#fff0e8;color:#8b4934;font-size:11px;font-weight:400}
.ghb-public-schedule .ghb-date-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px}
.ghb-public-schedule button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 6px;border:1px solid #d4d9cc;border-radius:4px;background:#fff;color:#3d4838;cursor:pointer;line-height:1.4}
.ghb-public-schedule button:hover{background:#eeeadf;border-color:#9e8554}
.ghb-public-schedule button:focus-visible{outline:2px solid #9e8554;outline-offset:2px}
.ghb-public-schedule button:disabled{opacity:.45;cursor:default}
.ghb-public-schedule strong{font-size:20px}.ghb-public-schedule small{font-size:11px;white-space:nowrap}
@media(max-width:600px){.ghb-public-schedule .ghb-date-card h3{padding:9px 12px;font-size:16px}.ghb-public-schedule .ghb-date-slots{gap:6px;padding:10px}.ghb-public-schedule strong{font-size:16px}.ghb-public-schedule small{font-size:10px}.ghb-public-schedule button{gap:4px}}

/* MTG用の無送信デモ。受け取り方の比較に限定する。 */
.ghb-meeting-notice {padding:12px 16px!important;margin:0 0 18px!important;background:#fff4d8;border:1px solid #e6c77d;color:#6a5120!important;font-size:12px!important;line-height:1.7!important;}
#gh-booking-demo .gb-demo-fill {display:block;margin:0 0 18px;padding:9px 14px;border:1px solid #d4d8ce;border-radius:3px;background:#fff;font-size:12px;}
#gh-booking-demo .gb-contact-choice {text-align:left;margin:0 0 24px;padding:0;border:0;}
#gh-booking-demo .gb-contact-choice legend {font-size:14px;font-weight:600;margin-bottom:12px;}
#gh-booking-demo .gb-contact-choice legend .gb-badge {display:inline-block;background:#b5444b;color:#fff;padding:2px 6px;border-radius:3px;font-size:10px;font-weight:600;margin-left:6px;}
#gh-booking-demo .gb-contact-choice > label {display:flex;align-items:center;gap:12px;padding:15px;margin:0 0 10px;border:1px solid #cfd4c9;border-radius:5px;cursor:pointer;background:#fff;}
#gh-booking-demo .gb-contact-choice > label:has(input:checked) {border-color:#198b51;background:#eef8f0;}
#gh-booking-demo .gb-contact-choice input {flex:none;width:18px!important;height:18px!important;min-height:0!important;margin:0;accent-color:#16834b;}
#gh-booking-demo .gb-contact-choice strong {display:flex;align-items:center;gap:8px;font-size:14px;}
#gh-booking-demo .gb-contact-choice img {width:24px;height:24px;}
#gh-booking-demo .gb-contact-choice label small {display:block;font-size:11px;line-height:1.7;color:#6b756a;margin-top:5px;}
/* 来場予約のサンクスページは全拠点でパンくず非表示。 */
body:has(.bt-page) .breadcrumbs {display:none!important;}
/* 完了画面の組み立て前に旧レイアウトを見せない。head読込のCSSで先に適用。 */
body.ghb-meeting-demo .bt-page:not(.ghb-demo-ready) {visibility:hidden;}
body.ghb-meeting-demo .bt-page:not(.ghb-demo-ready) .bt-line-card {visibility:hidden;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .ghb-demo-ready .bt-line-card {visibility:visible;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .bt-line-card[hidden] {display:none!important;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .bt-main--demo-phone {grid-template-columns:1fr;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .ghb-demo-contact-note {font-size:13px;margin-top:18px!important;color:#596355;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .ghb-demo-summary {font-size:18px;font-weight:600;margin-top:14px!important;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .ghb-demo-summary small {font-size:13px;font-weight:400;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .bt-line-card .ghb-thanks-line a {background:#06c755;color:#fff;}

/* MTGラフ：質問要望直下の選択と、コンパクトな完了画面。 */
body:is(.ghb-meeting-demo,.ghb-booking-ui) #gh-booking-demo .gb-contact-choice {margin:24px 0 0;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) #gh-booking-demo .gb-contact-gift {color:#247746;background:#edf7ef;border-radius:3px;padding:3px 6px;font-size:12px;font-weight:600;width:fit-content;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) #gh-booking-demo .gb-contact-gift span {display:inline-block;white-space:nowrap;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) #gh-booking-demo .gb-contact-choice label:has(input[value="phone"]:checked) {border-color:#7a8179;background:#f5f6f4;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) #gh-booking-demo #gb-form:has(.gb-layout:not(.gb-catalog)) .gb-primary {background:#f5aa00;border-color:#f5aa00;color:#fff;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .bt-page {max-width:760px;margin-top:28px;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-completion {background:#fff;border:1px solid #dfe2dc;border-radius:16px;padding:28px;text-align:left;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-completion .bt-received {padding:0;text-align:left;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-completion #bt-title {font-size:20px;font-weight:600;line-height:1.6;margin:0 0 12px;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-reservation {background:#f4f4f3;border-radius:7px;padding:12px 14px;margin-bottom:18px;font-size:14px;line-height:1.6;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-reservation p {font-size:14px;line-height:1.6;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-reservation strong {font-size:14px;font-weight:500;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-completion .bt-main {display:block;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-completion .bt-line-card {background:none;border:0;padding:0;margin:0;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-next {display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;margin:0 0 10px!important;line-height:1.5!important;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-next > span {background:#06c755;color:#fff;border-radius:3px;padding:2px 7px;font-size:11px;font-weight:600;white-space:nowrap;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-next > strong {font-size:14px;font-weight:600;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-line-button {display:block;background:#06c755;color:#fff!important;text-align:center;border-radius:8px;padding:15px 12px;font-size:16px;font-weight:600;line-height:1.7;text-decoration:none;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-line-button strong {font-weight:700;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-gift-note {font-size:11px;line-height:1.7;margin:8px 0 0!important;color:#72786e;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-qr {display:flex;align-items:center;justify-content:center;gap:16px;margin-top:16px;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-qr img {width:104px;height:104px;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-qr p {font-size:13px;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-qr small {font-size:10px;color:#767d73;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-phone {padding:0;margin:0;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-phone .gb-meeting-next > span {background:#6c756b;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-phone > p:last-child {font-size:13px;line-height:1.8;color:#63705e;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-completion .bt-next {margin-top:24px;padding-top:20px;border-top:1px solid #e2e5df;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-completion .bt-next h2 {font-size:16px;margin:0 0 12px;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-completion .bt-next ol {margin:0;padding:0;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-completion .bt-next li {padding:10px 0;gap:12px;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-completion .bt-next li:first-child {border-top:0;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-completion .bt-next h3 {font-size:13px;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-completion .bt-next li p {font-size:12px;line-height:1.8;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .bt-page .bt-roomtour {margin-top:32px;}
@media(max-width:767px){
 body:is(.ghb-meeting-demo,.ghb-booking-ui) .bt-page {width:calc(100% - 32px);margin-top:16px;}
 body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-completion {padding:18px 16px;border-radius:12px;}
 body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-completion #bt-title {font-size:17px;}
 body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-reservation,body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-reservation p,body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-reservation strong {font-size:12px;}
 body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-next > strong {font-size:12px;}
 body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-line-button {font-size:14px;padding:13px 8px;}
 body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-qr {display:none;}
}

/* LINE登録は操作名を主役にし、矢印を右端へ独立配置。 */
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-line-button {position:relative;display:flex;align-items:center;justify-content:center;gap:18px;background:#06b64f;padding:17px 54px 17px 20px;box-shadow:0 3px 0 #048c3b;transition:background .15s,box-shadow .15s;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-line-button-copy {display:block;text-align:center;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-line-button-copy strong {display:block;font-size:18px;line-height:1.6;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-line-button-copy small {display:block;font-size:13px;line-height:1.6;font-weight:500;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-line-button-arrow {position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:28px;font-weight:400;line-height:1;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-line-button:hover {background:#05a646;}
body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-line-button:focus-visible {outline:3px solid #075f33;outline-offset:4px;}
@media(max-width:767px){
 body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-meeting-line-button {padding:15px 40px 15px 12px;}
 body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-line-button-copy strong {font-size:16px;}
 body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-line-button-copy small {font-size:11px;}
 body:is(.ghb-meeting-demo,.ghb-booking-ui) .gb-line-button-arrow {right:13px;font-size:24px;}
}

/* Official-site normal page; external LP retains iframe/dialog modes. */
.ghb-visit-page #floating-menu,.ghb-visit-page .breadcrumbs{display:none!important}
.ghb-visit-page .ghb-visit-intro{box-sizing:border-box;max-width:1160px;margin:40px auto 20px;padding:0 20px}
.ghb-visit-page .ghb-visit-intro h1{font-size:28px;margin:0 0 12px}
#ghb-visit-page{box-sizing:border-box;max-width:1160px;margin:0 auto 70px;padding:0 20px}
#gh-booking-demo.gb-standalone{display:block;position:static;inset:auto;width:100%;height:auto;max-height:none;margin:0;border:1px solid #e1e5e1;border-radius:12px;box-shadow:none;background:#fff}
#ghb-visit-page #gh-booking-demo.gb-standalone{border:0;border-radius:0;background:transparent}
#gh-booking-demo.gb-standalone .gb-head{display:none}
#gh-booking-demo.gb-standalone .gb-shell{height:auto}
#gh-booking-demo.gb-standalone .gb-body{height:auto;overflow:visible;max-height:none}
#ghb-visit-page #gh-booking-demo.gb-standalone .gb-body{padding:0}
#gh-booking-demo .gb-slots button[aria-pressed="true"]{outline:3px solid #b74434;outline-offset:2px;background:#fff0e9;color:#832d23}
.gb-line-auth-note{font-size:14px;line-height:1.9;margin:20px 0;padding:16px;background:#f4f7f4;border-radius:8px;color:#344438}
.gb-line-auth-note strong{display:block;margin-top:8px}
.gb-meeting-qr [data-ghb-qr]{width:112px;flex:0 0 112px}
.gb-meeting-qr svg{display:block;width:100%;height:auto}
@media(max-width:600px){#ghb-visit-page{padding:0}.ghb-visit-page .ghb-visit-intro{margin:24px 0 16px;padding:0}.ghb-visit-page .ghb-visit-intro h1{font-size:22px;text-align:center}}

/* Base receipt layout is self contained; no dependence on old page inline styles. */
body.ghb-booking-ui .bt-page{box-sizing:border-box;margin-left:auto;margin-right:auto;padding-bottom:48px;color:#303b34}
.gb-meeting-completion .bt-next ol{list-style:none}
.gb-meeting-completion .bt-next li{display:flex;border-top:1px solid #e2e5df}
.gb-meeting-completion .bt-next li>span{color:#9c8050;font-size:12px;flex:0 0 20px}
.gb-meeting-completion .bt-next li>div{flex:1;min-width:0}
.gb-meeting-completion .bt-next h3,.gb-meeting-completion .bt-next p,.gb-meeting-reservation p{margin:0}
.gb-meeting-completion .bt-next p{margin-top:6px;color:#747d73}
.gb-meeting-completion h1,.gb-meeting-completion h2,.gb-meeting-completion h3{letter-spacing:normal}
body.ghb-booking-ui .bt-home{text-align:center;margin:30px 0}
#gh-booking-demo .gb-venue-picker .gb-picked{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-top:18px;padding:14px 16px;border:1px solid #d9ded3;border-radius:6px;background:#f6f5f0}
#gh-booking-demo .gb-picked>small{font-size:11px;color:#667060;line-height:1.7}
.ghb-visit-page article.page>.entry-header{display:none}

@media (max-width: 767px) {
    :is(#ghb-visit-page, body.ghb-inline, body.ghb-popup) #gh-booking-demo .gb-home-grid button:focus-visible { outline-offset: -4px; }
    :is(#ghb-visit-page, body.ghb-inline, body.ghb-popup) #gh-booking-demo .gb-home-grid button[aria-pressed="true"]:focus-visible { outline: none; }
}

:is(#ghb-visit-page, body.ghb-inline, body.ghb-popup) #gh-booking-demo :is(input, textarea)[data-value]:focus-visible { outline-offset: -2px; }

.gb-catalog-entry .gb-catalog-link { display:inline-flex; align-items:center; justify-content:center; text-decoration:none; }

.ghb-visit-page .ghb-visit-intro:has(+ #ghb-visit-page[data-booking-mode="catalog"]) h1 { text-align: center; }

/* 固定メニューから離して、認証バッジを表示する。 */
body.ghb-visit-page .grecaptcha-badge { left: 0 !important; right: auto !important; }
@media (max-width: 767px) {
    body.ghb-visit-page .grecaptcha-badge { bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important; }
}

body.ghb-visit-page:has(.ghb-recaptcha-notice) .grecaptcha-badge { visibility: hidden !important; }
#gh-booking-demo .ghb-recaptcha-notice { margin: 14px auto 0; font-size: 10px; line-height: 1.35; }
