:root {
    --shoot-color-bg: #f7f7f5;
    --shoot-color-surface: #ffffff;
    --shoot-color-border: #ddd;
    --shoot-color-text: #222;
    --shoot-color-text-sub: #666;
    --shoot-color-primary: #2f6f4f;
    --shoot-color-primary-text: #ffffff;
    --shoot-color-danger: #c0392b;
    --shoot-radius: 8px;
    --shoot-spacing: 16px;
    --shoot-font: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--shoot-color-bg);
    color: var(--shoot-color-text);
    font-family: var(--shoot-font);
    line-height: 1.6;
}

#app {
    max-width: 480px;
    margin: 0 auto;
    padding: var(--shoot-spacing);
}

.progress {
    font-size: 13px;
    color: var(--shoot-color-text-sub);
    margin-bottom: 8px;
}

.wizard-root {
    background: var(--shoot-color-surface);
    border: 1px solid var(--shoot-color-border);
    border-radius: var(--shoot-radius);
    padding: var(--shoot-spacing);
}

.loading {
    text-align: center;
    color: var(--shoot-color-text-sub);
}

.step-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 4px;
}

.step-desc {
    font-size: 13px;
    color: var(--shoot-color-text-sub);
    margin: 0 0 var(--shoot-spacing);
}

.notice-emphasis {
    font-size: 16px;
    font-weight: bold;
    color: var(--shoot-color-primary);
    margin: 0 0 var(--shoot-spacing);
}

.flow-box {
    border: 1px solid var(--shoot-color-primary);
    border-radius: var(--shoot-radius);
    padding: 12px;
    margin-bottom: var(--shoot-spacing);
    background: rgba(47, 111, 79, 0.06);
}

.flow-box-title {
    font-weight: bold;
    margin: 0 0 8px;
}

.flow-box ol,
.flow-box ul {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.7;
}

.flow-box li {
    margin-bottom: 4px;
}

.flow-box a {
    color: var(--shoot-color-primary);
    word-break: break-all;
}

.terms-box {
    border: 1px solid var(--shoot-color-border);
    border-radius: var(--shoot-radius);
    padding: 12px;
    margin-bottom: var(--shoot-spacing);
    font-size: 13px;
    line-height: 1.7;
}

.terms-box h3 {
    margin-top: 0;
    font-size: 15px;
}

.terms-box a {
    color: var(--shoot-color-primary);
}

.terms-box li {
    margin-bottom: 8px;
}

.card-brands-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: var(--shoot-spacing) auto 0;
}

.hairstyle-sample-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 0 var(--shoot-spacing);
    border-radius: var(--shoot-radius);
}

.field {
    margin-bottom: var(--shoot-spacing);
}

.field label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
}

.field .hint {
    font-size: 12px;
    color: var(--shoot-color-text-sub);
    margin-top: 4px;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="time"],
.field textarea,
.field select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--shoot-color-border);
    border-radius: var(--shoot-radius);
    font-size: 15px;
    font-family: inherit;
}

.field textarea {
    min-height: 80px;
    resize: vertical;
}

.choice-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.choice-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--shoot-color-border);
    border-radius: var(--shoot-radius);
    cursor: pointer;
}

.choice-item input {
    margin-top: 3px;
}

.choice-item.is-selected {
    border-color: var(--shoot-color-primary);
    background: rgba(47, 111, 79, 0.06);
}

.pose-quantity-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: var(--shoot-spacing);
}

.pose-quantity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--shoot-color-border);
    border-radius: var(--shoot-radius);
}

.pose-quantity-label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: none;
    cursor: pointer;
}

.pose-quantity-label.is-selected {
    color: var(--shoot-color-primary);
    font-weight: bold;
}

.pose-quantity-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pose-quantity-btn {
    flex: none;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 16px;
    line-height: 1;
}

.pose-quantity-count {
    display: inline-block;
    min-width: 20px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
}

.pose-other-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.pose-other-row input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--shoot-color-border);
    border-radius: var(--shoot-radius);
    font-size: 15px;
    font-family: inherit;
}

.pose-other-remove {
    flex: none;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    color: var(--shoot-color-danger);
    border-color: var(--shoot-color-danger);
}

.date-priority-group {
    border: 1px solid var(--shoot-color-border);
    border-radius: var(--shoot-radius);
    padding: 12px;
    margin-bottom: 12px;
}

.date-priority-group h4 {
    margin: 0 0 8px;
    font-size: 14px;
}

.calendar-picker {
    border: 1px solid var(--shoot-color-border);
    border-radius: var(--shoot-radius);
    padding: 10px;
    margin-bottom: 8px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.calendar-nav-btn {
    flex: none;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    border: 1px solid var(--shoot-color-border);
    border-radius: var(--shoot-radius);
    background: var(--shoot-color-surface);
    cursor: pointer;
}

.calendar-month-label {
    font-weight: bold;
    font-size: 15px;
}

.calendar-week-row,
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-weekday {
    text-align: center;
    font-size: 12px;
    color: var(--shoot-color-text-sub);
    padding: 4px 0;
}

.calendar-cell {
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--shoot-radius);
    background: none;
    font-size: 13px;
    font-family: inherit;
    color: var(--shoot-color-text);
    cursor: pointer;
    padding: 0;
}

.calendar-cell-empty {
    cursor: default;
}

.calendar-cell:not(.is-disabled):not(.calendar-cell-empty):hover {
    border-color: var(--shoot-color-primary);
}

.calendar-cell.is-selected {
    background: var(--shoot-color-primary);
    color: var(--shoot-color-primary-text);
}

.calendar-cell.is-disabled {
    color: var(--shoot-color-text-sub);
    cursor: not-allowed;
    opacity: 0.55;
}

.calendar-day-number {
    line-height: 1.3;
}

.calendar-phone-mark {
    font-size: 10px;
    line-height: 1;
}

.calendar-closed-mark {
    font-size: 10px;
    line-height: 1;
    color: var(--shoot-color-danger);
}

.calendar-availability-mark {
    font-size: 10px;
    line-height: 1;
    font-weight: bold;
    white-space: nowrap;
}

.availability-part.availability-circle {
    color: #1e7d32;
}

.availability-part.availability-triangle {
    color: #b7791f;
}

.availability-part.availability-cross {
    color: var(--shoot-color-danger);
}

.calendar-legend {
    margin: 8px 0 0;
}

.calendar-selected-value {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: bold;
    color: var(--shoot-color-primary);
}

.error-text {
    color: var(--shoot-color-danger);
    font-size: 13px;
    margin-top: 4px;
}

.warning-text {
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    margin-top: 8px;
}

.button-row {
    display: flex;
    gap: 8px;
    margin-top: var(--shoot-spacing);
}

.btn {
    flex: 1;
    display: inline-block;
    padding: 12px;
    border-radius: var(--shoot-radius);
    border: 1px solid var(--shoot-color-border);
    background: var(--shoot-color-surface);
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.btn-primary {
    background: var(--shoot-color-primary);
    color: var(--shoot-color-primary-text);
    border-color: var(--shoot-color-primary);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.confirm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.confirm-table th,
.confirm-table td {
    text-align: left;
    padding: 6px 4px;
    border-bottom: 1px solid var(--shoot-color-border);
    vertical-align: top;
}

.confirm-table th {
    width: 40%;
    color: var(--shoot-color-text-sub);
    font-weight: normal;
}

.estimate-box {
    border: 1px solid var(--shoot-color-primary);
    border-radius: var(--shoot-radius);
    padding: 12px;
    margin-top: var(--shoot-spacing);
    background: rgba(47, 111, 79, 0.06);
}

.gift-box {
    border-color: #c98a1f;
    background: rgba(201, 138, 31, 0.08);
}

.gift-box ul {
    color: var(--shoot-color-text);
    font-size: 13px;
}

.estimate-breakdown {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 8px;
}

.estimate-breakdown td {
    padding: 3px 0;
    border-bottom: 1px dashed var(--shoot-color-border);
}

.estimate-breakdown td:last-child {
    text-align: right;
    white-space: nowrap;
}

.estimate-total {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 4px;
}

.estimate-duration {
    font-size: 15px;
    font-weight: bold;
    margin: 4px 0;
}

.live-estimate {
    position: sticky;
    bottom: 0;
    margin-top: var(--shoot-spacing);
    padding: 10px 12px;
    border: 1px solid var(--shoot-color-primary);
    border-radius: var(--shoot-radius);
    background: var(--shoot-color-surface);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
}

.live-estimate-label {
    margin: 0 0 4px;
    font-size: 12px;
    color: var(--shoot-color-text-sub);
}

.live-estimate .estimate-total,
.live-estimate .estimate-duration {
    margin: 0;
}

.estimate-box .hint {
    margin-bottom: 8px;
}

.estimate-box ul {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 12px;
    color: var(--shoot-color-text-sub);
}

.estimate-box li {
    margin-bottom: 4px;
}

.estimate-box li strong {
    color: var(--shoot-color-primary);
    font-size: 13px;
}
