/* ===== リセット & ベース ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --cream: #fdf8f2;
    --beige-light: #f5ede0;
    --beige: #e8d5bc;
    --beige-mid: #d4b896;
    --brown-light: #c4a882;
    --brown: #9c7b58;
    --brown-dark: #6e5038;
    --brown-deep: #4a3525;
    --text-dark: #2c1f14;
    --text-mid: #5a4433;
    --text-muted: #9c8878;
    --green-sage: #7a8c6e;
    --red-soft: #c06060;
    --gold: #b89a5c;
    --white: #ffffff;
    --shadow-soft: 0 2px 16px rgba(110, 80, 56, 0.10);
    --shadow-card: 0 4px 24px rgba(110, 80, 56, 0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --font-serif: 'Noto Serif JP', 'Yu Mincho', serif;
    --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    --transition: 0.2s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--brown);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--brown-dark); }

img { max-width: 100%; display: block; }

/* ===== ヘッダー ===== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--beige);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(110, 80, 56, 0.06);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 24px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    line-height: 1;
    text-decoration: none;
}
.logo-jp {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--brown-deep);
    letter-spacing: 0.05em;
}
.logo-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 2px;
}

.site-nav {
    display: none;
}

.site-nav a {
    font-size: 0.875rem;
    color: var(--text-mid);
    padding: 6px 14px;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
    font-weight: 500;
}
.site-nav a:hover {
    background: var(--beige-light);
    color: var(--brown-dark);
}

/* ===== メイン ===== */
.site-main { flex: 1; }

/* ===== フッター ===== */
.site-footer {
    background: var(--brown-deep);
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 36px 24px;
    margin-top: auto;
}
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer-name {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 4px;
}
.footer-note { font-size: 0.8rem; margin-bottom: 12px; }
.footer-copy { font-size: 0.75rem; opacity: 0.5; }

/* ===== コンテナ ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.admin-settings-section {
    padding: 48px 0 80px;
}

.admin-settings-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--beige);
}

.weekday-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.checkbox-label-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: var(--cream);
    border: 1px solid var(--beige-mid);
    border-radius: var(--radius);
    cursor: pointer;
}

.checkbox-label-inline input[type="checkbox"] {
    accent-color: var(--brown);
    width: 18px;
    height: 18px;
}

.closed-dates-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
}

.closed-date-input {
    padding: 10px 12px;
    border: 1px solid var(--beige-mid);
    border-radius: var(--radius);
    min-width: 180px;
}

.closed-dates-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.closed-date-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: var(--cream);
    border: 1px solid var(--beige-mid);
    border-radius: var(--radius);
}

.closed-date-text {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.special-date-section {
    border-width: 1.5px;
}

.special-date-open {
    background: #f5fbf4;
    border-color: #b9d9b4;
}

.special-date-closed {
    background: #fff6f5;
    border-color: #efb9b2;
}

.special-date-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.special-date-title::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.special-date-open .special-date-title::before {
    background: #4f8f46;
}

.special-date-closed .special-date-title::before {
    background: #c5534b;
}

.special-date-main-note {
    color: var(--text-dark);
    font-weight: 600;
}

.special-date-sub-note {
    font-size: 0.84rem;
}

.special-date-list {
    margin-top: 16px;
}

.special-date-item {
    background: rgba(255,255,255,0.78);
}

.special-date-empty {
    padding: 14px 16px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.72);
    border: 1px dashed var(--beige-mid);
    border-radius: var(--radius);
    font-size: 0.92rem;
}

.btn-special-open {
    background: #5f9f56;
    color: var(--white);
}

.btn-special-open:hover {
    background: #477f3f;
    color: var(--white);
}

.btn-special-closed {
    background: #c85f58;
    color: var(--white);
}

.btn-special-closed:hover {
    background: #aa4740;
    color: var(--white);
}

.form-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 6px;
}

/* ===== フラッシュ ===== */
.flash-container { padding: 12px 24px 0; max-width: 1100px; margin: 0 auto; }
.flash {
    padding: 12px 18px;
    border-radius: var(--radius);
    margin-bottom: 10px;
    font-size: 0.875rem;
    font-weight: 500;
}
.flash-error { background: #fdecea; color: #8b2a2a; border: 1px solid #f5c5c5; }
.flash-success { background: #edf5ea; color: #2a5f24; border: 1px solid #b8ddb4; }

/* ===== ページヒーロー ===== */
.page-hero {
    background: linear-gradient(135deg, var(--beige-light) 0%, var(--beige) 100%);
    padding: 40px 24px 44px;
    text-align: center;
    border-bottom: 1px solid var(--beige-mid);
}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 500;
    color: var(--brown-deep);
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.hero-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ===== カレンダーセクション ===== */
.calendar-section { padding: 48px 0 80px; }

.site-images-section {
    padding: 32px 0 0;
}

.top-image-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.top-image-grid-1 {
    grid-template-columns: 1fr;
}

.top-image-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.top-image-item,
.event-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--beige);
    box-shadow: var(--shadow-soft);
    background: var(--white);
}

.top-image-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.event-image-wrap {
    margin-top: 16px;
}

.event-image-wrap img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}
.nav-btn {
    padding: 8px 20px;
    background: var(--white);
    border: 1px solid var(--beige);
    border-radius: 50px;
    color: var(--brown);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition);
}
.nav-btn:hover {
    background: var(--beige-light);
    border-color: var(--brown-light);
    color: var(--brown-dark);
}
.nav-btn-disabled,
.nav-btn-disabled:hover {
    color: var(--text-muted);
    background: var(--beige-light);
    border-color: var(--beige);
    cursor: not-allowed;
    opacity: 0.65;
}
.calendar-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--brown-deep);
    min-width: 180px;
    text-align: center;
}

.booking-months-notice {
    margin: -8px 0 18px;
    text-align: center;
    color: var(--brown-deep);
    font-weight: 600;
    font-size: 0.95rem;
}

.calendar-legend {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.legend-item { display: flex; align-items: center; gap: 6px; }
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.dot-available { background: var(--green-sage); }
.dot-weekend  { background: #6366f1; }
.dot-limited  { background: var(--gold); }
.dot-full     { background: var(--beige-mid); }
.dot-closed   { background: #ccc; }

/* カレンダーグリッド */
.calendar-grid {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    border: 1px solid var(--beige);
}
.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--brown-deep);
}
.cal-day-label {
    text-align: center;
    padding: 12px 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.05em;
}
.cal-day-label.cal-sat { color: #a8c4e0; }
.cal-day-label.cal-sun { color: #f0a0a0; }

.calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: var(--beige);
}

.cal-cell {
    background: var(--white);
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    position: relative;
    transition: background var(--transition);
}
.cal-empty { background: var(--cream); }
.cal-closed { background: #f5f5f5; }
.cal-past { background: var(--cream); opacity: 0.5; }
.cal-today { box-shadow: inset 0 0 0 2px var(--brown-light); }

.cal-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    height: 100%;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    border-radius: 4px;
    padding: 4px;
    transition: background var(--transition);
}
.cal-available .cal-link:hover { background: var(--beige-light); }
.cal-limited .cal-link:hover { background: #fdf6e8; }

.cal-num {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}
.cal-sat .cal-num { color: #4a7aaa; }
.cal-sun .cal-num { color: #aa4444; }
.cal-closed .cal-num,
.cal-past .cal-num { color: var(--text-muted); }

.cal-avail {
    font-size: 0.68rem;
    padding: 2px 7px;
    border-radius: 50px;
    font-weight: 500;
    white-space: nowrap;
}
.cal-available .cal-avail {
    background: rgba(122, 140, 110, 0.15);
    color: var(--green-sage);
}
.cal-weekend .cal-link:hover { background: #f0f0fe; }
.cal-weekend .cal-avail {
    background: rgba(99, 102, 241, 0.12);
    color: #4f46e5;
}
.cal-limited .cal-avail {
    background: rgba(184, 154, 92, 0.15);
    color: var(--gold);
}
.cal-status {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.cal-full .cal-num { color: var(--text-muted); }

/* ===== カレンダー下部情報 ===== */
.calendar-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}
.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--beige);
}
.info-card h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--brown-deep);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--beige);
}
.info-card ul {
    list-style: none;
    padding: 0;
}
.info-card ul li {
    font-size: 0.875rem;
    color: var(--text-mid);
    padding: 5px 0;
    padding-left: 14px;
    position: relative;
}
.info-card ul li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--brown-light);
}
.info-body {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.9;
    white-space: pre-line;
}
.phone-guide {
    margin: 32px auto 0;
    padding: 28px 24px;
    max-width: 760px;
    text-align: center;
    background: var(--beige-light);
    border: 1px solid var(--beige);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.phone-guide-title {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 14px;
    white-space: pre-line;
}
.phone-guide-number {
    display: inline-block;
    color: var(--brown-deep);
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.phone-guide-number:hover {
    color: var(--brown);
}
.shoot-list li { display: inline-block; padding: 3px 10px; }
.shoot-list li::before { display: none; }

/* ===== フォームセクション ===== */
.booking-section { padding: 48px 0 80px; }

.booking-form { display: flex; flex-direction: column; gap: 32px; }

.form-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--beige);
}
.section-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--brown-deep);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--beige);
}

.form-group { margin-bottom: 18px; }
.form-group:last-child { margin-bottom: 0; }

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-mid);
    margin-bottom: 7px;
}
.form-label.required::after {
    content: ' *';
    color: var(--red-soft);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 11px 14px;
    background: var(--cream);
    border: 1px solid var(--beige-mid);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
    -webkit-appearance: none;
}
.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239c7b58' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--brown-light);
    box-shadow: 0 0 0 3px rgba(196, 168, 130, 0.2);
}
.form-textarea { resize: vertical; min-height: 100px; }

.form-help {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 8px 0;
}

.image-manage-row {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--beige-light);
}

.image-manage-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.image-preview {
    width: 180px;
    max-width: 100%;
    border: 1px solid var(--beige);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--cream);
}

.image-preview img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.shoot-plan-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.shoot-plan-row {
    padding: 18px;
    border: 1px solid var(--beige);
    border-radius: var(--radius);
    background: var(--cream);
}
.shoot-plan-grid {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) 120px 100px 120px;
    gap: 14px;
    align-items: end;
}
.shoot-plan-enabled {
    display: flex;
    align-items: center;
    min-height: 42px;
}
.shoot-plan-description {
    min-height: 64px;
}
.shoot-plan-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

/* 時間スロット */
.time-slot-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.time-slot-label { cursor: pointer; }
.time-slot-label input[type="radio"] { display: none; }
.time-slot-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 2px solid var(--beige);
    border-radius: var(--radius);
    background: var(--cream);
    transition: all var(--transition);
}
.time-slot-label:not(.time-slot-disabled):hover .time-slot-box {
    border-color: var(--brown-light);
    background: var(--beige-light);
}
.time-slot-label input:checked + .time-slot-box {
    border-color: var(--brown);
    background: rgba(156, 123, 88, 0.08);
    box-shadow: 0 0 0 3px rgba(156, 123, 88, 0.15);
}
.time-slot-disabled .time-slot-box {
    opacity: 0.4;
    cursor: not-allowed;
}
.time-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}
.time-badge {
    font-size: 0.7rem;
    padding: 2px 9px;
    border-radius: 50px;
    font-weight: 600;
}
.badge-open { background: rgba(122, 140, 110, 0.15); color: var(--green-sage); }
.badge-full { background: rgba(192, 96, 96, 0.12); color: var(--red-soft); }

/* ラジオグループ */
.radio-group { display: flex; gap: 20px; }
.radio-label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.radio-label input[type="radio"] { accent-color: var(--brown); width: 16px; height: 16px; }
.radio-label span { font-size: 0.9rem; color: var(--text-mid); }

/* フォームアクション */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 8px;
}

/* ===== ボタン ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    letter-spacing: 0.05em;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--brown);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--brown-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(110, 80, 56, 0.3);
}
.btn-outline {
    background: transparent;
    color: var(--brown);
    border: 1.5px solid var(--brown-light);
}
.btn-outline:hover {
    background: var(--beige-light);
    color: var(--brown-dark);
    border-color: var(--brown);
}
.btn-danger {
    background: var(--red-soft);
    color: var(--white);
}
.btn-danger:hover {
    background: #a04040;
    color: var(--white);
}
.btn-sm { padding: 7px 16px; font-size: 0.8rem; }
.btn-full { width: 100%; }

/* ===== 完了ページ ===== */
.complete-section { padding: 60px 0 80px; }
.complete-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--beige);
    text-align: center;
}
.complete-icon {
    width: 64px;
    height: 64px;
    background: var(--green-sage);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}
.complete-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--brown-deep);
    margin-bottom: 12px;
}
.complete-message {
    font-size: 0.9rem;
    color: var(--text-mid);
    margin-bottom: 32px;
    line-height: 1.8;
}
.complete-details {
    background: var(--cream);
    border: 1px solid var(--beige);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 28px;
    text-align: left;
}
.detail-row {
    display: flex;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid var(--beige);
    gap: 16px;
}
.detail-row:last-child { border-bottom: none; }
.detail-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    width: 90px;
    flex-shrink: 0;
}
.detail-value {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}
.complete-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.8;
}

/* ===== お知らせボックス ===== */
.notice-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--beige);
}
.notice-box p { margin-bottom: 20px; color: var(--text-mid); }

/* ===== 管理画面 ===== */
.admin-body {
    background: #f0ece6;
    font-family: var(--font-sans);
}

.admin-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.admin-login-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--beige);
}
.admin-login-logo {
    text-align: center;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.login-form { display: flex; flex-direction: column; gap: 18px; }

.admin-layout { min-height: 100vh; display: flex; flex-direction: column; }

.admin-header {
    background: var(--brown-deep);
    color: var(--white);
    padding: 0 24px;
}
.admin-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.admin-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.admin-logo .logo-jp { color: var(--white); font-size: 1rem; }
.admin-label {
    font-size: 0.75rem;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    padding: 2px 10px;
    border-radius: 50px;
    letter-spacing: 0.05em;
}
.admin-nav { display: flex; align-items: center; gap: 8px; }
.admin-nav a {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
}
.admin-nav a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}
.logout-link { color: rgba(255,255,255,0.5) !important; }

.admin-main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 24px 60px;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.admin-tabs-grouped {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.admin-tab-group {
    background: var(--white);
    border: 1px solid var(--beige);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow-soft);
}

.admin-tab-group-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brown-deep);
    margin-bottom: 8px;
}

.admin-tab-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-tab {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid var(--beige);
    border-radius: var(--radius);
    background: var(--cream);
    color: var(--text-mid);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.25;
}

.admin-tab:hover {
    background: var(--beige-light);
    color: var(--brown-dark);
}

.admin-tab-active {
    background: var(--brown);
    border-color: var(--brown);
    color: var(--white);
}

.admin-tab-active:hover {
    background: var(--brown-dark);
    color: var(--white);
}

.booking-months-preview {
    background: var(--cream);
    border: 1px solid var(--beige);
    border-radius: var(--radius);
    padding: 18px;
}

.booking-months-current {
    color: var(--brown-deep);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.booking-months-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.booking-months-list li {
    padding: 4px 10px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--beige);
    color: var(--text-mid);
    font-size: 0.85rem;
}

.admin-page-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.admin-page-header h1 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--brown-deep);
    font-weight: 500;
}
.admin-page-header h1 small {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-weight: 400;
}
.back-link {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.back-link:hover { color: var(--brown); }

/* 統計カード */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--beige);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: box-shadow var(--transition), transform var(--transition);
    cursor: pointer;
}
.stat-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.stat-active { box-shadow: 0 0 0 2px var(--brown-light) !important; }
.stat-num {
    font-size: 2rem;
    font-weight: 600;
    color: var(--brown-deep);
    line-height: 1;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); }
.stat-pending  .stat-num { color: #16a34a; }
.stat-approved .stat-num { color: #2563eb; }
.stat-cancelled .stat-num { color: #dc2626; }

/* フィルターフォーム */
.filter-form {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--beige);
}
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-group label { font-size: 0.78rem; color: var(--text-muted); }
.filter-group .form-input,
.filter-group .form-select { padding: 8px 12px; font-size: 0.85rem; background: var(--cream); }

/* 管理テーブル */
.admin-table-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--beige);
    overflow-x: auto;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.admin-table th {
    background: var(--beige-light);
    color: var(--text-mid);
    font-weight: 500;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--beige);
    white-space: nowrap;
}
.admin-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--beige-light);
    color: var(--text-dark);
    vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--cream); }

/* ステータスバッジ（緑:予約済み 青:承認済み 赤:キャンセル） */
.status-badge {
    display: inline-block;
    padding: 4px 13px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.status-pending  { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.status-approved { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.status-cancelled { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* テーブル行の色分け */
.table-row-pending  td { background: #f0fdf4; }
.table-row-approved td { background: #eff6ff; }
.table-row-cancelled td { background: #fff5f5; opacity: 0.75; }
.table-row-pending:hover  td { background: #dcfce7 !important; }
.table-row-approved:hover td { background: #dbeafe !important; }
.table-row-cancelled:hover td { background: #fee2e2 !important; }

/* 空の状態 */
.empty-state {
    padding: 60px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 詳細グリッド */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}
.detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--beige);
}
.detail-card-full { grid-column: 1 / -1; }
.detail-card h3 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--brown-deep);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--beige);
}
.detail-table { width: 100%; border-collapse: collapse; }
.detail-table th {
    text-align: left;
    width: 110px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 0;
    vertical-align: top;
}
.detail-table td {
    font-size: 0.875rem;
    color: var(--text-dark);
    padding: 8px 0;
}
.notes-text {
    font-size: 0.875rem;
    color: var(--text-dark);
    line-height: 1.7;
    white-space: pre-wrap;
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== ボタン追加バリアント ===== */
.btn-approved {
    background: #2563eb;
    color: #fff;
}
.btn-approved:hover { background: #1d4ed8; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }
.btn-cancelled {
    background: #dc2626;
    color: #fff;
}
.btn-cancelled:hover { background: #b91c1c; color: #fff; }
.btn-delete {
    background: transparent;
    color: #991b1b;
    border: 1.5px solid #fca5a5;
}
.btn-delete:hover { background: #fee2e2; color: #7f1d1d; }
.btn-gcal {
    background: #4285f4;
    color: #fff;
    white-space: nowrap;
}
.btn-gcal:hover { background: #3367d6; color: #fff; }

/* ===== ロゴ画像 ===== */
.logo-image {
    width: clamp(300px, 28vw, 350px);
    height: 130px;
    object-fit: cover;
    object-position: center 22%;
}

/* ===== パンくずリスト ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.breadcrumb a { color: var(--brown); }
.breadcrumb a:hover { color: var(--brown-dark); }
.bc-sep { color: var(--beige-mid); }
.bc-current { color: var(--text-dark); font-weight: 500; }
.bc-future { color: var(--beige-mid); }

/* ===== 選択情報バー ===== */
.selected-info-bar {
    background: var(--beige-light);
    border: 1px solid var(--beige);
    border-radius: var(--radius);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.selected-info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.selected-info-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.selected-info-value {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
    font-family: var(--font-serif);
}
.change-link {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--brown);
    border: 1px solid var(--brown-light);
    padding: 4px 12px;
    border-radius: 50px;
    transition: background var(--transition);
}
.change-link:hover { background: var(--white); }

/* ===== 時間選択ページ ===== */
.time-select-section { padding: 40px 0 80px; }
.time-select-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--beige);
}
.time-select-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--brown-deep);
    margin-bottom: 6px;
}
.time-select-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}
.time-btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}
.time-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--cream);
    border: 2px solid var(--beige);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all var(--transition);
    color: var(--text-dark);
}
.time-btn:hover {
    border-color: var(--brown);
    background: var(--beige-light);
    color: var(--text-dark);
    transform: translateX(4px);
    box-shadow: var(--shadow-soft);
}
.time-btn-time {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--brown-deep);
    min-width: 80px;
}
.time-btn-label {
    font-size: 0.82rem;
    color: var(--green-sage);
    background: rgba(122,140,110,0.12);
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 500;
}
.time-btn-arrow {
    margin-left: auto;
    color: var(--brown-light);
    font-size: 1.1rem;
    transition: transform var(--transition);
}
.time-btn:hover .time-btn-arrow { transform: translateX(4px); color: var(--brown); }
.time-back { text-align: center; }

/* 時間選択 - ヘッダー・バッジ */
.time-select-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}
.day-type-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 0.05em;
}
.badge-weekday {
    background: rgba(122, 140, 110, 0.15);
    color: #3a5c30;
    border: 1px solid #86efac;
}
.badge-weekend {
    background: rgba(99, 102, 241, 0.12);
    color: #4338ca;
    border: 1px solid #a5b4fc;
}

/* 予約済みスロット */
.time-btn-booked {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #f9f9f9;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    cursor: not-allowed;
    opacity: 0.55;
}
.time-btn-booked .time-btn-time { color: var(--text-muted); }
.booked-label {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 50px;
    background: #fee2e2;
    color: #991b1b;
    font-weight: 600;
}
.avail-label {
    font-size: 0.82rem;
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(122,140,110,0.12);
    color: var(--green-sage);
    font-weight: 500;
}

/* 空き枠サマリー */
.time-slot-summary {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding: 10px;
    background: var(--cream);
    border-radius: var(--radius);
    border: 1px solid var(--beige);
}
.summary-avail { color: var(--green-sage); font-weight: 600; }
.summary-total { margin-left: 4px; }

/* ===== 操作セクション ===== */
.action-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--beige);
    margin-bottom: 20px;
}
.action-title {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--brown-deep);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--beige);
}
.delete-form { margin-left: auto; }

/* ===== Googleカレンダーセクション ===== */
.gcal-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #bfdbfe;
    margin-bottom: 20px;
}
.gcal-card {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.gcal-info { display: flex; align-items: flex-start; gap: 12px; }
.gcal-icon { font-size: 1.8rem; flex-shrink: 0; }
.gcal-title { font-size: 0.9rem; font-weight: 500; color: var(--text-dark); margin-bottom: 2px; }
.gcal-note { font-size: 0.78rem; color: var(--text-muted); }

/* ===== 年齢入力・短いフィールド ===== */
.form-input-short {
    width: 100px;
    display: inline-block;
}
.form-input-small {
    width: 70px;
    display: inline-block;
}

.business-hours-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.business-hours-row {
    display: grid;
    grid-template-columns: 140px 88px auto;
    gap: 12px;
    align-items: center;
}

.date-slots-date-form {
    margin-bottom: 24px;
}

.date-slots-date-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.date-slot-list {
    display: grid;
    gap: 12px;
    margin: 16px 0;
}

.date-slot-row {
    display: grid;
    grid-template-columns: 140px minmax(150px, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    background: var(--cream);
    border: 1px solid var(--beige-mid);
    border-radius: var(--radius);
}

.date-slot-capacity {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-mid);
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .business-hours-row,
    .date-slots-date-row,
    .date-slot-row {
        grid-template-columns: 1fr;
    }
}

.form-unit {
    margin-left: 6px;
    font-size: 0.95rem;
    color: var(--text-mid);
}

/* ===== チェックボックス ===== */
.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 6px 0;
}
.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--brown);
    cursor: pointer;
    flex-shrink: 0;
}

/* ===== 仮予約確認ページ ===== */
.confirm-notice {
    background: #fff8ee;
    border: 1px solid var(--beige);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 32px;
}
.confirm-notice p {
    margin-bottom: 8px;
    font-size: 0.96rem;
    color: var(--text-dark);
}
.confirm-notice p:last-child { margin-bottom: 0; }
.confirm-notice-warn {
    color: var(--red-soft);
    font-weight: 500;
}

.confirm-summary {
    background: var(--white);
    border: 1px solid var(--beige);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-soft);
}
.confirm-table { margin-top: 16px; }
.confirm-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--beige-light);
    gap: 16px;
}
.confirm-row:last-child { border-bottom: none; }
.confirm-row-sep {
    border-top: 1px solid var(--beige);
    margin-top: 4px;
    padding-top: 16px;
}
.confirm-label {
    flex: 0 0 140px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    padding-top: 2px;
}
.confirm-value {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-dark);
    word-break: break-all;
}

.confirm-form { margin-top: 8px; }

.agree-block {
    background: var(--beige-light);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 28px;
}
.agree-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}
.agree-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--brown);
    cursor: pointer;
    flex-shrink: 0;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    .admin-tabs-grouped {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-tab-links {
        flex-direction: column;
    }

    .admin-tab {
        width: 100%;
    }

    html {
        font-size: 17px;
    }
    body {
        overflow-x: hidden;
    }
    .header-inner {
        padding: 10px 16px;
        min-height: 104px;
    }
    .site-logo {
        margin: 0 auto;
        max-width: 220px;
    }
    .logo-image {
        width: clamp(180px, 54vw, 220px);
        height: 86px;
        object-fit: cover;
        object-position: center 22%;
    }
    .site-nav { display: none; }

    .page-hero { padding: 32px 16px 30px; }
    .hero-title {
        max-width: 100%;
        font-size: 1.38rem;
        line-height: 1.45;
        letter-spacing: 0.03em;
        overflow-wrap: anywhere;
    }
    .hero-sub {
        font-size: 1rem;
        line-height: 1.75;
    }

    .site-images-section { padding-top: 20px; }
    .top-image-grid,
    .top-image-grid-2 {
        grid-template-columns: 1fr;
    }

    .calendar-section { padding: 28px 0 48px; }
    .container, .container-narrow { padding: 0 16px; }

    .calendar-nav {
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }
    .calendar-title {
        font-size: 1.16rem;
        min-width: 132px;
        line-height: 1.4;
    }
    .nav-btn {
        padding: 10px 16px;
        min-height: 44px;
        font-size: 0.88rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .calendar-legend {
        gap: 10px 14px;
        font-size: 0.84rem;
        line-height: 1.6;
        justify-content: flex-start;
    }
    .legend-item {
        flex: 1 1 100%;
        min-width: 0;
        align-items: flex-start;
        overflow-wrap: anywhere;
    }
    .legend-item .dot {
        margin-top: 0.45em;
    }
    .calendar-grid {
        width: 100%;
    }
    .cal-day-label {
        padding: 10px 2px;
        font-size: 0.78rem;
        letter-spacing: 0;
    }

    .cal-cell { min-height: 72px; padding: 7px 2px; }
    .cal-link { padding: 5px 2px; }
    .cal-num {
        font-size: 1.08rem;
        line-height: 1.2;
        font-weight: 600;
    }
    .cal-avail { font-size: 0.68rem; padding: 2px 5px; }
    .cal-status {
        font-size: 0.66rem;
        line-height: 1.3;
        text-align: center;
    }

    .calendar-info { grid-template-columns: 1fr; }
    .info-card {
        padding: 26px 22px;
    }
    .info-card h3 {
        font-size: 1.08rem;
        line-height: 1.5;
    }
    .info-card ul li,
    .info-body {
        font-size: 1rem;
        line-height: 1.95;
    }
    .phone-guide {
        margin-top: 24px;
        padding: 26px 20px;
    }
    .phone-guide-title {
        font-size: 1rem;
        line-height: 1.9;
    }
    .phone-guide-number {
        font-size: 1.4rem;
        line-height: 1.4;
        word-break: break-word;
    }

    .booking-form {
        gap: 24px;
    }
    .form-section,
    .time-select-card,
    .confirm-summary,
    .confirm-notice,
    .agree-block,
    .action-section,
    .gcal-section {
        padding: 26px 22px;
    }
    .section-title,
    .time-select-title {
        font-size: 1.12rem;
        line-height: 1.5;
    }
    .time-select-note,
    .form-note,
    .form-help,
    .breadcrumb,
    .selected-info-label {
        font-size: 0.94rem;
        line-height: 1.7;
    }
    .site-main .form-label,
    .site-main .radio-label span,
    .site-main .checkbox-label,
    .selected-info-value,
    .confirm-value,
    .confirm-notice p,
    .agree-label {
        font-size: 1rem;
        line-height: 1.7;
    }
    .site-main .form-input,
    .site-main .form-select,
    .site-main .form-textarea {
        min-height: 50px;
        padding: 13px 14px;
        font-size: 16px;
        line-height: 1.6;
    }
    .site-main .form-select {
        padding-right: 44px;
        background-position: right 16px center;
        white-space: normal;
        text-overflow: ellipsis;
    }
    .form-input-short,
    .form-input-small {
        width: min(100%, 140px);
    }
    .radio-group {
        gap: 16px;
        flex-wrap: wrap;
    }
    .radio-label,
    .checkbox-label {
        min-height: 44px;
    }
    .radio-label input[type="radio"],
    .checkbox-label input[type="checkbox"] {
        width: 22px;
        height: 22px;
    }
    .time-slot-group { grid-template-columns: 1fr 1fr; }
    .time-slot-box {
        min-height: 56px;
        padding: 16px;
    }
    .time-text {
        font-size: 1.12rem;
    }
    .btn {
        width: 100%;
        min-height: 50px;
        padding: 14px 22px;
        font-size: 1rem;
        line-height: 1.4;
        white-space: normal;
        text-align: center;
    }
    .selected-info-bar {
        padding: 18px;
        gap: 14px;
    }
    .change-link {
        width: 100%;
        margin-left: 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
    }
    .time-btn,
    .time-btn-booked {
        gap: 12px;
        min-height: 64px;
        padding: 18px;
        flex-wrap: wrap;
    }
    .time-btn-time {
        font-size: 1.35rem;
        min-width: 76px;
    }
    .time-btn-label,
    .avail-label,
    .booked-label {
        font-size: 0.88rem;
        line-height: 1.4;
    }

    .booking-section { padding: 28px 0 48px; }
    .time-select-section { padding: 28px 0 48px; }
    .complete-section { padding: 28px 0 48px; }
    .complete-card { padding: 32px 20px; }

    .stats-row { grid-template-columns: repeat(2, 1fr); }

    .detail-grid { grid-template-columns: 1fr; }

    .admin-main { padding: 20px 16px 40px; }
    .filter-form { flex-direction: column; align-items: stretch; }
    .filter-group { width: 100%; }
    .filter-group .form-input,
    .filter-group .form-select { width: 100%; }

    .admin-table th, .admin-table td { padding: 10px 12px; font-size: 0.8rem; }

    .form-actions { flex-direction: column; }
    .form-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
    .container,
    .container-narrow {
        padding: 0 12px;
    }
    .calendar-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .calendar-title {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100%;
        min-width: 0;
    }
    .nav-btn {
        grid-row: 2;
        padding-left: 10px;
        padding-right: 10px;
    }
    .cal-cell {
        min-height: 60px;
        padding: 6px 1px;
    }
    .cal-num { font-size: 1rem; }
    .cal-avail { display: none; }
    .cal-status { font-size: 0.62rem; }
    .form-section,
    .time-select-card,
    .info-card,
    .phone-guide,
    .confirm-summary,
    .confirm-notice,
    .agree-block,
    .action-section,
    .gcal-section {
        padding: 22px 18px;
    }
    .time-slot-group { grid-template-columns: 1fr; }
    .time-btn,
    .time-btn-booked {
        align-items: flex-start;
        flex-direction: column;
    }
    .time-btn-arrow {
        margin-left: 0;
    }
    .stats-row { grid-template-columns: 1fr 1fr; }
}
