@charset "UTF-8";

:root {
    color-scheme: light;
    --barber-bg: #f4f5f3;
    --barber-surface: #ffffff;
    --barber-dark: #151918;
    --barber-text: #18201d;
    --barber-muted: #535d57;
    --barber-red: #a82f29;
    --barber-red-hover: #85251f;
    --barber-border: #ced3ce;
    --barber-focus: #155e75;
    --barber-space: clamp(18px, 4vw, 64px);
    --barber-width: 1240px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    background: var(--barber-bg);
    color: var(--barber-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

body,
button,
input,
select,
textarea {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

h1,
h2,
h3,
h4,
p,
figure,
dl {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: inherit;
    font-weight: 800;
    overflow-wrap: anywhere;
}

h1 {
    font-size: clamp(2rem, 4.8vw, 4rem);
    line-height: 1.35;
    letter-spacing: -.035em;
}

h2 {
    font-size: clamp(1.4rem, 2.8vw, 2.15rem);
    line-height: 1.5;
    letter-spacing: -.02em;
}

h3 {
    font-size: 1.125rem;
    line-height: 1.6;
}

p {
    margin-bottom: 1.25em;
}

a {
    color: inherit;
    text-underline-offset: .25em;
    text-decoration-thickness: 1px;
}

a:hover {
    text-decoration-thickness: 2px;
}

button,
input,
select,
textarea {
    max-width: 100%;
    color: var(--barber-text);
    font: inherit;
}

button,
select,
summary {
    cursor: pointer;
}

button {
    touch-action: manipulation;
}

input,
textarea {
    cursor: text;
}

input[type="checkbox"],
input[type="radio"] {
    cursor: pointer;
    accent-color: var(--barber-red);
}

input[type="date"],
input[type="time"],
input[type="datetime-local"] {
    min-width: 0;
}

textarea {
    resize: vertical;
}

img,
svg,
video {
    max-width: 100%;
}

img {
    display: block;
    height: auto;
}

figure {
    margin-inline: 0;
}

fieldset {
    min-width: 0;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

legend {
    max-width: 100%;
    padding: 0 0 12px;
    font-weight: 750;
}

label {
    overflow-wrap: anywhere;
}

small {
    font-size: .8125rem;
    line-height: 1.7;
}

hr {
    margin-block: 28px;
    border: 0;
    border-top: 1px solid var(--barber-border);
}

table {
    border-spacing: 0;
}

th {
    font-weight: 750;
}

summary {
    min-height: 44px;
    padding-block: 10px;
    font-weight: 700;
}

summary::marker {
    color: var(--barber-red);
}

details[open] > summary {
    margin-bottom: 12px;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--barber-focus);
    outline-offset: 4px;
}

:where(button, input, select, textarea):disabled {
    cursor: not-allowed;
    opacity: 1;
    background: #e7eae7;
    color: #58625b;
    border-color: #a6afa8;
}

[hidden] {
    display: none !important;
}

[aria-busy="true"] {
    cursor: progress;
}

[aria-invalid="true"] {
    border-color: var(--barber-red) !important;
    box-shadow: 0 0 0 1px var(--barber-red);
}

::selection {
    background: #dce8e6;
    color: #18201d;
}

.bh-container,
.bk-container,
.mp-wrap,
.bl-container {
    width: min(var(--barber-width), calc(100% - 2 * var(--barber-space)));
    margin-inline: auto;
}

.am-wrap {
    width: min(1320px, calc(100% - 2 * var(--barber-space)));
    margin-inline: auto;
}

.bh-page,
.bk-page,
.mp-page,
.am-page,
.bl-page {
    background: var(--barber-bg);
    color: var(--barber-text);
}

.bh-skip,
.bk-skip,
.mp-skip,
.am-skip,
.bl-skip {
    position: absolute;
    z-index: 1000;
    top: -160px;
    left: 16px;
    max-width: calc(100% - 32px);
    padding: 12px 20px;
    background: var(--barber-surface);
    color: var(--barber-text);
    font-weight: 750;
}

.bh-skip:focus,
.bk-skip:focus,
.mp-skip:focus,
.am-skip:focus,
.bl-skip:focus {
    top: 12px;
}

.bh-header,
.bk-header,
.mp-header,
.bl-header {
    position: relative;
    z-index: 2;
    background: var(--barber-surface);
    color: var(--barber-text);
    border-bottom: 1px solid var(--barber-border);
}

.bh-header-inner,
.bk-header-inner,
.mp-header-inner,
.bl-header-inner,
.am-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 18px;
}

.bh-brand,
.bk-brand,
.mp-brand,
.bl-brand,
.am-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: inherit;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.bh-brand-mark,
.bl-brand-mark {
    display: block;
    flex: 0 0 9px;
    width: 9px;
    height: 35px;
    background: repeating-linear-gradient(0deg, var(--barber-red) 0 4px, transparent 4px 7px);
}

.bk-brand,
.mp-brand {
    border-left: 5px solid var(--barber-red);
    padding-left: 12px;
}

.bh-nav,
.bk-nav,
.mp-nav,
.bl-nav,
.am-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 20px;
    min-width: 0;
    font-size: .875rem;
}

.bh-nav a,
.bk-nav a,
.mp-nav a,
.bl-nav a,
.am-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
}

:where(.bh-nav, .bk-nav, .mp-nav, .bl-nav, .am-nav) a:hover {
    text-decoration: underline;
}

:where(.bh-nav, .bk-nav, .mp-nav, .bl-nav, .am-nav) a[aria-current="page"] {
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: var(--barber-red);
    text-decoration-thickness: 2px;
}

.bh-nav-book,
.bl-book {
    justify-content: center;
    padding: 10px 18px;
    background: var(--barber-red);
    color: #fff !important;
}

.bh-nav-book:hover,
.bl-book:hover {
    background: var(--barber-red-hover);
}

.bh-button,
.bk-button,
.mp-button,
.am-button,
.bl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 52px;
    max-width: 100%;
    padding: 12px 24px;
    border: 1px solid var(--barber-red);
    border-radius: 0;
    background: var(--barber-red);
    color: #fff;
    font: inherit;
    font-weight: 750;
    line-height: 1.6;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

:where(.bh-button, .bk-button, .mp-button, .am-button, .bl-button):hover {
    background: var(--barber-red-hover);
    border-color: var(--barber-red-hover);
    color: #fff;
    text-decoration: none;
}

.bh-button-light,
.bh-button-secondary,
.bk-button-secondary,
.mp-button-secondary,
.am-secondary,
.bl-button-secondary {
    background: #fff;
    color: var(--barber-text);
    border-color: #929c95;
}

:where(.bh-button-light, .bh-button-secondary, .bk-button-secondary, .mp-button-secondary, .am-secondary, .bl-button-secondary):hover {
    background: #e9ede9;
    color: var(--barber-text);
    border-color: #6f7b72;
}

:where(.bh-button, .bk-button, .mp-button, .am-button, .bl-button)[aria-disabled="true"] {
    background: #e7eae7;
    color: #58625b;
    border-color: #a6afa8;
    cursor: not-allowed;
}

.bh-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
    align-items: stretch;
    background: var(--barber-dark);
    color: #fff;
}

.bh-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(24px, 5vw, 72px);
    padding-block: clamp(32px, 5vw, 72px);
}

.bh-hero:has(> .bh-hero-inner) {
    display: block;
}

.bh-hero-copy,
.bh-hero-content {
    min-width: 0;
    align-self: center;
    padding: clamp(28px, 5vw, 80px) var(--barber-space);
}

.bh-hero-inner > :where(.bh-hero-copy, .bh-hero-content) {
    padding: 0;
}

.bh-eyebrow,
.bh-kicker,
.bk-kicker,
.mp-kicker,
.am-kicker,
.bl-kicker {
    margin-bottom: 14px;
    color: var(--barber-muted);
    font-size: .75rem;
    font-weight: 750;
    letter-spacing: .16em;
    line-height: 1.8;
}

.bh-hero :where(.bh-eyebrow, .bh-kicker) {
    color: #e1e5e1;
}

.bh-hero h1 {
    margin-bottom: 24px;
    font-size: clamp(2.2rem, 4.5vw, 4.6rem);
    line-height: 1.38;
    letter-spacing: -.045em;
}

.bh-hero :where(.bh-lead, .bh-hero-description, .bh-hero-text) {
    max-width: 36em;
    color: #e1e5e1;
    line-height: 2;
}

.bh-hero-media,
.bh-hero-image,
.bh-hero-visual {
    min-width: 0;
    margin: 0;
    align-self: center;
    background: var(--barber-dark);
}

.bh-hero img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
}

.bh-hero figcaption,
.bh-image-caption {
    padding: 8px 0;
    color: #e1e5e1;
    font-size: .75rem;
}

.bh-hero-actions,
.bh-actions,
.bk-actions,
.mp-actions,
.am-actions,
.bl-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.bh-hero-note {
    margin: 16px 0 0;
    color: #e1e5e1;
    font-size: .8125rem;
}

.bh-shortcuts,
.bh-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--barber-border);
    border: 1px solid var(--barber-border);
}

.bh-shortcut {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 112px;
    padding: 24px;
    background: #fff;
    color: var(--barber-text);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.bh-shortcut:hover {
    background: #edf0ec;
}

.bh-shortcut strong {
    font-size: 1.1rem;
}

.bh-shortcut :where(small, p) {
    margin: 0;
    color: var(--barber-muted);
    font-size: .8125rem;
}

.bh-section {
    padding-block: clamp(40px, 6vw, 88px);
    scroll-margin-top: 24px;
}

.bh-section + .bh-section {
    border-top: 1px solid var(--barber-border);
}

.bh-section-heading,
.bh-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

:where(.bh-section-heading, .bh-section-head) h2 {
    margin-bottom: 0;
}

.bh-section h2::before,
.bk-main h1::before,
.mp-main h1::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 4px;
    margin-right: 12px;
    background: var(--barber-red);
    vertical-align: middle;
}

.bh-section-description,
.bh-muted,
.bk-muted,
.mp-muted,
.am-muted,
.bl-muted,
.bk-help,
.mp-help {
    color: var(--barber-muted);
    font-size: .875rem;
}

.bh-menu-grid,
.bh-menus,
.bh-menu-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.bh-menu-card,
.bh-menu {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--barber-border);
    background: var(--barber-surface);
    color: var(--barber-text);
}

.bh-menu-card img,
.bh-menu img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    background: #edf0ec;
}

.bh-menu-body,
.bh-menu-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: clamp(20px, 3vw, 32px);
}

.bh-menu-card > :where(h3, p, dl, a),
.bh-menu > :where(h3, p, dl, a) {
    margin-inline: 24px;
}

:where(.bh-menu-card, .bh-menu) > h3 {
    margin-top: 24px;
}

:where(.bh-menu-card, .bh-menu) > a:last-child {
    margin-bottom: 24px;
}

.bh-menu-description {
    flex: 1;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.bh-menu-meta,
.bh-menu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-block: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--barber-border);
}

.bh-price,
.bh-menu-price {
    color: var(--barber-text);
    font-size: 1.5rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.bh-price small,
.bh-menu-price small {
    font-size: .8125rem;
    font-weight: 500;
}

.bh-duration {
    color: var(--barber-muted);
    font-size: .875rem;
}

.bh-info-grid,
.bh-shop-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 5vw, 64px);
}

.bh-info-card,
.bh-rules,
.bh-shop-info {
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--barber-border);
    background: #fff;
}

.bh-contact {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 48px;
    max-width: 100%;
    margin-block: 6px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.bh-hours,
.bh-hours-table {
    width: 100%;
    border-collapse: collapse;
}

:where(.bh-hours, .bh-hours-table) :where(th, td) {
    padding: 12px 8px;
    border-bottom: 1px solid var(--barber-border);
    text-align: left;
}

:where(.bh-hours, .bh-hours-table) th {
    width: 38%;
    color: var(--barber-muted);
}

.bh-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding-left: 0;
    list-style-position: inside;
}

.bh-steps > li {
    min-width: 0;
    padding: 24px;
    border-top: 2px solid var(--barber-text);
    background: #fff;
}

.bk-main,
.mp-main,
.am-main,
.bl-main {
    min-height: 55vh;
    padding-block: 32px 64px;
    overflow-wrap: anywhere;
}

.bk-heading,
.mp-heading,
.am-heading,
.bk-page-heading,
.mp-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

:where(.bk-heading, .mp-heading, .am-heading, .bk-page-heading, .mp-page-heading) h1 {
    margin-bottom: 8px;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.bk-card,
.mp-card,
.am-card,
.bl-card,
.bk-panel,
.mp-panel,
.bk-review,
.bk-receipt,
.mp-reservation,
.mp-confirmation {
    min-width: 0;
    margin-bottom: 24px;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid var(--barber-border);
    background: #fff;
    color: var(--barber-text);
}

:where(.bk-card, .mp-card, .bk-panel, .mp-panel, .bk-review, .bk-receipt, .mp-reservation, .mp-confirmation) h2 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.bk-layout,
.bk-grid,
.mp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    align-items: start;
    gap: 24px;
}

.bk-fields,
.mp-fields,
.am-fields,
.bk-search-fields,
.bk-contact-fields,
.bl-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 18px;
    margin-bottom: 20px;
}

.bk-field,
.mp-field,
.am-field,
.bl-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    margin-bottom: 16px;
}

:where(.bk-field, .mp-field, .am-field, .bl-field) > :where(label, span) {
    font-weight: 700;
}

:where(.bk-main, .mp-main, .am-main, .bl-main) :where(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]), select, textarea) {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 11px 12px;
    border: 1px solid #8a968d;
    border-radius: 0;
    background: #fff;
    color: var(--barber-text);
    font-size: 1rem;
    line-height: 1.5;
}

:where(.bk-main, .mp-main, .am-main, .bl-main) textarea {
    min-height: 120px;
}

:where(.bk-main, .mp-main, .am-main, .bl-main) input::placeholder,
:where(.bk-main, .mp-main, .am-main, .bl-main) textarea::placeholder {
    color: #626c65;
    opacity: 1;
}

:where(.bk-main, .mp-main) form > label:not(:has(input[type="radio"], input[type="checkbox"])) {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

:where(.bk-field, .mp-field, .bl-field) small {
    color: var(--barber-muted);
    font-weight: 400;
}

.bk-check,
.mp-check,
.am-check,
.bl-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 44px;
    margin-block: 16px;
    cursor: pointer;
}

:where(.bk-check, .mp-check, .am-check, .bl-check) input {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 4px 0 0;
}

.bk-calendar,
.bk-week,
.bk-days,
.bk-date-strip {
    display: flex;
    align-items: stretch;
    gap: 8px;
    max-width: 100%;
    margin-block: 20px;
    padding: 4px 4px 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-color: #7d8980 #edf0ec;
    scrollbar-width: thin;
}

.bk-day {
    display: flex;
    flex: 1 0 78px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 78px;
    min-height: 88px;
    padding: 10px;
    border: 1px solid #929c95;
    background: #fff;
    color: var(--barber-text);
    text-align: center;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}

.bk-day strong {
    font-size: 1.375rem;
}

.bk-day:hover {
    background: #edf0ec;
}

.bk-day[aria-current="date"],
.bk-day[aria-selected="true"] {
    border-color: var(--barber-dark);
    background: var(--barber-dark);
    color: #fff;
    box-shadow: inset 0 -4px 0 #d45c53;
    font-weight: 800;
}

.bk-times,
.bk-time-grid,
.bk-slots,
.bk-time-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    gap: 12px;
    margin-block: 16px 28px;
}

.bk-slot,
.bk-time-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    min-height: 68px;
    padding: 16px;
    border: 1px solid #929c95;
    background: #fff;
    color: var(--barber-text);
    cursor: pointer;
}

:where(.bk-slot, .bk-time-option) input[type="radio"] {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    margin: 4px 0 0;
}

:where(.bk-slot, .bk-time-option) strong {
    display: block;
    font-size: 1.125rem;
    font-variant-numeric: tabular-nums;
}

:where(.bk-slot, .bk-time-option) small,
.bk-times [id^="deadline-"],
.bk-time-grid [id^="deadline-"] {
    display: block;
    margin-top: 6px;
    color: var(--barber-muted);
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.7;
}

:where(.bk-slot, .bk-time-option):has(input:checked) {
    border-color: var(--barber-red);
    background: #fff5f2;
    box-shadow: inset 0 0 0 1px var(--barber-red);
}

:where(.bk-slot, .bk-time-option):has(input:focus-visible) {
    outline: 3px solid var(--barber-focus);
    outline-offset: 4px;
}

:where(.bk-slot, .bk-time-option):has(input:disabled) {
    border-color: var(--barber-border);
    background: #ecefec;
    color: var(--barber-muted);
    cursor: not-allowed;
}

.bk-summary,
.mp-summary,
.am-summary,
.bl-summary,
.bk-details,
.mp-details {
    margin: 0;
}

:where(.bk-summary, .mp-summary, .am-summary, .bl-summary, .bk-details, .mp-details) > div {
    display: grid;
    grid-template-columns: minmax(125px, .5fr) minmax(0, 1.5fr);
    gap: 20px;
    padding-block: 14px;
    border-bottom: 1px solid var(--barber-border);
}

:where(.bk-summary, .mp-summary, .am-summary, .bl-summary, .bk-details, .mp-details) dt {
    color: var(--barber-muted);
    font-size: .875rem;
}

:where(.bk-summary, .mp-summary, .am-summary, .bl-summary, .bk-details, .mp-details) dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.bk-note,
.mp-note,
.am-note,
.bl-note,
.bh-note,
.bk-notice,
.mp-notice {
    margin-bottom: 24px;
    padding: 16px 20px;
    border-left: 3px solid #536c5d;
    background: #eaf0ed;
    color: #243c30;
    overflow-wrap: anywhere;
}

:where(.bk-note, .mp-note, .am-note, .bl-note, .bh-note, .bk-notice, .mp-notice) > :last-child {
    margin-bottom: 0;
}

.bk-error,
.mp-error,
.am-error,
.bl-error,
.bh-error,
.bk-errors,
.mp-errors {
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid #dbb4ae;
    border-left: 4px solid var(--barber-red);
    background: #fff2ef;
    color: #70201b;
    overflow-wrap: anywhere;
}

:where(.bk-errors, .mp-errors, .bk-error, .mp-error) h2 {
    color: #70201b;
    font-size: 1.125rem;
}

.bk-success,
.mp-success,
.bl-success {
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid #9eb2a4;
    border-left: 4px solid #365d43;
    background: #edf4ed;
    color: #24432f;
}

.bk-empty,
.mp-empty,
.am-empty,
.bl-empty,
.bh-empty {
    margin-bottom: 24px;
    padding: clamp(24px, 4vw, 44px);
    border: 1px dashed #929c95;
    background: #fff;
    color: var(--barber-muted);
}

:where(.bk-empty, .mp-empty, .bh-empty) h2 {
    color: var(--barber-text);
}

.bk-status,
.mp-status,
.am-status,
.bl-status {
    display: inline-block;
    max-width: 100%;
    padding: 4px 10px;
    border: 1px solid #929c95;
    background: #edf0ec;
    color: var(--barber-text);
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1.6;
    vertical-align: middle;
}

.bk-status-pending,
.mp-status-pending,
.am-status-pending {
    border-color: #b39c6a;
    background: #f8f1df;
    color: #604a18;
}

.bk-status-confirmed,
.mp-status-confirmed,
.am-status-confirmed {
    border-color: var(--barber-dark);
    background: var(--barber-dark);
    color: #fff;
}

.bk-status-cancelled,
.mp-status-cancelled,
.am-status-cancelled {
    border-color: var(--barber-border);
    background: #f4f5f3;
    color: var(--barber-muted);
}

.mp-date {
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-variant-numeric: tabular-nums;
}

.mp-reservation-header,
.mp-reservation-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.mp-mail,
.mp-mail-status,
.bk-mail-status {
    margin-block: 20px 0;
    padding: 16px;
    background: #f0f2ef;
    color: #39463d;
    font-size: .875rem;
}

.mp-deadline,
.bk-deadline {
    margin-block: 16px;
    color: #70201b;
    font-size: .875rem;
    font-weight: 650;
}

.mp-pagination,
.am-pagination,
.bk-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-block: 28px;
}

:where(.mp-pagination, .am-pagination, .bk-pagination) a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 18px;
    border: 1px solid #929c95;
    background: #fff;
    text-decoration: none;
}

:where(.mp-pagination, .am-pagination, .bk-pagination) a:hover {
    background: #edf0ec;
}

.am-header {
    background: var(--barber-dark);
    color: #fff;
}

.am-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    padding: 4px 2px 6px;
    border-bottom: 2px solid var(--barber-text);
    overflow-x: auto;
}

.am-tabs a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 48px;
    padding: 10px 18px;
    background: #fff;
    color: var(--barber-text);
    text-decoration: none;
}

.am-tabs a[aria-current="page"] {
    background: var(--barber-dark);
    color: #fff;
}

.am-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.am-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
}

.am-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9375rem;
}

.am-table caption {
    padding-bottom: 12px;
    color: var(--barber-muted);
    font-size: .875rem;
    text-align: left;
}

.am-table th,
.am-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--barber-border);
    text-align: left;
    vertical-align: top;
}

.am-table th {
    background: #edf0ec;
    white-space: nowrap;
}

.am-table td {
    min-width: 96px;
    overflow-wrap: anywhere;
}

.am-table a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.am-days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
    align-items: start;
    gap: 16px;
}

.am-day {
    min-width: 0;
    border: 1px solid var(--barber-border);
    background: #fff;
}

.am-day h2 {
    margin: 0;
    padding: 12px 16px;
    background: var(--barber-dark);
    color: #fff;
    font-size: 1rem;
}

.am-appointment {
    padding: 16px;
    border-bottom: 1px solid var(--barber-border);
    overflow-wrap: anywhere;
}

.am-appointment p {
    margin-block: 5px;
}

.am-appointment a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 700;
}

.am-pre {
    max-width: 100%;
    padding: 16px;
    background: #f4f5f3;
    color: var(--barber-text);
    font: inherit;
    font-size: .875rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.am-card details {
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px solid var(--barber-border);
}

.bh-footer,
.bk-footer,
.mp-footer,
.am-footer,
.bl-footer {
    padding-block: 28px;
    border-top: 1px solid var(--barber-border);
    background: #fff;
    color: var(--barber-text);
}

.bh-footer-inner,
.bk-footer-inner,
.mp-footer-inner,
.am-footer-inner,
.bl-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

:where(.bh-footer, .bk-footer, .mp-footer, .am-footer, .bl-footer) p {
    margin: 0;
    color: var(--barber-muted);
    font-size: .875rem;
    overflow-wrap: anywhere;
}

:where(.bh-footer, .bk-footer, .mp-footer) nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
}

:where(.bh-footer, .bk-footer, .mp-footer) nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.bl-image {
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #edf0ec;
}

[data-aib-image-surface] {
    position: relative;
    isolation: isolate;
    background-color: var(--barber-dark);
    color: #fff;
}

[data-aib-image-surface]::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgb(10 17 13 / 78%);
    pointer-events: none;
}

.sr-only,
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    border: 0;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

@media (min-width: 1440px) {
    .bh-hero-copy,
    .bh-hero-content {
        padding-left: max(var(--barber-space), calc((100vw - 1240px) / 2));
    }

    .bh-hero-inner > :where(.bh-hero-copy, .bh-hero-content) {
        padding-left: 0;
    }
}

@media (max-width: 1000px) {
    .bh-header-inner,
    .bk-header-inner,
    .mp-header-inner,
    .bl-header-inner,
    .am-header-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .bh-hero h1 {
        font-size: clamp(2rem, 4.5vw, 3.4rem);
    }

    .bk-layout,
    .bk-grid,
    .mp-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .bh-hero,
    .bh-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .bh-hero-inner {
        gap: 28px;
        padding-block: 32px;
    }

    .bh-hero-copy,
    .bh-hero-content {
        padding-block: 32px 28px;
    }

    .bh-hero h1 {
        max-width: 15em;
        font-size: clamp(2.1rem, 7.5vw, 3rem);
    }

    .bh-hero-media,
    .bh-hero-image,
    .bh-hero-visual {
        width: 100%;
    }

    .bh-menu-grid,
    .bh-menus,
    .bh-menu-list,
    .bh-info-grid,
    .bh-shop-grid,
    .am-grid,
    .bh-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .bh-section-heading,
    .bh-section-head,
    .bk-heading,
    .mp-heading,
    .am-heading,
    .bk-page-heading,
    .mp-page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .bh-shortcut {
        padding: 18px 14px;
    }

    .bh-shortcut strong {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    :root {
        --barber-space: 18px;
    }

    .bh-header-inner,
    .bk-header-inner,
    .mp-header-inner {
        padding-block: 16px;
    }

    .bh-nav,
    .bk-nav,
    .mp-nav {
        gap: 4px 16px;
    }

    .bh-nav-book {
        margin-top: 4px;
    }

    .bh-hero-actions,
    .bk-actions,
    .mp-actions {
        align-items: stretch;
        flex-direction: column;
    }

    :where(.bh-hero-actions, .bk-actions, .mp-actions) > :where(a, button, form) {
        width: 100%;
    }

    :where(.bk-actions, .mp-actions) > form > button {
        width: 100%;
    }

    .bh-shortcuts,
    .bh-shortcut-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bh-shortcut {
        min-height: 88px;
        padding: 18px 20px;
    }

    .bh-section {
        padding-block: 40px;
    }

    .bh-info-card,
    .bh-rules,
    .bh-shop-info {
        padding: 22px 18px;
    }

    .bk-main,
    .mp-main,
    .bl-main {
        padding-block: 24px 44px;
    }

    .bk-card,
    .mp-card,
    .bk-panel,
    .mp-panel,
    .bk-review,
    .bk-receipt,
    .mp-reservation,
    .mp-confirmation {
        padding: 22px 18px;
    }

    .bk-fields,
    .mp-fields,
    .bk-search-fields,
    .bk-contact-fields,
    .bl-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .bk-times,
    .bk-time-grid,
    .bk-slots,
    .bk-time-options {
        grid-template-columns: minmax(0, 1fr);
    }

    :where(.bk-summary, .mp-summary, .bl-summary, .bk-details, .mp-details) > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        padding-block: 12px;
    }

    .bh-footer-inner,
    .bk-footer-inner,
    .mp-footer-inner,
    .bl-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
}

@media (hover: hover) {
    .am-table tbody tr:hover {
        background: #f7f9f6;
    }

    :where(.bk-slot, .bk-time-option):not(:has(input:disabled)):hover {
        border-color: var(--barber-red);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@media (forced-colors: active) {
    :where(.bh-button, .bk-button, .mp-button, .am-button, .bl-button, .bk-day, .bk-status, .mp-status, .am-status) {
        border: 1px solid ButtonText;
    }

    .bk-day[aria-current="date"],
    :where(.bk-slot, .bk-time-option):has(input:checked) {
        outline: 2px solid Highlight;
        outline-offset: -4px;
    }
}

@media print {
    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 11pt;
    }

    .bh-header,
    .bk-header,
    .mp-header,
    .am-header,
    .bl-header,
    .bh-footer,
    .bk-footer,
    .mp-footer,
    .am-footer,
    .bl-footer,
    .am-tabs,
    .mp-pagination,
    .am-pagination,
    .bh-skip,
    .bk-skip,
    .mp-skip,
    .am-skip,
    .bl-skip {
        display: none !important;
    }

    .bh-container,
    .bk-container,
    .mp-wrap,
    .am-wrap,
    .bl-container {
        width: 100% !important;
        max-width: none !important;
    }

    .bk-card,
    .mp-card,
    .am-card,
    .mp-reservation,
    .bk-receipt {
        break-inside: avoid;
        box-shadow: none;
    }

    .am-table-wrap {
        overflow: visible;
    }
}

/* 旧共通テンプレートの基本部品。bh-/bk-/mp-/am-の専用構成は保持する。 */
.container {
    width: 100%;
    max-width: var(--barber-width);
    margin-inline: auto;
    padding: 32px var(--barber-space) 56px;
    min-width: 0;
    overflow-wrap: anywhere;
}
.container > h1, .auth-card h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    line-height: 1.45;
    margin-bottom: 24px;
}
.auth-wrap {
    width: 100%;
    min-height: 100vh;
    padding: clamp(24px, 6vw, 72px) 18px 80px;
    background: var(--barber-bg);
    color: var(--barber-text);
}
.auth-card {
    width: 100%;
    max-width: 500px;
    min-width: 0;
    margin-inline: auto;
    padding: clamp(22px, 4vw, 40px);
    border: 1px solid var(--barber-border);
    border-top: 4px solid var(--barber-red);
    background: var(--barber-surface);
    color: var(--barber-text);
    overflow-wrap: anywhere;
}
.auth-brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 20px;
    color: var(--barber-muted);
    font-size: .875rem;
    font-weight: 700;
}
.auth-alt {
    margin: 24px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--barber-border);
    font-size: .875rem;
    line-height: 2;
}
.auth-alt a { display: inline-block; min-height: 44px; padding-block: 8px; color: var(--barber-focus); }
.form-group { min-width: 0; margin-bottom: 22px; }
.form-group > label { display: block; margin-bottom: 8px; font-weight: 700; }
:where(.form-group, .auth-card) :where(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]), select, textarea) {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 11px 12px;
    border: 1px solid #758078;
    border-radius: 3px;
    background: #fff;
    color: var(--barber-text);
    font-size: 16px;
    line-height: 1.5;
}
:where(.form-group, .auth-card) textarea { min-height: 140px; }
:where(.form-group, .auth-card) input::placeholder,
:where(.form-group, .auth-card) textarea::placeholder { color: #59635d; opacity: 1; }
.form-hint, .text-muted { color: var(--barber-muted); }
.form-hint { margin: 8px 0 0; font-size: .875rem; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    max-width: 100%;
    padding: 11px 22px;
    border: 1px solid var(--barber-red);
    border-radius: 3px;
    background: var(--barber-red);
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.btn:hover { background: var(--barber-red-hover); color: #fff; text-decoration: none; }
.btn-secondary { background: #fff; color: var(--barber-text); border-color: #758078; }
.btn-secondary:hover { background: #edf0ec; color: var(--barber-text); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 8px 14px; font-size: .875rem; }
.btn-lg { min-height: 52px; }
.btn:disabled { background: #e7eae7; color: #58625b; border-color: #a6afa8; cursor: wait; }
.alert {
    margin: 20px 0;
    padding: 16px 18px;
    border: 1px solid var(--barber-border);
    border-left-width: 4px;
    background: #fff;
    color: var(--barber-text);
    overflow-wrap: anywhere;
}
.alert.error { background: #fff1ef; color: #81251f; border-color: #a82f29; }
.alert.success { background: #edf6ef; color: #235432; border-color: #497754; }
.alert.info { background: #eef5f6; color: #164c5c; border-color: #477582; }
.alert.warning, .alert.warn { background: #fff7e5; color: #68490c; border-color: #947125; }
.card {
    min-width: 0;
    margin-bottom: 24px;
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid var(--barber-border);
    background: #fff;
    color: var(--barber-text);
    overflow-wrap: anywhere;
}
.card-title { margin: 0 0 18px; font-size: 1.2rem; font-weight: 800; line-height: 1.6; }
.card > :last-child { margin-bottom: 0; }
.grid { display: grid; gap: 24px; min-width: 0; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid > .card { margin-bottom: 0; }
.container > .grid { margin-bottom: 32px; }
.container > .hero { padding-block: 12px 24px; }
.container > .hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.flex { display: flex; align-items: center; gap: 12px; }
.flex-wrap { flex-wrap: wrap; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { min-width: 0; padding: 20px; border: 1px solid var(--barber-border); background: #fff; color: var(--barber-text); }
.stat-label { color: var(--barber-muted); font-size: .875rem; }
.stat-value { font-size: 1.8rem; line-height: 1.5; font-weight: 800; overflow-wrap: anywhere; }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--barber-border); text-align: left; vertical-align: top; }
.table th { background: #edf0ec; color: var(--barber-text); }
.table td { overflow-wrap: anywhere; }
.badge { display: inline-block; padding: 3px 9px; border: 1px solid var(--barber-border); background: #edf0ec; color: #35443a; font-size: .8125rem; font-weight: 700; }
.badge.ok { background: #edf6ef; color: #235432; border-color: #497754; }
.badge.warn { background: #fff7e5; color: #68490c; border-color: #947125; }
.mt-2 { margin-top: 24px; }
.mb-2 { margin-bottom: 24px; }
.text-center { text-align: center; }
.site-footer { padding: 28px 18px 80px; border-top: 1px solid var(--barber-border); background: #fff; color: var(--barber-muted); text-align: center; font-size: .875rem; }
.navbar { background: #fff; color: var(--barber-text); border-bottom: 1px solid var(--barber-border); }
.navbar .nav-inner { max-width: var(--barber-width); margin-inline: auto; min-width: 0; }
.navbar a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.navbar .nav-brand { font-size: 1rem; font-weight: 800; }
.navbar .nav-links { min-width: 0; }
.navbar a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--barber-red); text-decoration-thickness: 2px; }
.lg { overflow-wrap: anywhere; }
.lg table { table-layout: fixed; }
.lg .nav a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 700px) {
    .grid.cols-2, .grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
    .navbar .nav-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
    .navbar .nav-links { gap: 4px 16px; }
    .container { padding: 24px 18px 48px; }
    .auth-wrap { padding: 24px 16px 80px; }
}
