/* ショートコードボタン */
/* -------------------------------------------------------------------------------------- */
.custom-therapist-reservation-button {
    background-color: rgba(233, 81, 142);
    color: #fff;
    border-radius: 100px;
    font-size: 1rem;
    width: 298px;
    height: 48px;
    position: relative;
}

.custom-therapist-reservation-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 20px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

.custom-therapist-reservation-button:disabled {
    background-color: #AAAAAC;
    cursor: not-allowed;
}

.custom-therapist-reservation-button::after {
    content: 'ポイントが使える! たまる!';
    position: absolute;
    top: -13px;
    right: 50%;
    transform: translateX(50%);
    background: #fff;
    color: #E9528E;
    border: solid 1px #E9528E;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    white-space: pre;
}


.custom-therapist-reservation-button-lite {
    background-color: #7D40A0;
}

.custom-therapist-reservation-button-lite::after {
    display: none;
}

.custom-therapist-reservation-button-standard {
    margin-top: 12px;
}

#therapist-reservation-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px !important;
}

#weekly-schedule-shortcode {
    width: 100%;
    margin-bottom: 1.25rem;
}

/* 予約フォーム */
/* -------------------------------------------------------------------------------------- */
/* コース選択モーダル */

.custom-therapist-reservation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.custom-therapist-reservation-modal, 
.custom-therapist-reservation-modal * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.custom-therapist-reservation-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 600px;
    height: 100dvh;
    margin: 0 auto;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
    overflow: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 100;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 500;
}

.custom-therapist-reservation-btn-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.custom-therapist-reservation-back-button,
.custom-therapist-reservation-cancell-button {
    width: 150px;
    height: 40px;
    background-color: #AAAAAC;
    border: none;
    border-radius: 40px;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    position: relative;
}

.custom-therapist-reservation-back-button::before,
.custom-therapist-reservation-cancell-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    left: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
}

.custom-therapist-reservation-submit-button {
    width: 150px;
    height: 40px;
    background-color: #E9528E;
    border: none;
    border-radius: 40px;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    position: relative;
}

.custom-therapist-reservation-submit-button--standard {
    background-color: #E9528E;
}

.custom-therapist-reservation-submit-button--lite {
    background-color: #7D40A0;
}

.custom-therapist-reservation-submit-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

.custom-therapist-reservation-price-form-group {
    margin-top: 20px;
    padding: 5px;
    border: 2px solid #E9528E;
    border-radius: 6px;
    width: 200px;
}

.custom-therapist-reservation-form-group {
    width: 100%;
    margin-top: 40px;
}

.custom-therapist-reservation-form-group label {
    font-size: 1rem;
    color: #7D40A0;
    text-align: center;
    border-bottom: solid 1px #7D40A0;
    width: 100%;
}

.custom-therapist-reservation-required-badge {
    background-color: #E9518E;
    white-space: nowrap;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-left: 5px;
    display: inline-block;
    color: #ffffff;
    width: 40px;
    margin-bottom: 2px;
}

.custom-therapist-reservation-not-required-badge {
    background-color: #AAAAAC;
    white-space: nowrap;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-left: 5px;
    display: inline-block;
    color: #ffffff;
    width: 40px;
    margin-bottom: 2px;
}

.custom-therapist-reservation-form-group input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
    cursor: pointer;
    display: inline-block;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
    background: initial;
    border: initial;
    width: auto;
    height: auto;
}

/* 料金表示のスタイル */
#total-price,
#total-price-options,
#final-total-price {
    font-size: 0.875rem;
    color: #535353;
    margin-left: 10px;
}

#weekly-schedule-controls {
    text-align: center;
    margin-top: 20px;
    color: #535353;
}

.week-nav-button {
    background-color: #7D40A0;
    color: #fff;
    padding: 6px 12px;
    margin: 0 10px;
    border-radius: 4px;
}

.week-nav-button:disabled {
    background-color: #AAAAAC;
    color: #fff;
    cursor: not-allowed;
}

#month-year,
#month-year-for-reschedule {
    font-size: 0.875rem;
}

.custom-therapist-reservation-form-group input[type="date"],
.custom-therapist-reservation-form-group select,
.custom-therapist-reservation-form-group input {
    border: none !important;
    background-color: #F5F5F5 !important;
    width: 100% !important;
    color: #535353 !important;
    border-radius: 1.5625rem !important;
    font-size: 0.875rem !important;
    margin-top: 1.25rem !important;
    padding: 0.8125rem !important;
}

#custom-therapist-reservation-form {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    overflow: hidden;
    align-items: center;
}

#weekly-schedule {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    margin-top: 10px;
    width: 100%;
}

.custom-therapist-reservation-weekly-schedule {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100%;
    position: relative;
}

.custom-therapist-reservation-weekly-schedule-shortcode {
    overflow-y: auto;
    overflow-x: hidden;
    height: 50vh;
    position: relative;
}

.custom-therapist-reservation-weekly-schedule table,
.custom-therapist-reservation-weekly-schedule-shortcode table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.custom-therapist-reservation-weekly-schedule table .status-available,
.custom-therapist-reservation-weekly-schedule-shortcode table .status-available {
    background-color: #9E6CBB;
}

.custom-therapist-reservation-weekly-schedule thead th,
.custom-therapist-reservation-weekly-schedule-shortcode thead th {
    position: sticky;
    top: 0;
    background-color: #535353;
    z-index: 2;
    border: 1px solid #535353;
    text-align: center;
    color: #fff;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 2px;
    line-height: 1.2;
}

.custom-therapist-reservation-empty-cell {
    background-color: #F5F5F5 !important;
    font-size: 14px !important;
    color: #535353 !important;
    width: 50px;
    min-width: 50px;
    max-width: 50px;
}

.custom-therapist-reservation-weekly-schedule tbody td,
.custom-therapist-reservation-weekly-schedule-shortcode tbody td{
    border: 1px solid #535353;
    padding: 2px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    word-wrap: break-word;
    height: 20px;
    color: #fff;
    background-color: #9E6CBB;
}

.custom-therapist-reservation-weekly-schedule th,
.custom-therapist-reservation-weekly-schedule-shortcode th {
    background-color: #f2f2f2;
    color: #333;
}

.custom-therapist-reservation-weekly-schedule td.available,
.custom-therapist-reservation-weekly-schedule td.unavailable,
.custom-therapist-reservation-weekly-schedule-shortcode td.available,
.custom-therapist-reservation-weekly-schedule-shortcode td.unavailable {
    font-size: 0.875rem;
    font-weight: 500;
}

.custom-therapist-reservation-weekly-schedule td.available,
.custom-therapist-reservation-weekly-schedule-shortcode td.available {
    font-size: 0.75rem;
    font-weight: 500;
    background-color: #F3E7FD;
    cursor: pointer;
    color: #9E6CBB;
}

.custom-therapist-reservation-weekly-schedule td.unavailable,
.custom-therapist-reservation-weekly-schedule-shortcode td.unavailable {
    background-color: #fff;
    color: #535353;
}

.custom-therapist-reservation-weekly-schedule td.reserved {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 200;
}

.custom-therapist-reservation-weekly-schedule td.reserved--pending {
    background-color: #FFA000;
}

.custom-therapist-reservation-weekly-schedule td.reserved--confirmed {
    background-color: #1976D2;
}

.custom-therapist-reservation-weekly-schedule td.reserved--store_confirmed {
    background-color: #4CAF50;
}

.custom-therapist-reservation-weekly-schedule td.highlight,
.custom-therapist-reservation-weekly-schedule-shortcode td.highlight {
    background-color: #F3E7FD;
    color: #9E6CBB;
}

.custom-therapist-reservation-weekly-schedule td.disabled,
.custom-therapist-reservation-weekly-schedule-shortcode td.disabled {
    background-color: #F5F5F5;
    color: #535353;
    cursor: not-allowed;
    position: relative;
}

.custom-therapist-reservation-weekly-schedule td.selected,
.custom-therapist-reservation-weekly-schedule-shortcode td.selected {
    background-color: #7D40A0;
    color: #fff;
}

.custom-therapist-reservation-weekly-schedule tbody td.status-empty,
.custom-therapist-reservation-weekly-schedule-shortcode tbody td.status-empty {
    color: #535353 !important;
    background-color: #F5F5F5 !important;
}

.custom-therapist-reservation-weekly-schedule-lite-shortcode {
  display: grid;
  gap: 10px;
  width: 100%;
  font-size: 1rem;
  color: #535353;
}

.custom-therapist-reservation-weekly-schedule-lite-shortcode .ctrw-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #AAAAAC;
  border-radius: 10px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.custom-therapist-reservation-weekly-schedule-lite-shortcode .ctrw-date {
  font-weight: bold;
}

.custom-therapist-reservation-weekly-schedule-lite-shortcode .ctrw-item.is-today .ctrw-date {
  color: #E9528E;
}

.custom-therapist-reservation-weekly-schedule-lite-shortcode .ctrw-time {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.custom-therapist-reservation-weekly-schedule-lite-shortcode .ctrw-time:empty::after {
  content: '—';
  color: #AAAAAC;
}

/* -------------------------------------------------------------------------------------- */
/* オプション選択モーダル */

#custom-therapist-reservation-options-form {
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-therapist-reservation-options-form-group {
    width: 100%;
    padding-top: 40px;
    flex: 1;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.custom-therapist-reservation-options-form-group::-webkit-scrollbar {
    display: none;
}

.custom-therapist-reservation-options-form-group label {
    font-size: 1rem;
    color: #7D40A0;
    text-align: center;
    border-bottom: solid 1px #7D40A0;
    width: 100%;
}

.custom-therapist-reservation-options-form-sub-group {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.reservation-no-options-container {
    width: 150px;
}

#reservation-options-container {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 10px;
    padding-top: 10px;
    border-radius: 4px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#reservation-options-container input[type="checkbox"],
.reservation-no-options-container input[type="checkbox"] {
    display: none;
}

/* ラベルのスタイル */
#reservation-options-container label,
.reservation-no-options-container label {
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.875rem;
    min-width: 60px;
    transition: all 0.2s ease;
    border: 1px solid #AAAAAC;
    background-color: #ffffff;
    color: #AAAAAC;
}

#reservation-options-container input[type="checkbox"]:checked + label,
.reservation-no-options-container input[type="checkbox"]:checked + label {
    background-color: #7D40A0;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.no-options-message {
    font-size: 0.875rem;
    margin: 0 auto;
    color: #AAAAAC;
}

.options-info-message {
    font-size: 0.75rem;
    color: #535353;
}



/* -------------------------------------------------------------------------------------- */
/* 詳細選択モーダル */


#custom-therapist-reservation-confirmation-form {
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-therapist-reservation-confirmation-form-group {
    width: 100%;
    padding-top: 40px;
    flex: 1;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.custom-therapist-reservation-confirmation-form-group::-webkit-scrollbar {
    display: none;
}

.custom-therapist-reservation-confirmation-form-group label {
    font-size: 1rem;
    color: #7D40A0;
    text-align: center;
    border-bottom: solid 1px #7D40A0;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
}

.custom-therapist-reservation-confirmation-form-sub-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

#transport-info-message,
#designation-info-message,
#schedule-info-message,
#max-points-message {
    font-size: 0.75rem !important;
    color: #535353;
    margin-top: 20px;
}

#cash-payment-info,
#credit-card-payment-info {
    display:none;
    font-size: 0.75rem;
    color: #535353;
}

#payment-info-message {
    display:none;
    font-size: 0.75rem;
    color: #535353;
    margin-top: 10px;
}

.transport-info-message-note,
.designation-info-message-note,
.max-points-message-note {
    font-size: 0.75rem;
    color: #535353;
}

#contact-info-message {
    color: #535353;
    font-size: 0.75rem;
    margin-top: 1.25rem;
}

#custom-therapist-reservation-confirmation-modal .radio-group {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    width: 230px;
}

#custom-therapist-reservation-confirmation-modal .radio-group input[type="radio"] {
    display: none;
}

#custom-therapist-reservation-confirmation-modal .radio-group .radio-label {
    background-color: #ffffff;
    border: 1px solid #AAAAAC;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.875rem;
    min-width: 60px;
    transition: all 0.2s ease;
    color: #AAAAAC;
    display: inline-block;
    text-align: center;
}

#custom-therapist-reservation-confirmation-modal .radio-group input[type="radio"]:checked + .radio-label {
    background-color: #7D40A0;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

#custom-therapist-reservation-confirmation-modal .designation-option {
    width: 100%;
    margin-top: 10px;
}

#custom-therapist-reservation-confirmation-modal .designation-option .radio-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 16px;
    border-radius: 16px;
}

#custom-therapist-reservation-confirmation-modal .designation-option .radio-label br {
    margin-bottom: 5px;
}

#custom-therapist-reservation-confirmation-modal .designation-counter {
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

#custom-therapist-reservation-confirmation-modal .designation-counter button {
    -webkit-tap-highlight-color: transparent;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    border: 1px solid #AAAAAC;
    background: #fff;
    color: #7D40A0;
    font-size: 1.125rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, transform .06s ease, box-shadow .2s ease, color .2s ease;
    box-sizing: border-box;
}

#custom-therapist-reservation-confirmation-modal .designation-counter button:hover{
    background: #F3E7FD; 
    border-color: #7D40A0;
}

#custom-therapist-reservation-confirmation-modal .designation-counter button:active {
    transform: scale(0.96);
}

#custom-therapist-reservation-confirmation-modal 
.designation-option input[type="radio"]:checked + .radio-label .designation-counter button {
    background-color: #ffffff;
    color: #7D40A0;
}

#custom-therapist-reservation-confirmation-modal .designation-count-display {
    min-width: 2.25rem;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
}

.custom-therapist-reservation-confirmation-form-sub-group input,
.custom-therapist-reservation-confirmation-form-sub-group select {
    font-size: 0.875rem;
    padding: 13px;
    border: none;
    border-radius: 25px;
    background-color: #F5F5F5;
    width: 100%;
    color: #535353;
    margin-top: 20px;
}

.custom-therapist-reservation-agree-checkbox-group {
    display: flex;
    justify-content: center;
    font-size: 0.75rem;
    color: #535353;
    margin-top: 10px;
}

.custom-therapist-reservation-agree-checkbox-group a {
    color: #7D40A0;
    text-decoration: underline;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox input[type="checkbox"] {
    display: none; /* デフォルト非表示 */
}

.custom-checkbox .checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid #AAAAAC;
    border-radius: 3px;
    margin-right: 5px;
    box-sizing: border-box;
    position: relative;
    flex-shrink: 0;
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: #E9518E;
    border-color: #E9518E;
}

.custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: 0px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark::after {
    display: block;
}

.no-transport-price-message {
    font-size: 0.875rem;
    margin: 0 auto;
    color: #AAAAAC;
    text-align: center;
    margin-top: 20px;
}

.no-designation-message {
    font-size: 0.875rem;
    margin: 0 auto;
    color: #AAAAAC;
    text-align: center;
    margin-top: 20px;
}

.line-link-guide {
  display: inline-block;
  font-size: 0.875rem;
  color: #AAAAAC;
  text-decoration: underline;
  cursor: pointer;
  text-align: right;
  margin-top: 5px;
  display: none;
}


.contact-within-therame-line {
    display: flex;
    align-items: center;
    text-align: center;
    color: #535353;
    font-size: 0.875rem;
    margin: 20px 0;
    justify-content: center;
}

.contact-within-therame-line::before,
.contact-within-therame-line::after {
    content: "";
    flex: none;
    width: 80px;
    border-bottom: 1px solid #AAAAAC;
    margin: 0 10px;
}

.contact-within-therame{
    font-size: 0.875rem;
    text-align: center;
    color: #535353;
}

#points-section .points-mode-group {
    margin-top: 0.625rem;
}

#points-mode-coupon {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#apply-coupon-button {
    color: #7D40A0;
    border: solid 1px #7D40A0;
    background: #fff;
    border-radius: 1.25rem;
    font-size: 0.875rem;
    min-width: 5rem;
    padding: 0.5rem 0.9375rem;
    margin-top: 0.625rem;
}

#coupon-apply-message {
    color: #535353;
    font-size: 0.875rem;
    margin-top: 0.625rem;
}



/* -------------------------------------------------------------------------------------- */
/* 最終確認モーダル */

.custom-therapist-reservation-modal-content-for-final {
    background: #ffffff;
    width: 100%;
    max-width: 600px;
    height: 100dvh;
    margin: 0 auto;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
    overflow: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 100;
    font-weight: 500;
}

.custom-therapist-reservation-final-confirmation-form {
    overflow-y: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#reservation-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#reservation-details::-webkit-scrollbar {
    display: none;
}

.custom-therapist-reservation-final-confirmation-form-top {
    padding-left: 20px;
    padding-right: 20px;
    background: #fff;
    padding-top: 40px;
}

.custom-therapist-reservation-final-confirmation-form-bottom {
    padding-left: 20px;
    padding-right: 20px;
    background: #F5F5F5;
    padding-bottom: 40px;
    margin-top: -60px;
    padding-top: 60px;
}

.confirmation-modal-status-message {
    color: #535353;
    font-size: 0.875rem;
    margin-top: 10px;
}

.ctr-reservation-details-page-therapist-info-wrapper {
    padding-right: 20px;
    padding-left: 20px;
}

.ctr-reservation-details-page-therapist-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    border: solid 1px #AAAAAC;
    background: #fff;
    border-radius: 10px;
    margin-top: 40px;
    padding: 20px;
    gap: 10px;
    height: 120px;
    position: relative;
}

.ctr-reservation-details-page-therapist-info img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: cover;

}

.ctr-reservation-details-page-therapist-and-store {
    color: #535353;
}

.ctr-reservation-details-page-therapist-name {
    font-size: 1rem;
}

.ctr-reservation-details-page-store-name {
    font-size: 0.875rem;
}

.ctr-reservation-details-page-user-info-wrapper {
    padding-right: 20px;
    padding-left: 20px;
}

.ctrm-reservation-details-page-external-user-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    border: solid 1px #AAAAAC;
    background: #fff;
    border-radius: 10px;
    margin-top: 40px;
    padding: 20px;
    gap: 10px;
    position: relative;
}

.ctrm-reservation-details-page-external-user-info img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: cover;

}

.ctrm-reservation-details-page-external-user-name-and-phone {
    color: #535353;
}

.ctrm-reservation-details-page-user-name {
    font-size: 1rem;
}

.ctrm-reservation-details-page-external-user-phone {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.ctrm-reservation-details-page-external-user-phone img {
    width: 25px;
    height: auto !important;
}

.ctrm-reservation-details-page-user-phone-number {
    font-size: 0.875rem;
}

.ctr-reservation-details-page-datetime-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.ctr-reservation-details-page-start-datetime-info,
.ctr-reservation-details-page-end-datetime-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.875rem;
    border-radius: 10px;
    padding: 10px 10px;
    background: #fff;
    width: 100%;
}

.ctr-reservation-details-page-start-datetime-info-title,
.ctr-reservation-details-page-end-datetime-info-title {
    background: #7D40A0;
    color: #fff;
    font-size: 1rem;
    width: 90%;
    max-width: 155px;
    height: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctr-reservation-details-page-start-datetime,
.ctr-reservation-details-page-end-datetime {
    font-size: 1rem;
    color: #535353;
    text-align: center;
}

.ctr-reservation-details-page-meeting-place-info, 
.ctr-reservation-details-page-outfit-description-info, 
.ctr-reservation-details-page-schedule-adjusted-info, 
.ctr-reservation-details-page-question-info,
.ctr-reservation-details-page-outfit-description-info {
    border-radius: 0.625rem;
    padding: 0.625rem;
    background: #fff;
    width: 100%;
    margin-top: 1.25rem;
}

.ctr-reservation-details-page-meeting-place-title, 
.ctr-reservation-details-page-outfit-description-title, 
.ctr-reservation-details-page-schedule-adjusted-title, 
.ctr-reservation-details-page-question-title,
.ctr-reservation-details-page-contact-title {
    font-size: 1rem;
    color: #7D40A0;
}

.ctr-reservation-details-page-question, 
.ctr-reservation-details-page-outfit-description, 
.ctr-reservation-details-page-meeting-place, 
.ctr-reservation-details-page-schedule-adjusted,
.ctr-reservation-details-page-contact {
    box-sizing: border-box;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow: hidden;
    font-size: 1rem;
    color: #535353;
}

.ctr-reservation-details-page-contact {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.ctr-reservation-details-page-contact-type {
  color: #535353;
  font-size: 1rem;
}

.ctr-reservation-details-page-contact-value {
  color: #535353;
  font-size: 1rem;
  word-break: break-all;
}

.ctr-reservation-details-page-receipt {
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    margin-top: 20px;
    color: #535353;
}

.ctr-reservation-details-page-receipt .ctr-receipt-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.ctr-reservation-details-page-receipt .ctr-receipt-item-title {
    width: 50%;
    text-align: left;
    font-size: 1rem;
    color: #7D40A0;
    white-space: nowrap;
    overflow: hidden;
}

.ctr-reservation-details-page-receipt .ctr-receipt-item-price-and-reason {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ctr-reservation-details-page-receipt .ctr-receipt-item-price {
    color: #535353;
    text-align: right;
    font-size: 1rem;
}

.ctr-reservation-details-page-receipt .ctr-receipt-total {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #E1E1E1;
}

.ctr-reservation-details-page-receipt .ctr-receipt-total-title {
    font-size: 1rem;
    color: #7D40A0;
    text-align: left;
    width: 30%;
    white-space: nowrap;
    overflow: hidden;
}

.ctr-reservation-details-page-receipt .ctr-receipt-total-price-and-explanation {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ctr-reservation-details-page-receipt .ctr-receipt-total-price {
    color: #E9528E;
    text-align: right;
    font-size: 1.5rem;
}

.ctr-reservation-details-page-receipt .ctr-receipt-total-explanation {
    font-size: 10px;
    color: #535353;
    text-align: left;
}

.ctr-reservation-details-page-receipt .ctr-receipt-payment-method {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #E1E1E1;
}

.ctr-reservation-details-page-receipt .ctr-receipt-payment-method-title {
    font-size: 1rem;
    color: #7D40A0;
    text-align: left;
    width: 30%;
    white-space: nowrap;
    overflow: hidden;
}

.ctr-reservation-details-page-receipt .ctr-receipt-payment-method-detail {
    color: #535353;
    text-align: right;
    font-size: 1rem;
    width: 70%;
}

.custom-therapist-reservation-confirmation-schedule-adjusted-content {
    margin-top: 10px;
}

.custom-therapist-reservation-confirmation-payment-method-content {
    margin-top: 10px;
}






#custom-therapist-reservation-confirmation-modal .custom-therapist-reservation-submit-button {
    width: 150px;
    height: 40px;
    background-color: #AAAAAC;
    border: none;
    border-radius: 40px;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    position: relative;
}

#custom-therapist-reservation-confirmation-modal .custom-therapist-reservation-submit-button.enabled {
    background-color: rgb(233, 81, 142);
}


#custom-therapist-reservation-review-modal .custom-therapist-reservation-modal-content h2 {
    font-size: 20px;
    color: #333;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    border-radius: 4px;
}

#custom-therapist-reservation-review-modal .custom-therapist-reservation-form-group {
    display: flex;
    flex-direction: column;
    border-radius: 0px;
    gap: 3px;
}

#custom-therapist-reservation-review-modal .custom-therapist-reservation-form-group .value span {
    font-size: 0.875rem;
    color: #333333;
    border-radius: 8px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    white-space: pre-wrap;
    word-wrap: break-word;
}

#custom-therapist-reservation-review-modal .custom-therapist-reservation-form-group > label
{
    padding: 0px;
    font-size: 1rem;
    font-weight: bold;
    background-color: #fff;
}

.custom-therapist-reservation-datetime {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

#ctr-datetime {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#ctr-datetime-span {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}




#custom-therapist-reservation-review-modal .custom-therapist-reservation-submit-button {
    width: 150px;
}


/* -------------------------------------------------------------------------------------- */
/* お客様モーダル */

.custom-therapist-reservation-create-user-form {
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-therapist-reservation-create-user-form-group {
    width: 100%;
    padding-top: 40px;
    flex: 1;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.custom-therapist-reservation-create-user-form-group::-webkit-scrollbar {
    display: none;
}

.custom-therapist-reservation-create-user-form-sub-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}


.custom-therapist-reservation-create-user-form-sub-group label {
    display: inline-block;
    font-size: 1rem;
    color: #7D40A0;
    text-align: center;
    border-bottom: solid 1px #7D40A0;
    width: 100%;
}

.custom-therapist-reservation-create-user-form input {
    font-size: 0.875rem;
    padding: 13px;
    border: none;
    border-radius: 25px;
    background-color: #F5F5F5;
    width: 100%;
    color: #535353;
    margin-top: 20px;
}

#create-user-info {
    font-size: 0.75rem;
    color: #535353;
    margin-top: 20px;
}

.custom-therapist-reservation-create-user-btn-content {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.custom-therapist-reservation-create-new-user-button {
    width: 200px;
    height: 40px;
    background-color: #E9528E;
    border: none;
    border-radius: 40px;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    position: relative;
}

.custom-therapist-reservation-create-new-user-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

.custom-therapist-reservation-create-user-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.no-create-user-message {
    font-size: 0.875rem;
    color: #AAAAAC;
    text-align: center;
}



.custom-therapist-reservation-create-user-search-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.custom-therapist-reservation-create-user-search-grid-item {
    border-radius: 5px;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 300px;
    gap: 10px;
}

.custom-therapist-reservation-create-user-search-grid-item-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;    
}

.custom-therapist-reservation-ng-badge {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    background-color: #E57373;
    color: #fff;
    display: inline-block;
    text-align: center;
}

.custom-therapist-reservation-create-user-search-grid-item-user-name {
    font-size: 0.875rem;
    color: #535353;
    white-space: nowrap;
    overflow: hidden;
    flex: 1;
    text-align: left;
}

.custom-therapist-reservation-create-user-search-grid-item .custom-therapist-reservation-create-user-select-button {
    width: 100px;
    height: 40px;
    background-color: #E9528E;
    color: white;
    border-radius: 100px;
    cursor: pointer;
    font-size: 0.875rem;
    text-align: center;
    position: relative;
}

.custom-therapist-reservation-create-user-search-grid-item .custom-therapist-reservation-create-user-select-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}





.custom-therapist-reservation-create-user-section label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.875rem;
    color: #333;
    margin-top: 20px;
}

.custom-therapist-reservation-create-user-section input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.875rem;
}

.custom-therapist-reservation-create-user-section button {
    width: 150px;
    padding: 10px;
    background-color: rgb(233, 81, 142);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.875rem;
}

.custom-therapist-reservation-create-user-badge {
    background-color: rgb(233, 81, 142);
    color: white;
    padding: 0.2em 0.6em;
    border-radius: 0.5em;
    font-size: 0.8em;
    position: absolute;
    top: 10px;
    right: 10px;
}

.new-user-name-label,
.new-user-contact-label {
    font-size: 0.875rem;
    color: #333;
    align-self: flex-start;
}


.custom-therapist-reservation-notice {
    margin-top: 10px;
    font-size: 0.875rem;
    color: #333;
}

/* アニメーション */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


.week-nav-button {
    padding: 5px 10px;
    font-size: 0.75rem;
}

.custom-therapist-reservation-weekly-schedule th,
.custom-therapist-reservation-weekly-schedule td,
.custom-therapist-reservation-weekly-schedule-shortcode th,
.custom-therapist-reservation-weekly-schedule-shortcode td {
    padding: 4px;
    font-size: 10px;
    height: 16px;
}

.custom-therapist-reservation-weekly-schedule table,
.custom-therapist-reservation-weekly-schedule-shortcode table {
    width: 100%;
}

#custom-therapist-reservation-confirmation-modal input[type="radio"] {
    transform: scale(1.2);
}


#cancellation-policy-2 {
    width: 100%;
    border: none;
    border-radius: 25px;
    box-sizing: border-box;
    background-color: #F5F5F5;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #535353;
    font-size: 0.875rem;
    min-height: 9.375rem;
    margin-top: 1.25rem;
    padding: 0.8125rem;
}

#customer-confirmation-2 {
    width: 100%;
    border: none;
    border-radius: 25px;
    box-sizing: border-box;
    background-color: #F5F5F5;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #535353;
    font-size: 0.875rem;
    min-height: 9.375rem;
    margin-top: 1.25rem;
    padding: 0.8125rem;
}

#question-to-therapist-and-store {
    width: 100%;
    height: 150px;
    padding: 13px;
    font-size: 0.875rem;
    border: none;
    border-radius: 25px;
    box-sizing: border-box;
    background-color: #F5F5F5;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-top: 20px;
    color: #535353;
}

.custom-therapist-reservation-form-group-therapist-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5px 10px;
    justify-content: flex-start;
    gap: 15px;
}

.custom-therapist-reservation-form-group-therapist-and-store-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.ctr-therapist-name {
    font-size: 20px;
}

.ctr-store-name {
    font-size: 1rem;
}

.custom-therapist-reservation-form-group-therapist-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}


#value-info-form-group {
    border: none !important;
    background-color: #ffffff !important;
    padding: 0px;
    display: flex;
    flex-direction: row !important;
    justify-content: center;
    gap: 10px !important;
    align-items: center;
}

#value-info-total-price {
    font-size: 20px !important;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 1px;
}

