/* 来店予約 / 予約詳細（蓝湖 8d589d68 / abe1b75c / 49011150） */
.repair-book-page {
  padding: 28px 0 0;
  overflow-x: hidden;
}

.repair-book-page .mall-faq-section {
  margin-top: 0;
}

.repair-book-page .mall-faq-section .big-main,
.repair-book-page .repair-cta-bubble {
  display: none;
}

.repair-book-page .mall-faq-section .bottom-inner h2 {
  max-width: 650px;
}

.repair-book-page .bottom-btn {
  text-decoration: none;
}

.rb-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 16px;
  color: #111;
  margin-bottom: 36px;
}

.rb-breadcrumb a {
  color: #111;
  text-decoration: none;
}

.rb-breadcrumb a:hover {
  color: var(--red);
}

.rb-breadcrumb .rv-crumb-home {
  display: inline-flex;
  align-items: center;
}

.rb-breadcrumb .rv-crumb-home .iconfont {
  font-size: 17px;
  line-height: 1;
  color: #f86764;
}

.rb-stack {
  display: grid;
  gap: 0;
}

.rb-sec-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 72px 0 28px;
}

.rb-sec-head:first-of-type {
  margin-top: 80px;
}

.rb-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f5a;
  flex-shrink: 0;
}

.rb-sec-head h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  color: #111;
}

.rb-sec-sub {
  margin: -8px 0 26px;
  font-size: 20px;
  font-weight: 800;
  color: #001111;
}

.rb-hint {
  margin: -4px 0 20px;
  font-size: 16px;
  line-height: 1.9;
  color: #666;
}

/* 店舗 */
.rb-store {
  display: grid;
  grid-template-columns: 630px 1fr;
  gap: 48px;
  align-items: center;
}

.rb-store-photo {
  width: 630px;
  height: 370px;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}

.rb-store-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-store-copy h1 {
  margin: 0 0 24px;
  padding-bottom: 28px;
  max-width: 560px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
  color: #f33c38;
  border-bottom: 1px solid #f33c38;
}

.rb-store-copy .rb-store-branch {
  display: block;
  margin-top: 4px;
  font-size: 45px;
  font-weight: 900;
  line-height: 1.15;
  color: #f33c38;
}

.rb-store-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 16px;
  align-items: center;
}

.rb-store-meta dt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #111;
}

.rb-store-meta dt img {
  width: 17px;
  height: 19px;
  object-fit: contain;
}

.rb-store-meta dd {
  margin: 0;
  font-size: 16px;
  color: #111;
  line-height: 1.5;
}

/* 車両 */
.rb-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.rb-vehicle-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 130px;
  padding: 0 28px 0 24px;
  border: 1px solid #bdbdbd;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 13px 0 rgba(26, 15, 5, 0.08);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.rb-vehicle-card.is-selected {
  border-color: #ff5f5a;
}

.rb-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #bdbdbd;
  background: #fff;
  flex-shrink: 0;
  box-sizing: border-box;
}

.rb-vehicle-card.is-selected .rb-radio {
  border: 5px solid #ff5f5a;
  background: #fff;
}

.rb-vehicle-thumb {
  width: 123px;
  height: 73px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rb-vehicle-thumb img {
  width: 99px;
  height: 59px;
  object-fit: contain;
}

.rb-vehicle-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rb-vehicle-name {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #111;
}

.rb-vehicle-meta {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  color: #333;
}

.rb-vehicle-empty {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 140px;
  padding: 0 40px 0 36px;
  border: 2px dashed #bdbdbd;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 13px 0 rgba(26, 15, 5, 0.08);
}

.rb-vehicle-empty img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.rb-vehicle-empty p {
  margin: 0;
  flex: 1;
  font-size: 16px;
  color: #666;
}

.rb-add-vehicle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 280px;
  height: 70px;
  padding: 0 28px;
  border: 1px solid #ff5f5a;
  border-radius: 35px;
  background: #fff;
  color: #ff5f5a;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  flex-shrink: 0;
}

.rb-add-vehicle img {
  width: 19px;
  height: 19px;
}

/* ご相談内容 */
.rb-service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.rb-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 173px;
  padding: 28px 8px 20px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: #111;
}

.rb-service-card.is-selected {
  border-color: #ff5f5a;
  background: rgba(255, 255, 255, 0.15);
}

.rb-service-check {
  position: absolute;
  top: 0;
  right: 0;
  width: 23px;
  height: 23px;
  display: none;
}

.rb-service-card.is-selected .rb-service-check {
  display: block;
}

.rb-service-card img:not(.rb-service-check) {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.rb-service-card span {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
}

.rb-label {
  display: block;
  margin: 36px 0 16px;
  font-size: 20px;
  font-weight: 800;
  color: #111;
}

.rb-textarea-wrap {
  position: relative;
  border: 2px solid #111;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 13px 0 rgba(26, 15, 5, 0.08);
}

.rb-textarea-wrap textarea {
  display: block;
  width: 100%;
  min-height: 250px;
  padding: 28px 28px 40px;
  border: 0;
  border-radius: 8px;
  resize: vertical;
  font: inherit;
  font-size: 16px;
  line-height: 2.1;
  color: #111;
  background: transparent;
}

.rb-textarea-wrap textarea::placeholder {
  color: #666;
}

.rb-count {
  position: absolute;
  right: 20px;
  bottom: 16px;
  font-size: 16px;
  color: #666;
}

.rb-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 24px;
  border: 2px dashed #bdbdbd;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 13px 0 rgba(26, 15, 5, 0.08);
  cursor: pointer;
}

.rb-upload input[type="file"] {
  display: none;
}

.rb-upload-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ff5f5a;
  font: inherit;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
}

.rb-upload-cta img {
  width: 28px;
  height: 24px;
  object-fit: contain;
}

.rb-upload-note {
  margin-top: 10px;
  font-size: 16px;
  color: #999;
}

.rb-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin-bottom: 12px;
}

.rb-thumb {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f4f4;
}

.rb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-thumb button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  line-height: 22px;
  font-size: 14px;
}

/* 日付 */
.rb-dates {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  min-height: 140px;
  border: 2px solid #bdbdbd;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 13px 0 rgba(26, 15, 5, 0.08);
  overflow: hidden;
}

.rb-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 136px;
  border: 0;
  border-right: 2px solid #bdbdbd;
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: #111;
}

.rb-date:last-child {
  border-right: 0;
}

.rb-date.is-active {
  color: #ff5f5a;
}

.rb-date.is-disabled {
  color: #bbb;
  cursor: not-allowed;
}

.rb-date-week,
.rb-date-num {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.rb-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 680px;
  margin: 40px auto 0;
  padding: 24px 28px;
  border: 1px solid #ffd836;
  border-radius: 10px;
  background: rgba(255, 216, 54, 0.2);
}

.rb-notice img {
  width: 39px;
  height: 39px;
  flex-shrink: 0;
}

.rb-notice p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: #111;
}

.rb-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.rb-contact input {
  width: 100%;
  height: 60px;
  padding: 0 16px;
  border: 1px solid #bdbdbd;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  background: #fff;
}

.rb-contact input::placeholder {
  color: #999;
  font-weight: 500;
}

.rb-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  max-width: 100%;
  height: 70px;
  margin: 44px auto 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(-12deg, #FF413D, #F86864);
  box-shadow: 6px 12px 0px 0px rgba(0, 0, 0, 0.42);
  border-radius: 35px;
  border: 2px solid #FFFFFF;
}

.rb-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.rb-error {
  max-width: 640px;
  margin: 0 auto 16px;
}

/* 予約詳細 */
.rb-status-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px 28px;
  min-height: 200px;
  padding: 40px 48px;
  border: 2px solid #111;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 13px 0 rgba(26, 15, 5, 0.08);
}

.rb-status-labels {
  margin: 0;
  font-size: 18px;
  line-height: 2.2;
  color: #111;
}

.rb-status-values {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rb-status-time {
  font-size: 16px;
  color: #111;
}

.rb-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 33px;
  padding: 0 14px;
  border-radius: 4px;
  background: rgba(255, 95, 90, 0.2);
  color: #ff4d47;
  font-size: 16px;
  font-weight: 700;
  width: fit-content;
}

.rb-badge.is-ok {
  background: rgba(6, 199, 85, 0.16);
  color: #068a3c;
}

.rb-badge.is-done {
  background: #f2f2f2;
  color: #555;
}

.rb-badge.is-cancel {
  background: #eee;
  color: #888;
}

.rb-status-card .rb-notice {
  margin: 0;
  max-width: 580px;
}

.rb-store-detail {
  display: grid;
  grid-template-columns: 580px 1fr;
  gap: 48px;
  align-items: center;
  min-height: 370px;
  padding: 20px 24px;
  border: 2px solid #111;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 13px 0 rgba(26, 15, 5, 0.08);
}

.rb-store-detail .rb-store-photo {
  width: 580px;
  height: 330px;
}

.rb-detail-rows {
  display: grid;
  gap: 18px;
}

.rb-detail-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #111;
}

.rb-detail-row .label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #111;
}

.rb-detail-row .label img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.rb-detail-row .value {
  font-size: 18px;
  color: #111;
}

.rb-vehicle-readonly {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 130px;
  padding: 12px 40px;
  border: 2px solid #111;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 13px 0 rgba(26, 15, 5, 0.08);
}

.rb-vehicle-readonly .rb-vehicle-thumb {
  width: 186px;
  height: 110px;
}

.rb-vehicle-readonly .rb-vehicle-thumb img {
  width: 149px;
  height: 90px;
}

.rb-vehicle-readonly .rb-vehicle-copy {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 40px;
  min-width: 0;
}

.rb-vehicle-readonly .rb-vehicle-name,
.rb-vehicle-readonly .rb-vehicle-meta {
  margin-top: 0;
  white-space: nowrap;
}

.rb-consult {
  border: 2px solid #111;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 13px 0 rgba(26, 15, 5, 0.08);
  overflow: hidden;
}

.rb-consult-row {
  display: grid;
  grid-template-columns: 271px 1fr;
  min-height: 70px;
  border-bottom: 1px solid #eee;
}

.rb-consult-row:last-child {
  border-bottom: 0;
}

.rb-consult-row .k {
  display: flex;
  align-items: flex-start;
  padding: 22px 32px;
  background: #f9f9f9;
  font-size: 16px;
  color: #666;
}

.rb-consult-row .v {
  padding: 22px 36px;
  font-size: 16px;
  line-height: 1.8;
  color: #111;
  white-space: pre-wrap;
}

.rb-consult-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 18px;
}

.rb-consult-photos img {
  width: 110px;
  height: 82px;
  object-fit: cover;
  border-radius: 6px;
  background: #f4f4f4;
}

.rb-cancel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  max-width: 100%;
  height: 70px;
  margin: 48px auto 8px;
  border: 0;
  border-radius: 999px;
  background: #ff5f5a;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 1100px) {

  .rb-store,
  .rb-store-detail,
  .rb-status-card,
  .rb-vehicle-grid,
  .rb-contact,
  .rb-consult-row {
    grid-template-columns: 1fr;
  }

  .rb-store-photo,
  .rb-store-detail .rb-store-photo {
    width: 100%;
    height: 240px;
  }

  .rb-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rb-dates {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rb-date:nth-child(4) {
    border-right: 0;
  }

  .rb-vehicle-empty {
    flex-wrap: wrap;
    padding: 24px;
  }

  .rb-status-card .rb-notice {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {

  .rb-service-grid,
  .rb-dates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rb-date {
    border-bottom: 2px solid #bdbdbd;
  }

  .rb-store-copy .rb-store-branch {
    font-size: 32px;
  }

  .rb-sec-head h2 {
    font-size: 28px;
  }
}